Commit Graph

19744 Commits

Author SHA1 Message Date
Kishan Kavala 1b14fa7953 CLOUDSTACK-3979: Update fullBackup flag correctly based on snapshot delta max config 2013-08-01 19:53:25 +05:30
Prasanna Santhanam 3388291cc5 CLOUDSTACK-3921: Don't change order of params in PublicIpAddress.create()
Or existing tests that depend on the order barf and fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 19:25:47 +05:30
Nitin Mehta 22a3ba18c3 =CLOUDSTACK-3102 ResourceDetail API - If you add detail for any resource other than volume and nic then throw an exception 2013-08-01 17:37:00 +05:30
Bharat Kumar 087b1dcfc3 Cloudstack-3299 incorrect arguments sent to the script createIpalias in case of vmware, Cloudstack-3240 corrected a mistake in the script name.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-01 17:00:40 +05:30
Prasanna Santhanam f064ad22dc CLOUDSTACK-3989: We don't hold the vm object
VirtualMachine.list( only gives the list of vms but not the vm object as
returned by VirtualMachine.create( any operations on the listed VMs then
fails. Explicit call to startVirtualMachine as in setUpClass fixes this.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 16:42:28 +05:30
Prasanna Santhanam 582e3a37a4 Include the exception from urllib in wget test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit eb5099a2a2)
2013-08-01 16:23:33 +05:30
Prasanna Santhanam 712d962943 Remove unused code
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7452bb858703d9a24e6d4bb50036851e06c8418a)
2013-08-01 16:10:30 +05:30
Prasanna Santhanam 01449d48f9 CLOUDSTACK-3999: Fix the skipTest typo
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cf6ce42b536a287d36a09b776ae1b756cb1c14ee)
2013-08-01 16:10:30 +05:30
Radhika PC 57a82a1715 https://issues.apache.org/jira/browse/CLOUDSTACK-817 2013-08-01 15:51:23 +05:30
Radhika PC f7555c1ec1 CLOUDSTACK-3236 2013-08-01 14:42:13 +05:30
Likitha Shetty f744614769 CLOUDSTACK-3981. ListAccounts always sets 'networkTotal' to 0.
Add vpc resource count to the response. And set the right values for network resource count.
2013-08-01 14:15:31 +05:30
John Burwell 4c5a302219 - CLOUDSTACK-3229: Adds a guard condition to s3xen to prevent double
"/" in the resource path if the key starts with a "/" and corrects a
log message from adding an additional "/"
2013-08-01 04:28:54 -04:00
Harikrishna Patnala b4fe025223 CLOUDSTACK-3351: Fix add cluster API to set right hypervisor type
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-01 13:52:20 +05:30
Wei Zhou 478eae8287 CLOUDSTACK-3947: Override getSyncObjType and getSyncObjId in CreateLBStickinessPolicyCmd.java to prevent concurrent operations on Loadbalancer in a network
(cherry picked from commit d571b49d00)
2013-08-01 10:04:48 +02:00
Wido den Hollander 698253576a rbd: Enable snapshotting of RBD images
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-08-01 09:57:13 +02:00
John Burwell 1162b87f14 - CLOUDSTACK-3229: Attempt to adjust snapshot source path to new cache
filesystem layout
2013-08-01 03:48:52 -04:00
John Burwell 42e950aa41 - CLOUDSTACK-3229: Fixes string formatting argument mismatch 2013-08-01 03:12:18 -04:00
John Burwell fe85a9e6d8 - CLOUDSTACK-3229: Fixes a syntax error in s3xen 2013-08-01 02:54:11 -04:00
Harikrishna Patnala 3813189283 CLOUDSTACK-3042: handle System VM Scaling up of memory/CPU based on the presence of tools in the template
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-08-01 12:16:44 +05:30
John Burwell 952c9daa20 - CLOUDSTACK-3229: Removes String format method call that is not
supported in Python 2.4
2013-08-01 02:44:17 -04:00
John Burwell 1cc98ee7ae - CLODSTACK-3229: Adds missing is_blank function to s3xen 2013-08-01 02:26:46 -04:00
Sheng Yang 5e3b751633 Automation: More fix for test_vpc_network_lbrules.py 2013-07-31 23:13:40 -07:00
John Burwell af631c3e0e - CLOUDSTACK-3229: Works around Introspector bug that does not recognize
Boolean typed accessor methods by manualy populating the https value.
A generic implementation will be investigated when time permits.
2013-08-01 01:46:41 -04:00
Radhika PC 5804aa71dd CLOUDSTACK-1567 2013-08-01 11:12:03 +05:30
Sheng Yang 22b0375df2 Automation: Removing the template's UUID
My bad...
2013-07-31 22:41:02 -07:00
Sheng Yang 4271e60b70 Automation: Fix test_vpc_network_lbrules.py 2013-07-31 22:32:40 -07:00
Mice Xia 24af11a1c8 fix UI display bug for vmsnapshot, detailView of vmsnapshot always show the same one 2013-08-01 12:45:21 +08:00
John Burwell 9cd4e089a5 - CLOUDSTACK-3229: Fixes a think-o in the handling of unmodifiable
collections and adds a rail in s3xen to raise an exception if the file being
put does not exist
2013-08-01 00:11:40 -04:00
John Burwell 59492fae10 - CLOUDSTACK-3229: Properly serialize the https property to the s3Xen
plugin
  - Extracts the duplicated serializeProperties methods to
    ReflectUtils#flattenProperties
  - Adds unit tests for ReflectUtils#flattenProperties
2013-07-31 23:16:21 -04:00
Sheng Yang af3704cd32 Automation: Fix test_vpc_network_pfrules.py
Need to wait VM to boot up before stop the VR.

Also test 4 is identical to test 3, fix it.
2013-07-31 19:08:17 -07:00
Sheng Yang fda055388e Automation: Fix SSH connection test
And increase default retry to 10 times, each 30 seconds.
2013-07-31 18:27:49 -07:00
Kelven Yang 7acb023aad More fixes found in test cases when JVM assertion check is turned on 2013-07-31 17:58:31 -07:00
Edison Su a747ee508b CLOUDSTACK-3976: if the snapshot is empty and it's the last one in the chain, we need to take full snapshot for the snapshots in sequence 2013-07-31 17:42:35 -07:00
Edison Su da124c2d80 CLOUDSTACK-3976: delete parent snapshot if child snapshots are deleted 2013-07-31 17:01:34 -07:00
Kelven Yang dbc46d0677 Fix problems found in local test when JVM assertion is turned on 2013-07-31 16:25:56 -07:00
Min Chen 2e25f3075e CLOUDSTACK-3987: Setting extract.url.expiration.interval is not honored
for S3 generated url, which is hard-coded to 1 hour.
2013-07-31 16:28:03 -07:00
Murali Reddy b4770f1e01 CLOUDSTACK-3731: [GSLB] deleteGlobalLoadBalancerRule fails with the
java.lang.NumberFormatException

While deleting LB monitor and GSLB service binding Nitro API fails
with wierd NumberFormatException. Adding a workaround to delete the LB
monitor after GSLB service is delted (which ensures intenrally LB
monitor is delted).
2013-08-01 04:49:58 +05:30
Edison Su e3295a6af0 CLOUDSTACK-3950: the issue can be reproduced by: copy iso failed during the first time, for some reason, then copy the same iso again, the issue be triggered. 2013-07-31 15:46:37 -07:00
Alena Prokharchyk f9faf1aea2 CLOUDSTACK-3982: listAccounts - count only UserVms when calculate total number of Running vms per account 2013-07-31 15:18:59 -07:00
Sheng Yang 4f111d2846 Marvin: Add missing __init__ to StaticRoute 2013-07-31 15:10:01 -07:00
Sheng Yang 024dea93ae Automation: Fix test_vpc_routers.py
Account cannot be cleaned per test case since it's setup in setUpClass()
2013-07-31 15:03:37 -07:00
Min Chen fdc048442e CLOUDSTACK-3977: vm deployement is failing ;: Resource [Host:5] is
unreachable: Host 5: Unable to send class
org.apache.cloudstack.storage.command.CopyCommand because agent is in
maintenance mode.
2013-07-31 14:00:35 -07:00
Alena Prokharchyk f09df4c136 CLOUDSTACK-3974: 410-420 db upgrade - exclude is_inline field from the query when insert the entry for the F5 load balancer as this field was dropped as a part of 40-41 upgrade 2013-07-31 13:32:28 -07:00
Brian Federle 0014381f38 CLOUDSTACK-2944: Fix typo in addIpToNic dialog 2013-07-31 10:35:15 -07:00
Chip Childers c68eb4d41e Fixing setnextversion.sh 2013-07-31 11:09:52 -04:00
John Burwell 3cf09f337f - CLOUDSTACK-3229: Passes the bucket name as "bucket" into the s3xen
plugin
2013-07-31 09:57:07 -04:00
Wido den Hollander 79af8b16b2 CLOUDSTACK-3951: Don't require SSH access to KVM nodes when cancelling maintenance
Conflicts:

	setup/db/db/schema-410to420.sql
2013-07-31 15:22:53 +02:00
Bharat Kumar ba619ec112 recalculate the capacity after overcomit change. 2013-07-31 18:28:42 +05:30
Prasanna Santhanam 7aafd06df6 Include SSH retry logic when encountering channel failures.
Only on SSHExceptions we attempted retries, but during socket failures,
like Network Unreachable we failed the ssh connection immediately.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-31 17:21:01 +05:30
Prasanna Santhanam 805d087d87 Cleanup the marvin logger
It is useful to have the same logger used in the marvinplugin into the
testcase. The testcase can then append its name to the logger making
the logs specify exactly which test is executing when the logs are
generated

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-31 17:21:01 +05:30