19660 Commits

Author SHA1 Message Date
Alex Huang
3f7c558de5 Removed all the extra mockito, inject, and junit dependencies. Changed any test/resource to test/resources and rely on the master pom to tell us where the resources are instead of each individual project 2013-07-26 16:34:08 -07:00
Prachi Damle
72c46103af fixing imports 2013-07-26 16:23:25 -07:00
Prachi Damle
a5e8c8aeb7 Fixing license headers 2013-07-26 16:23:22 -07:00
Jessica Wang
db82d5605d CLOUDSTACK-3820: UI > Infrastructure menu > zone detail > UCS > associate profile to blade action - poll async job result until async job is finished. 2013-07-26 16:15:22 -07:00
Alena Prokharchyk
8cac1e0443 DB upgrade: upgraded the bunch of db upgrade files with Apache license header 2013-07-26 15:37:07 -07:00
Jessica Wang
8280bf14e6 CLOUDSTACK-3813: UI > change label from Cache Storage to Secondary Staging Store. 2013-07-26 15:29:18 -07:00
Jessica Wang
a5194a6304 CLOUDSTACK-3818: listSecondaryStagingStore API has been renamed. Here is related UI change. 2013-07-26 15:16:52 -07:00
Min Chen
c8cafb91a7 CLOUDSTACK-3818: NFS Cache Improperly Named. 2013-07-26 15:07:45 -07:00
Alex Huang
f5e5b39c9b Moved the DB layer code into framework-db and change only the necessary projects to refer to it. Cut down on the dependencies introduced with all the code in utils. 2013-07-26 15:02:10 -07:00
Jessica Wang
81b121bbe0 CLOUDSTACK-3818: Cache Storage API commands have been renamed. Here is related UI change. 2013-07-26 14:46:08 -07:00
Brian Federle
1c2362c163 Instance wizard: Fix logic preventing VPC network from being unchecked 2013-07-26 14:30:48 -07:00
Jessica Wang
33aab256fc CLOUDSTACK-3820: UI > Infrastructrue menu > zone detail > UCS > update API response examples since API response has been changed. 2013-07-26 14:28:06 -07:00
Min Chen
199e861a51 CLOUDSTACK-3856:[ZWPS] Template downloaded from ROOT volume is not seen
in the UI because of failure to get hypervisor_type for the ROOT volume
for zone-wide primary storage.
2013-07-26 13:41:58 -07:00
Jessica Wang
037c6958b8 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:06:42 -07:00
Jessica Wang
482c425193 CLOUDSTACK-3820: UI > Infrastructure menu > zone detail > UCS > API command names have been changed. Here is related UI change. 2013-07-26 12:58:18 -07:00
Brian Federle
1a8270d9f4 CLOUDSTACK-3825: Fix start/end port not being passed with protocol number 2013-07-26 12:09:40 -07:00
Brian Federle
bba79b6b4e CLOUDSTACK-3710: Remove remaining overcommit fields from cluster UI 2013-07-26 12:02:49 -07:00
Prasanna Santhanam
0f7870332a CLOUDSTACK-3797: Fix wget installation of xs-tools in to the builtin
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 00:02:28 +05:30
Prasanna Santhanam
4bf7abcbe9 CLOUDSTACK-3797: remove duplicate packages from base.sh already in postinstall.sh
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 00:02:28 +05:30
Jessica Wang
adc72812fe CLOUDSTACK-3709: UI > Infrastructure menu > Secondary Storage > Cache Storage > detailView > implement Delete action. 2013-07-26 11:24:15 -07:00
frank
697b7c9471 make UCS api name better 2013-07-26 11:28:47 -07:00
Prasanna Santhanam
4be18aefc4 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>
2013-07-26 19:40:22 +05:30
Prasanna Santhanam
32c8cd3cd7 ignore the test template from rat check
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-26 17:34:10 +05:30
Prasanna Santhanam
26a0fd5af9 CLOUDSTACK-3797: Builtin appliance definition using veewee
This appliance will be used for testing purposes only. The appliance
will replace the built-in in a test environment before deployment.

Some of the integration tests require specific services running within
guests to test for cloudstack features. Eg: VPC LB needs an httpd server
running. When we need to customize the template this appliance can be
used instead of having custom templates for each test.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-26 17:34:00 +05:30
Rajesh Battala
24a8d60d6f 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 2013-07-26 16:40:26 +05:30
Sanjay Tripathi
71e387f1fa CLOUDSTACK-3780: G11N: JA: Garbled code display on Pod configuration & Host configuration pages during "Add zone". 2013-07-26 16:00:52 +05:30
Sanjay Tripathi
5b46e93d28 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 16:00:40 +05:30
Sanjay Tripathi
13fc4690fc 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 16:00:06 +05:30
Devdeep Singh
c0ea76a77e 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 15:10:43 +05:30
Sheng Yang
c576917107 Automation: Fix endless silly test cases 2013-07-26 00:20:01 -07:00
Devdeep Singh
62c8df9dcd 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 11:01:29 +05:30
Prasanna Santhanam
fd62a22b6b add deleteCacheStorage to TOC in API doc generator
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8f153a65dd6d0aba42f118352652a4555c3641d6)
2013-07-26 09:47:01 +05:30
Sheng Yang
5077ed7e8b 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:47:16 -07:00
Alex Huang
2dc3ede0a8 Remove a line to make it compile 2013-07-25 20:29:13 -07:00
Alex Huang
111febc567 Fixed up the rest of the management server code that calls clustermanager 2013-07-25 19:57:45 -07:00
Alex Huang
1caa566280 created a project for db framework 2013-07-25 19:00:26 -07:00
Alex Huang
9aaa378b08 Moved ClusterManager into it's own package. Removed the agent load balancing code. 2013-07-25 19:00:26 -07:00
Alex Huang
395cbcc023 Move the rest of the generics out of virtualmachinemanager 2013-07-25 19:00:25 -07:00
Min Chen
db93ebf169 Fix build break due to commit 2e0847bfe01e74f5c80e028b66aee74d7a07493f. 2013-07-25 18:04:12 -07:00
Min Chen
45d38c4142 CLOUDSTACK-3709:[Object_Store_Refactor][UI] Can't delete NFS Cache
storage through UI.  Fixed at API side.

Conflicts:
	server/src/com/cloud/storage/StorageManagerImpl.java
2013-07-25 17:33:28 -07:00
Min Chen
b2cad5b698 CLOUDSTACK-3709: Add the missing file. 2013-07-25 17:29:58 -07:00
Jessica Wang
65f5642bea CLOUDSTACK-3820: UI > Infrastructure menu > zone detail > UCS > blade - remove blade detailView since it's not used. 2013-07-25 16:42:22 -07:00
Alena Prokharchyk
2e0847bfe0 CLOUDSTACK-3232: InternalLB system vm - allocate control ip address from the private range when vm's hypervisor is vmWare 2013-07-25 16:39:23 -07:00
Alena Prokharchyk
6a916b9e82 DB upgrade: added db upgrade paths for CloudPlatform (Citrix) releases 303,304,305,306,307 to 4.2 2013-07-25 16:39:16 -07:00
Edison Su
5e427bd2f6 CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4e8326cc81a0e2607f6a6d99645ce5f 2013-07-25 16:36:06 -07:00
Sheng Yang
17a675942c 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 28855b4987c9274d15a539b9d7ae26c0073b0651
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:10 -07:00
Jessica Wang
e8d10e73ef 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:30:16 -07:00
Prachi Damle
dc66b6baa6 CLOUDSTACK-3821 RegisterTemplate URL validation issue
Changes:
- Added validation for the url path
2013-07-25 15:57:57 -07:00
Prachi Damle
08bbfbdc4a 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:57:39 -07:00
Min Chen
588efa0150 Fix an incomplete logging message. 2013-07-25 15:47:39 -07:00