Commit Graph

20355 Commits

Author SHA1 Message Date
Jessica Wang 858e72f649 CLOUDSTACK-3651: errortext in listVmwareDcs API response has been changed. Change UI to override error handling of listVmwareDcs API regardless of the content of errortext in API response. 2013-07-26 13:10:19 -07:00
Jessica Wang e27b71fb78 CLOUDSTACK-3820: UI > Infrastructure menu > zone detail > UCS > API command names have been changed. Here is related UI change. 2013-07-26 13:00:46 -07:00
Brian Federle 81f7802abe CLOUDSTACK-3825: Fix start/end port not being passed with protocol number 2013-07-26 12:09:58 -07:00
Brian Federle ec11eba293 CLOUDSTACK-3710: Remove remaining overcommit fields from cluster UI 2013-07-26 12:02:26 -07:00
Jessica Wang af7587b98a CLOUDSTACK-3709: UI > Infrastructure menu > Secondary Storage > Cache Storage > detailView > implement Delete action. 2013-07-26 11:25:10 -07:00
frank c544f34f70 make UCS api name better 2013-07-26 11:29:37 -07:00
Prasanna Santhanam 782333e14c CLOUDSTACK-2450: Fix userdata to be urlencoded safely
urlencoding the userdata and quoting the = since apiserver will strip
them out. This will send an invalid userdata down to the plugin (vmops)
where base64 decoding fails causing vm deployment to fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 0edd2a8e14482def0d2a73726b53dee4239e2822)
2013-07-26 19:39:37 +05:30
Rajesh Battala 7b728cdb71 CLOUDSTACK-62 [AWS Style Health Checks] Response of the API listLoadBalancerRuleInstances should show the service state of a VM if health check is configured for it
Conflicts:

	api/src/org/apache/cloudstack/api/ApiConstants.java
	api/src/org/apache/cloudstack/api/response/UserVmResponse.java
2013-07-26 16:27:16 +05:30
Sanjay Tripathi 567e4a8496 CLOUDSTACK-3780: G11N: JA: Garbled code display on Pod configuration & Host configuration pages during "Add zone". 2013-07-26 15:40:16 +05:30
Sanjay Tripathi c0eec551fe CLOUDSTACK-3544: Xen 6.2 hosts are tagged with Xen 6.1.
This commit will add the new xenserverresource file to support XenServer 6.2.
Also add the guest OS list supported by xenserver 6.2
2013-07-26 15:33:37 +05:30
Sanjay Tripathi f4eab352e0 CLOUDSTACK-3488: listStoragePools throws NPE if any of the storage pools are not in the right state.
This issue is reporducible if user adds a primary storage and quickly fires
listStoragePool API command without waiting for the responce of previous
createStoragePool API command. So during this period
(before receiving createStoragePool API resonce), the primary srorage is in
initialized status and the "scope" of storage is not set.
2013-07-26 15:33:02 +05:30
Devdeep Singh b466729008 CLOUDSTACK-3501. Cannot create instances on XenServer with multiple cores in a socket. If
details has information on cores per socket, create an instance accordingly. The vm record
is populated with information on how many cores should be allowed in a socket.
2013-07-26 14:47:14 +05:30
Sheng Yang 4a7b503746 Automation: Fix endless silly test cases 2013-07-26 00:19:35 -07:00
Devdeep Singh 1b340e0544 CLOUDSTACK-3590. Adding new xenserver host to cluster fails in first attempt. While adding
a host to the pool it may take a little longer to join the pool. Increased the time the
resource waits and checks to make sure the host has joined as slave to the pool.
2013-07-26 10:57:37 +05:30
Prasanna Santhanam 8f153a65dd add deleteCacheStorage to TOC in API doc generator
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-26 09:46:27 +05:30
Sheng Yang b539366229 Automation: Fix test_redundant_router.py
1. Many state check need to wait for while for status to update
2. BACKUP router would still have eth2 and IP, but it's not enabled. Fix the
case.
2013-07-25 20:46:26 -07:00
Min Chen 11e001d756 CLOUDSTACK-3709: Add the missing file. 2013-07-25 17:02:30 -07:00
Min Chen e23e6b02db CLOUDSTACK-3709:[Object_Store_Refactor][UI] Can't delete NFS Cache
storage through UI.  Fixed at API side.
2013-07-25 17:02:30 -07:00
Jessica Wang 0362b1b131 CLOUDSTACK-3820: UI > Infrastructure menu > zone detail > UCS > blade - remove blade detailView since it's not used. 2013-07-25 16:43:40 -07:00
Jessica Wang a63d191857 CLOUDSTACK-3820: UI > Infrastructure menu > zone detail > UCS > associatesUcsProfileToBlade API has been changed from sync to async. Here is related UI change. 2013-07-25 16:43:14 -07:00
Alena Prokharchyk a337cae7ca CLOUDSTACK-3232: InternalLB system vm - allocate control ip address from the private range when vm's hypervisor is vmWare 2013-07-25 16:39:04 -07:00
Edison Su 7ee655f5cd CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4 2013-07-25 16:35:09 -07:00
Sheng Yang 3b39fb0442 Bring back vm_data.sh which deleted by a KVM related commit
The following commit removed vm_data.sh, but the file shared by Xen as well.

Bring the file back.

commit 28855b4987
Author: Marcus Sorensen <marcus@betterservers.com>
Date:   Wed Jul 24 13:58:17 2013 -0600

    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-25 16:34:49 -07:00
Prachi Damle f59947c322 CLOUDSTACK-3821 RegisterTemplate URL validation issue
Changes:
- Added validation for the url path
2013-07-25 15:31:16 -07:00
Prachi Damle 6a7d7f6d62 CLOUDSTACK-3491 delete host resulting NPE; Exception caught while handling disconnect: java.lang.NullPointerException
Changes:
- During host deletion, host entry in databse gets removed prior to the disconnect task getting processed.
- This causes the disconnect task to get NPE while trying to do the host state transition
2013-07-25 15:25:08 -07:00
Min Chen 35dcc4d6f9 Fix an incomplete logging message. 2013-07-25 15:22:36 -07:00
frank 4191f157c1 change associatesUcsProfileToBlade to async api 2013-07-25 15:25:29 -07:00
Edison Su 784bef766c CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4 2013-07-25 15:11:17 -07:00
Brian Federle 05d278556f CLOUDSTACK-3811: Autoscale UI: Use templatefilter=executable fix apply button for non-admins 2013-07-25 11:54:28 -07:00
Min Chen 6b9ea47711 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:56:01 -07:00
Prasanna Santhanam 2be96cf0b7 Fix pep8 that broken marvin build 10 days ago :(
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1f95493dfef7762625530f59c4b4de2b6c2165f0)
2013-07-25 23:00:31 +05:30
Edison Su f350e34574 CLOUDSTACK-2481: the wait is in seconds in copycommand 2013-07-25 10:29:17 -07:00
Marcus Sorensen 9db03bf426 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:26:17 -06:00
Prasanna Santhanam 2b0a972676 Fix bunch of affinity group tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 22:51:03 +05:30
Chip Childers b5bb0a5708 Updating build_asf from the 4.1 branch, where I fixed a couple of things 2013-07-25 12:31:08 -04:00
Prasanna Santhanam 81dfaaa901 For some reason cat is under /bin on some linuses
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 19:18:41 +05:30
Murali Reddy f4e9282609 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:15:48 +05:30
Jayapal 34f75b0a5d CLOUDSTACK-2933 Added vpc load balancing changes for vmware 2013-07-25 17:40:21 +05:30
Koushik Das f062fd4fc1 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

Conflicts:
	server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-25 17:23:21 +05:30
Laszlo Hornyak 026be3015b 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>
(cherry picked from commit 76e283687f)
2013-07-25 16:46:34 +05:30
Kishan Kavala 753f50b307 CLOUDSTACK-3769: Fixed variable name localMountPointPath in vmopsSnapshot plugin 2013-07-25 16:26:40 +05:30
Prasanna Santhanam 1012d87860 CLOUDSTACK-3796: Fix the missing attribute for zoneid
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3277ceaf0b619171a19893f525aec2685ae6367c)
2013-07-25 15:51:45 +05:30
Nitin Mehta e1eb70a4a5 =Disable the test and write a better one 2013-07-25 15:49:04 +05:30
Prasanna Santhanam 1067888f6d 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>
2013-07-25 15:34:15 +05:30
Nitin Mehta 0d862a9247 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:38:29 +05:30
Prasanna Santhanam c6d9919c88 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>
2013-07-25 14:15:03 +05:30
Prasanna Santhanam 0b90fa369e Fix the simulator
Include the createTemplateFromSnapshot in the storageprocessor.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 14:15:03 +05:30
Harikrishna Patnala 4c81ea69c4 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.

Conflicts:
	server/src/com/cloud/resource/ResourceManagerImpl.java
2013-07-25 13:56:59 +05:30
Edison Su ca474d0e09 CLOUDSTACK-2304: fix migrate volume for vmware 2013-07-24 18:59:46 -07:00
Sheng Yang 4759492979 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:49:46 -07:00