Commit Graph

19776 Commits

Author SHA1 Message Date
Wido den Hollander
59b23fe1f4 CLOUDSTACK-4004: Fix attaching a newly allocated RBD image to an Instance
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-08-02 13:21:23 +02:00
Gaurav Aradhye
cb1a5a49f4 CLOUDSTACK:3798: Removed wrong assert. Login was getting successful, assert was failing. Anyway it is being checked in the assert below for sesionKey
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 16:44:42 +05:30
Bharat Kumar
6e83a54ffb CLOUDSTACK-3753 fixed the test test_non_contigiousvlan.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 16:28:44 +05:30
Gaurav Aradhye
fd9cf9743b CLOUDSTACK:3594: Fixes related to affinity groups tests. Included two test suites those were missed because there was no decorator for test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 16:00:15 +05:30
JijunLiu
725d281cb2 Add cpu model for kvm guest.Now all the kvm guest's cpu model is 'QEMU Virtual CPU version xxx'. This will affect the activation of Windows OS and low performance. I add three mode for user to indicate the guest cpu model.add libvirt version check
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
(cherry picked from commit 2903bb5fd9)
2013-08-02 11:59:02 +02:00
Devdeep Singh
5e72ddec85 CLOUDSTACK-4009: healthcheck.update.interval global config missing after upgrade.
Added the parameter in the db schema file.
2013-08-02 13:16:01 +05:30
Prasanna Santhanam
de96512877 Remove duplicate tests for stopped_vm
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 12:51:45 +05:30
Kishan Kavala
7eb20b8500 CLOUDSTACK-4032: Added KVM.snapshot.enabled config to 41to42 upgrade 2013-08-02 11:58:48 +05:30
Sheng Yang
2cbf97a6f1 Automation: More fix fox test_vpc_vm_life_cycle.py
You cannot reach VPC router IP because you're in one of it's networks.

As well as adding missing import for test_vpc_network_pfrules.py
2013-08-01 18:47:40 -07:00
Rayees Namathponnan
83692df9b2 Automation: fixed cleanup issue with test_vpn_user.
Reviewed-by: Sheng Yang <sheng.yang@citrix.com>
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-01 18:08:57 -07:00
Sheng Yang
a3292231dd Automation: Reconnect the ssh for test_vpc_vm_life_cycle.py
Since VM are reused for test cases, we need to reconnect the SSH client to avoid
error like:

Failed to SSH into VM, SSH session not active
2013-08-01 18:00:00 -07:00
Fang Wang
1294a13f43 CLOUDSTACK-3759 [Automation] Failed to attach volume to VM, while vm are in stopped state Fix the null pointer.
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-01 17:45:37 -07:00
Edison Su
1658a5a46d CLOUDSTACK-3979: fix deleta.snapshot.max issue 2013-08-01 17:24:57 -07:00
Min Chen
4ccbbd029d CLOUDSTACK-4002: [Upgrade][2.2.16 to 4.2] After upgrade creation of
volume from a snapshot which was existing before upgrade, fails with NPE
2013-08-01 17:05:11 -07:00
Jessica Wang
d9cc453240 CLOUDSTACK-3753: UI > Infrastructure > zone > physical network > Guest > remove Add VLAN Range action since VLAN Range(s) is editable through Edit action. 2013-08-01 16:42:23 -07:00
Alena Prokharchyk
59fedb1bdc CLOUDSTACK-4020: lock nic entry in releaseNic method. Otherwise multiple threads can try to release the same nic at the same time, and it will lead to NPEs and backend failures 2013-08-01 16:02:35 -07:00
Jessica Wang
a059f596ac CLOUDSTACK-3753: UI > Infrastructure > zone > physical network > Guest > Edit action - make VLAN Range(s) editable. This is corresponding UI change to recent change of updatePhysicalNetwork API. 2013-08-01 15:55:05 -07:00
Jessica Wang
d77fc8093b CLOUDSTACK-3753: UI > Infrastructure > zone detail > physical network > guest > (1) remove Delete VLAN Range action. (2) change Add VLAN Range action to pass new VLAN range + exisitng VLAN range(s) to API. This is corresponding UI change to updatePhysicalNetwork API change that removevlan property has been removed and definition of vlan property has been changed. 2013-08-01 15:42:36 -07:00
Anthony Xu
17511b6a35 CLOUDSTACK-4017:
try to remove VDI host lock before start the VM which is using this VDI
2013-08-01 15:31:26 -07:00
frank
ad9be8046f CloudStack CLOUDSTACK-3986
baremetal - create basic zone for baremetal fail - Dhcp service provider for this network does not support the dhcp across multiple subnets
2013-08-01 14:55:46 -07:00
Edison Su
ebb30898c9 CLOUDSTACK-4008: fix snapshot npe if its volume is deleted 2013-08-01 13:58:12 -07:00
Jessica Wang
3c05999354 CLOUDSTACK-3713: UI > Infrastructure menu > System VMs > Scale Up action: call scaleSystemVm API instead of scaleVirtualMachine API. 2013-08-01 13:42:21 -07:00
Edison Su
5384cbc41d CLOUDSTACK-4008: return virtual size of volume in KVM 2013-08-01 13:22:46 -07:00
John Burwell
0a85c1d4a7 - CLOUSTACK-3229: Properly converts the Content-Length to string
representation in s3xen
2013-08-01 15:42:02 -04:00
Jessica Wang
84151fddd1 CLOUDSTACK-3344: revert e03f7f4db3 2013-08-01 11:41:15 -07:00
Jessica Wang
ef8e04a1a6 CLOUDSTACK-3344: UI > util > _s() should not include ampersand. 2013-08-01 11:41:15 -07:00
Bharat Kumar
4fb4afb88a Cloudstack-3753 Multiple VLAN range API need to accept a list rather than "add" or "remove" per command
Reviewed-by: Alena Prokharchyk
2013-08-01 10:40:56 -07:00
Alena Prokharchyk
620eb50941 CLOUDSTACK-4015: don't insert the fake template record when upgrade from 304 to 305 2013-08-01 09:58:12 -07:00
Prasanna Santhanam
ba059dd0ae CLOUDSTACK-2921: Added more logging to attach failure
Also reduced size of attached disk to 1GB

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 22:23:04 +05:30
Prasanna Santhanam
35492a3668 CLOUDSTACK-2921: Fix the change service offering test on stoppedvm
There is no need to attach a volume to the VM when doing the
changeserviceOffering test. Condensed the test to verify that the VM's
offering is changed successfully when stopped and reflects when VM is
started.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 21:49:39 +05:30
Prasanna Santhanam
27082fa516 CLOUDSTACK-3865: Additional debug logging for size mismatch
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 21:18:56 +05:30
Sanjay Tripathi
47803c21fb CLOUDSTACK-4001: Unable to deploy Windows server 2012 64 bit VM on xenserver 6.2
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-01 21:05:50 +05:30
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