25635 Commits

Author SHA1 Message Date
Vincent Bernat
3ea8a1187a CLOUDSTACK-7195: log wide exceptions in security_group.py
Some try/except in security_group.py catch a lot of exceptions. There
was already one fixed in CLOUDSTACK-1052. Here is another one. We use
logging.exception() to log those exceptions.

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2014-12-05 17:24:27 -05:00
Rohit Yadav
b3416f4a5e pr: close invalid, or non-applicable Github PRs
PR #1 -> too old to merge 4.2 on master now
PR #4 -> too old to merge 4.3 on master now
PR #5 -> source repo/branch deleted, not available now

This closes #1
This closes #4
This closes #5

This is an empty git commit.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-05 23:05:01 +05:30
Rohit Yadav
c53e1b648b Merge remote-tracking branch 'laszlo/packaging_1'
This closes #51

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-05 22:51:37 +05:30
Gaurav Aradhye
ca52f15530 CLOUDSTACK-8021: Change test cases to use host information from configurableData section in test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 20:13:27 +05:30
Wei Zhou
18b230db74 Revert "Occasionally the while loop can exit with no data (Probably recieving an EOF) before receiveing CMDline data from the certial port. Continue looping until cmdline is populated"
This reverts commit 83656a6ea81ce9b85c2f480e576fd02d8a58c357.

The systemvm/routers will reboot automatically if the systemvm.iso changes.
They will stuck during the startup due to this commit because the virtio-port are empty.
2014-12-05 15:17:55 +01:00
Gaurav Aradhye
100e46bf4e CLOUDSTACK-8018: Improve code quality - test_redundant_router.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:40:23 +05:30
Gaurav Aradhye
84aaef25d9 CLOUDSTACK-8029: Remove unused kaypairs from test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:37:32 +05:30
Gaurav Aradhye
6020053110 CLOUDSTACK-8028: Fix test_data.py - Separate virtual_machine dict having userdata key
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:37:22 +05:30
Nitin Mehta
24aaf19239 Revert "CLOUDSTACK-7919: If there is an out of band movement for the VR, irrespective of the fact that came as out of band live migrate or HA, reboot the router to make sure the router has all the rules configured."
This reverts commit 39a671dfd889148d69d2f75285d194a4705c35cc.
2014-12-05 15:24:09 +05:30
Wei Zhou
131dca84dd [UI] bug fix: vpn configuration does not show/update ipsec pre-shared key 2014-12-05 09:13:28 +01:00
Wei Zhou
2554cfb140 CLOUDSTACK-7847: Can't deploy in project using customer created compute offerings 2014-12-05 08:42:22 +01:00
Jayapal
936a17be22 CLOUDSTACK-8027: Update error msg for enable static nat 2014-12-05 12:45:22 +05:30
Gaurav Aradhye
fe0a55fb57 CLOUDSTACK-8003: test_egress_fw_rules.py - Remove test case dependency on each other and improve cleanup code
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:18:19 +05:30
Gaurav Aradhye
6f046bd1ab CLOUDSTACK-8002: test_high_availability.py - Skip test cases if enough hosts are not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:18:19 +05:30
Jessica Wang
774394792e CLOUDSTACK-8023: UI > VM wizard > service offering > trigger event handler of event "cloudStack.module.instanceWizard.serviceOffering.dataProvider" to get serviceOfferingObjs if module is enabled. 2014-12-04 16:26:41 -08:00
Brian Federle
8927975ca9 LB VM select: Fix issue with adding primary NIC IP 2014-12-04 13:44:57 -08:00
Brian Federle
1394bcb682 ja_JP: Quickview: Use smaller font size for action items 2014-12-04 13:23:25 -08:00
Brian Federle
57ae7dfbeb Security groups: Prevent wrapping on account/SG text fields 2014-12-04 13:08:57 -08:00
Mihaela Stoica
a07938752a CLOUDSTACK-8010: [UI] Fixed unlocalized string "label.add.private.gateway" 2014-12-04 12:55:46 -08:00
vetrivelc
9ce8a1cd00 Fixed label issue and externalized hardcoding issues
Signed-off-by: vetrivelc <vetrivel.chinnasamy@citrix.com>
2014-12-04 11:28:44 -08:00
Chandan Purushothama
41b871b6bd CLOUDSTACK-8007: Fixed the script 'test_vm_passwdenabled.py' - Template created by Admin should have public access to be used for regular User VM Deployment 2014-12-04 13:01:25 -08:00
Laszlo Hornyak
6b058b0203 removed -o|--operating-system from the package.sh help text
it does not handle the arguments, it warns for unknown option when using it

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-12-04 18:22:32 +01:00
Laszlo Hornyak
2fc3883ac0 syntax fix for packaging OSS
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-12-04 18:22:19 +01:00
Wei Zhou
fc1a09ff49 Add snapshotName parameter in CreateSnapshotCmd 2014-12-04 15:29:39 +01:00
Wei Zhou
4608053ed7 [UI] bug fix: the host uuid is wrong if it is dedicated to a domain 2014-12-04 15:28:57 +01:00
Wei Zhou
d4605556c6 fix NPE when delete a domain 2014-12-04 15:28:41 +01:00
Damodar
7b8fe0c8cd Attach volume events are not correctly shown in events.
Signed-off-by: Koushik Das <koushik@apache.org>
2014-12-04 19:31:03 +05:30
Ashutosh K
608b0c5a24 CLOUDSTACK-7998: test_escalations_instances.py - Correcting code related to detach volume
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:38:35 +05:30
Ashutosh K
0a757b0f10 CLOUDSTACK-8020: test_snapshots.py - Fixed cleanup issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:30:50 +05:30
Sheng Yang
3c9e14e85a CLOUDSTACK-5241: Remove Rot13 usage 2014-12-03 19:38:47 -08:00
Min Chen
1716067ddd CLOUDSTACK-5949: remove unused vnc_password from user_vm_view view to avoid decryption bottleneck. 2014-12-03 14:46:47 -08:00
Rohit Yadav
518853ab43 packaging: updated hardcoded jasypt version to 1.9.2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 43f39a1ec37de08e5b8e97dfd74a853c0aae76c7)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-04 04:04:30 +05:30
Rohit Yadav
835abe6c7c Revert "CLOUDSTACK-7566:Many jobs getting stuck in pending state and cloud is unusable."
This reverts commit 6df38427cffe9cab5a2a842571941a97a3a07b52.
2014-12-04 02:38:47 +05:30
Rohit Yadav
fac7bfc5d5 CLOUDSTACK-8011: Upgrade maven dependencies
Changes;
- Upgrades maven-war plugin to 4.5 (faster war packaging)
- Upgrade spring framework to latest minor release
- Upgrade ehcache, jasypt, httpclient, httpcore and other core dependencies
- Upgrade to latest ipv6 library, fix unit test NetUtilsTest
- httpcore and httpclient are sharing same version variable
- commons-httpclient is different that httpclient, the fix gives it a separate var
- Apidocs failed to generate and get stuck with new reflections version, for now
  we will continue using 0.9.8

Newer dependencies can be listed using:
mvn versions:display-dependency-updates -Dnoredist -Dsimulator -P developer,systemvm

Testing;
- Tested using Maven 3.2.1
- Local noredist build with unit tests succeeds
- CloudStack mgmt server started, basic business layer tests work
- Observed 10-15% build time improvement using new maven-war plugin

Branch: bugfix/4.5-8011 (commits are squashed in favour of a linear history)

Pull request:
https://github.com/apache/cloudstack/pull/50

This closes #50

TravisCI build summary:
https://travis-ci.org/shapeblue/cloudstack/builds/42902172

- Build passes with unit tests
- Apidocs generates successfully
- Most integration tests pass, some fail due to timeout errors, second re-run
  passes some of them

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-04 02:12:51 +05:30
Min Chen
8cb11f407f CLOUDSTACK-7981: added back resource tag related columns to user_vm_view to support resource tag related search. 2014-12-03 09:33:22 -08:00
Laszlo Hornyak
a81b59e2a4 Revert "some unused fields deleted"
This reverts commit 31db58f7204ac8bb434599ff51d794640718845c.
2014-12-03 18:09:49 +01:00
Wei Zhou
c25d4fdea2 CLOUDSTACK-7847: Separate ListDomains cmd to use two different views 2014-12-03 12:33:57 +01:00
Hugo Trippaers
52803ae6b4 Fix invalid sql statements 2014-12-03 08:26:39 +01:00
Chandan Purushothama
b0d74ad6fc CLOUDSTACK-7996: Fixed the script test_tags.py - Tags and Template should belong to the User Account to test the case 2014-12-02 16:48:20 -08:00
Jessica Wang
6b4271b75c CLOUDSTACK-8005: UI > storage > volume > Resize Volume action > hide "Shrink OK" checkbox when selected disk offering's disksize is bigger than the volume's disksize. Show it otherwise. 2014-12-02 11:17:33 -08:00
Will Stevens
03daae571b CLOUDSTACK-7959: fixed 'qemu-img convert' compat issue 2014-12-02 12:15:16 -05:00
Hugo Trippaers
a72f14ea9c Ensure the response is a proper http response.
Tested that cloud-set-guest-password.sh still works after this change.

Reviewed-by: Daan Hoogland <daan@onecht.net>
2014-12-02 16:36:49 +01:00
Daan Hoogland
6dd30eaf14 CID-1256273/CID-1256274/CID-1256275 leaky resources plus switch
statement warning

reviewed by Wilder Rodrigues
2014-12-02 16:14:34 +01:00
Gaurav Aradhye
818957de0c CLOUDSTACK-7991: test_security_groups.py - Move config data to test_data.py and fix pep8 issues
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2014-12-02 09:56:49 -05:00
Rohit Yadav
f40e31e061 CLOUDSTACK-7563: Fix potential NPE in checking answer
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit d42e3df9cf43b0ad46d406c6ab5b1d8c811d0239)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-02 16:46:09 +05:30
Wei Zhou
0407fb334f CLOUDSTACK-7847: add max.domain.* in global setting and display domain resources in listDomainsCmd response 2014-12-02 11:52:10 +01:00
Gaurav Aradhye
6a2c18a989 CLOUDSTACK-7993: Code enhancement - test_egress_fw_rules.py - Removing unncessary waits
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:36:13 +05:30
Gaurav Aradhye
2fa1b02e3c CLOUDSTACK-8001: test_add_remove_network.py - Tag invalid test case as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:33:09 +05:30
Sheng Yang
77c88fa917 CLOUDSTACK-7999: Always override local keystore file with the entry in DB 2014-12-01 19:03:23 -08:00
Rohit Yadav
0d01bc625c Ho ho ho!
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-01 22:44:20 +05:30