19609 Commits

Author SHA1 Message Date
Edison Su
a39de009da CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4e8326cc81a0e2607f6a6d99645ce5f 2013-07-25 15:13:00 -07:00
Brian Federle
b379011889 CLOUDSTACK-3811: Autoscale UI: Use templatefilter=executable fix apply button for non-admins 2013-07-25 11:54:03 -07:00
Min Chen
e7cdaa1b31 CLOUDSTACK-3667:[Object_Store_Refactor][VMWare] System VMs StartCommand
failed due to Exception: java.lang.Exception Message: secondary storage
for dc 3 is not ready yet?
2013-07-25 10:57:05 -07:00
Edison Su
86d919eee2 CLOUDSTACK-2481: the wait is in seconds in copycommand 2013-07-25 10:32:14 -07:00
Prasanna Santhanam
8e72a728b7 Fix pep8 that broken marvin build 10 days ago :(
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 23:00:41 +05:30
Marcus Sorensen
74df662037 Summary: Make vmdata_kvm.py concurrency friendly
Detail: Adds flocks, etc for calling this concurrently, since CLOUDSTACK-3484
made userdata, vmdata, start commands concurrent

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1374773177 -0600
2013-07-25 11:28:42 -06:00
Prasanna Santhanam
23e7753741 Fix bunch of affinity group tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2b0a97267617608e6695973bc768eec499b69eca)
2013-07-25 22:51:35 +05:30
Chip Childers
7df0d3a23b Updating build_asf from the 4.1 branch, where I fixed a couple of things 2013-07-25 12:30:21 -04:00
Rene Diepstraten
211b180d55 Replaced virsh() by python-libvirt functions
Signed-off-by: Rene Diepstraten <rene@renediepstraten.nl>
2013-07-25 18:10:58 +02:00
Prasanna Santhanam
2c5388afac For some reason cat is under /bin on some linuses
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b8129d6a8e6634f6a101e09d8f0a9620a2379d67)
2013-07-25 19:18:21 +05:30
Murali Reddy
739f7cadeb CLOUDSTACK-3764: [EIP/ELB] [BasicZone] Unable acquire IP as non-ROOT
domain users

Since the basic zone network is owned by 'Root' domain, domain access
checkers will fail for the accounts in non-root domains while acquiring
public IP. So add an exception for the 'Basic' zone shared network with
EIP/ELB service.
2013-07-25 19:17:39 +05:30
Jayapal
0984594323 CLOUDSTACK-2933 Added vpc load balancing changes for vmware 2013-07-25 17:40:48 +05:30
Koushik Das
deb701b7e0 CLOUDSTACK-3493: [storage ref] Attach volume to VM is failing in case of Primary-Localstorage .
Some existing scenarios for root and data volume combination was not working. These are
a. Local root + Shared data
b. Shared root + Local data

Enabled these scenarios as part of this fix
2013-07-25 17:10:20 +05:30
Laszlo Hornyak
76e283687f test for Script
a unit test for the most frequently used methods in the Script class

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 16:46:10 +05:30
Kishan Kavala
36d900472b CLOUDSTACK-3769: Fixed variable name localMountPointPath in vmopsSnapshot plugin 2013-07-25 16:27:32 +05:30
Alex Huang
555211a080 Moved Configuration from api to utils and moved the package. This was done by eclipse so I only ran the unit test to verify everything is fine 2013-07-25 03:57:12 -07:00
Prasanna Santhanam
1d5feb158b CLOUDSTACK-3796: Fix the missing attribute for zoneid
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 15:54:26 +05:30
Nitin Mehta
8ee4e5ac14 =Disable the test and write a better one 2013-07-25 15:52:05 +05:30
Prasanna Santhanam
9e8663c7ca CLOUDSTACK-3617: Skip the test if config is not suitable
Provided a utility method to ensure the config is suitable for running
the test. If vm.instancename.flag is unset then skip the tests.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8b8cee52f09f9f2c1b612ece16fc7ffc4b2c9176)
2013-07-25 15:34:04 +05:30
Nitin Mehta
1f64354ec8 CLOUDSTACK-3712
Use Vminstance instead of user vm for scaling stopped vms.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-25 14:58:42 +05:30
Chiradeep Vittal
1744ed7ad5 CLOUDSTACK-3626 register the correct user and account for api calls made with api keys and secret keys 2013-07-25 14:45:59 +05:30
Prasanna Santhanam
e432ce6f77 CLOUDSTACK-3021: Do not delete the domain
We delete the accounts within the domain thereby cleaning up resources.
Also corrected the typo in the test description. ForceDelete test was
called without force option and vice versa

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a3c21b3682db51986e7cc54d8f25b1dbf4ae9eaa)
2013-07-25 14:14:49 +05:30
Prasanna Santhanam
2d5fde3dc1 Fix the simulator
Include the createTemplateFromSnapshot in the storageprocessor.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit e8383121c60e7c815ba1990df1e8a440f7d87188)
2013-07-25 14:14:49 +05:30
Harikrishna Patnala
0010faee4b Fix for CLOUDSTACK-2536
Removing memoryovercommitratio and cpuovercommitratio parameters from addCluster and updateCluster APIs,
since these can be configurable using updateConfiguration API at cluster level.
By default while creating cluster these values are taken from global configuration parameters.
2013-07-25 13:42:08 +05:30
Edison Su
80ac885e22 CLOUDSTACK-2304: fix migrate volume for vmware 2013-07-24 19:06:42 -07:00
Edison Su
7f200d966e CLOUDSTACK-3681: fix bunch of bugs related to vmware, regarding to snapshot 2013-07-24 19:06:30 -07:00
Sheng Yang
29ee68821e Automation: Fix test_vpc_network_staticnatrule.py
And remove NAT rule part from static nat test case. Remove static nat part from
port forwarding test case.
2013-07-24 18:50:20 -07:00
Min Chen
2f1d4dd0ba CLOUDSTACK-3665:KVM specific issue in create volume from snapshot. 2013-07-24 18:36:28 -07:00
Min Chen
44cae46014 CLOUDSTACK-3741: generate template.properties so that KVM processor will
not fail with FileNotFound.
2013-07-24 17:51:28 -07:00
Sheng Yang
2b1266e276 Automation: Fix test_vpc_vms_deployment resource release
The account may be failed to be deleted in the test case, so we still need to
clean it up after.
2013-07-24 16:55:03 -07:00
Sheng Yang
7150afab20 Automation: Redundant routers don't have the same link local IP
It's invalid test case.
2013-07-24 16:09:34 -07:00
Min Chen
7799f6482f CLOUDSTACK-3741: a typo in adding .qcow2 extension. 2013-07-24 14:53:00 -07:00
Brian Federle
ddbe5338d7 CLOUDSTACK-3739: Add text label to 'add VMware DC' action for clarity 2013-07-24 14:48:49 -07:00
Jessica Wang
09dde8bf1c CLOUDSTACK-3563: UI > Add Guest Network Dialog (only available for root-admin in Network menu and Infrastructure menu) > change Network Offering field to depend on both zone field and scope field. 2013-07-24 14:45:35 -07:00
Brian Federle
c8b3086702 CLOUDSTACK-3752: Add text label to 'reset VM' to avoid confusion 2013-07-24 14:40:53 -07:00
Min Chen
13a9b94193 CLOUDSTACK-3665:Failed to create volume from snapshot. 2013-07-24 14:39:07 -07:00
Brian Federle
7c5b48425f CLOUDSTACK-3560: UI createForm: Support multiple dependsOn targets
Support passing list of dependsOn targets for form fields. This will
trigger a change if any items specified in list are changed.

Example:

fieldA: {...},
fieldB: {...},
fieldC: { dependsOn: ['fieldA', 'fieldB'] }
2013-07-24 14:25:31 -07:00
Bharat Kumar
e14f5d0aeb Cloudstack-3694 Dnsmasq rewrite in bash
(Sheng: Fix typo, fix log and error message, remove 'set -x' in script)

Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-07-24 14:00:31 -07:00
Amogh Vasekar
a47faa9d28 Adding HTTPS support for UCS, refactored code for o.a.c.httpclient.contrib
CLOUDSTACK-3285
UCS: Need support for HTTP redirects and HTTPS Certificate handling
2013-07-24 13:55:23 -07:00
Marcus Sorensen
28855b4987 Summary: Get away from dozens of ssh/scp calls for KVM vm_data push
Detail: userdata and vm metadata take a long time to program on KVM routers.
This does it all in one go, processed on the router.

BUG-ID: CLOUDSTACK-3163
Tested-by: Wido
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1374695897 -0600
2013-07-24 14:01:02 -06:00
Jessica Wang
11dce48855 CLOUDSTACK-3789: UI - specify type when making API calls. 2013-07-24 11:50:49 -07:00
Brian Federle
e12e0f793b CLOUDSTACK-3344: Add LDAP: Fix encoding of '&' character 2013-07-24 11:49:30 -07:00
Brian Federle
bcfe4c2e99 CLOUDSTACK-3153: Fix numbering of ACL items
Re-number dragged items in increments of ten, and use an average of
the previous and next number, so that multiple reorders can occur
before conflicts happen.
2013-07-24 11:04:40 -07:00
Sanjay Tripathi
cd51303f20 CLOUDSTACK-3696: Test case test_project_limits.TestResourceLimitsProject.test_06_volumes_per_project failed due to volume usage exceeded for project.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5009d3b82af4fa385490517185d071e1326cffaa)
2013-07-24 23:05:17 +05:30
Sowmya Krishnan
d0971ce806 Add wait while Netscaler recognizes service to be up
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a7df12edbf83106d26198db20e96ee991912c097)
2013-07-24 22:43:13 +05:30
Min Chen
df452ba13a CLOUDSTACK-3741:Object_Store_Refactor - [KVM] Creation of Template from
Snapshot Fails.
2013-07-24 09:49:28 -07:00
Edison Su
d22bea6031 CLOUDSTACK-2630: fix delta snashpt 2013-07-24 09:48:59 -07:00
Edison Su
fa358cf01f CLOUDSTACK-2630: fix delta snashpt 2013-07-24 09:48:41 -07:00
Edison Su
be3883b678 fix create template from snapshot if it's swift 2013-07-24 09:48:07 -07:00
Likitha Shetty
b7a483608f CLOUDSTACK-3735. Domain deletion fails even when the networks within the domain have been destroyed.
When a network is destroyed remove the corresponding network entry from domain_network_ref and account_network_ref table
2013-07-24 20:03:51 +05:30