24666 Commits

Author SHA1 Message Date
Jessica Wang
35dab49bb0 CLOUDSTACK-7681: UI > zone wizard > Advanced zone > hypervisor => do not support BareMetal
(cherry picked from commit 3b704ac6f3f3575f45722308cd1f882acd097fb1)
2014-10-13 00:33:29 -04:00
Gaurav Aradhye
f3196d6518 CLOUDSTACK-7646: test_nuage_vsp.py - Fixed basic indentation issues, list index issues, marked it as invalid because the test cases needs attention by the original author as it does not pass even after fixing the issues. Also moving it to smoke folder as clearly it is a Basic Validation test
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 5408e0b8d195fa32a0a9a59ea2e3535ed083ee8e)
2014-10-13 00:33:06 -04:00
Gaurav Aradhye
f583dcb463 CLOUDSTACK-7644: test_persistent_networks.py - SSH failure in case of LB rule due to port mismatch
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit cd672709c35e92a4a5a9767e2d2e60aa91fd8e73)
2014-10-13 00:32:41 -04:00
Gaurav Aradhye
54a2bb0a7e CLOUDSTACK-7649: test_lb_secondary_ip.py - Removed SSH trying step after Destroying and Recovering VM because secondary IP information does not retain on VM after destroying it and SSH will not be successful in that case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 69bd2d3c7c0b7b2d994da43f8090b29c468cae65)
2014-10-13 00:32:19 -04:00
Sanjay Tripathi
d058fa6880 CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect
GPU enabled hosts from non-GPU VM deployment.
Cluster reordering is based on the number of unique host tags in a cluster,
cluster with most number of unique host tags will put at the end of list.
Hosts with GPU capability will get tagged with implicit tags defined by
global config param 'implicit.host.tags' at the time os host discovery.

Also added FirstFitPlannerTest unit test file.

(cherry picked from commit d910b4ff14bcf5d9e7892b5ffd39acb47745f106)
2014-10-13 00:32:03 -04:00
Prashant Kumar Mishra
0e2e1df3aa CLOUDSTACK-7680:Adding kwargs to volume.upload in base.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 4a1018e23b0ea80ba8b7cdb80a5efebdb50afea1)
2014-10-13 00:31:39 -04:00
Murali Reddy
9605f57cb0 CLOUDSTACK-7679: bump up the RabbitMQ AMQP java client version from
2.8.7 to 3.3.5

3.3.5 is the latest stable version of AMQP client, which is also
backward comaptible. Successfully tested with updated client library.

(cherry picked from commit ff797dfa5943c4e02acc87466c4638e97d2c2eb0)
2014-10-13 00:31:06 -04:00
Damodar
7bea2f7098 CLOUDSTACK-7671: Management server restart failed after reboot
(cherry picked from commit e8f1c592120707ac214d535a6637fa7dc5826289)
2014-10-13 00:30:41 -04:00
Rajesh Battala
42fd2d91da CLOUDSTACK-7654 fixed issues with zip format templates.
(cherry picked from commit 67ff7dac8290560715629241e09fe9fb0359c990)
2014-10-13 00:30:23 -04:00
Santhosh Edukulla
0df43197d9 Fixed few coverity issues
(cherry picked from commit 45597766a5d5f8453878de29654aa061d05eabd3)
2014-10-13 00:30:01 -04:00
VinayV
c90db15ade CLOUDSTACK-6282-Added hyper-v hypervisor checks for automated tests
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
(cherry picked from commit d7dea70e89e45b0864bfbcaab3b58f896a6c75c1)
2014-10-13 00:29:38 -04:00
Min Chen
93b9ef8d43 CLOUDSTACK-6478:Fix a typo in RemoteHostEndPoint.setId().
(cherry picked from commit aed36c2776500976b7e97ad0afcf132044d96b1c)
2014-10-13 00:29:17 -04:00
Nitin Mehta
c8c9f1dd3a Revert "CLOUDSTACK-7533: Wrong download URL is generated when using multiple SSVMs in a zone. The public ip of the url would sometime point to the wrong ssvm when the url was created on another one."
This reverts commit f3b5a6ebc70d5bfb2c77b6aa359d7eb79b4507e5.
Reverting since a better fix is available with CLOUDSTACK-6478

(cherry picked from commit 9e7fbae52fcbc2a99120d08158c6c99bdbd75b2c)
2014-10-13 00:29:00 -04:00
Jessica Wang
8ce829a8ee CLOUDSTACK-7668: UI > When UI is loaded the first time, sometimes a blank screen instead of a login screen shows > fix it by declaring the variables beforehand.
(cherry picked from commit 97768b2657839d9daa1e36719c5f0714f9ac2727)
2014-10-13 00:27:22 -04:00
Anthony Xu
ba1862836e ccp should not check public ip resource when deploy a vm on shared network
(cherry picked from commit 3201251256817a44b4046c77c170fa82267e3fc3)
2014-10-13 00:27:01 -04:00
Jessica Wang
a9761a3eb3 CLOUDSTACK-7668: UI > When UI is loaded the first time, sometimes a blank screen instead of a login screen shows. Only after clicking Refresh button(i.e. loaded again) will the login screen show.
(cherry picked from commit 53d5e8af1833b7992b48638b7a63a918adf65aee)
2014-10-13 00:26:35 -04:00
amoghvk
5f79fa37a9 Revert "Remove adding implicit tags in DB schema so that management server starts, original commit 39fe766c2b6fb6edd4c1 needs review"
This reverts commit 597d3d70371f71765d1db8292b298b91acb15417.

(cherry picked from commit 53db8c725c74e8631bca64fef435c0dfa0623faf)
2014-10-13 00:26:09 -04:00
amoghvk
0b4c1a98bb Remove adding implicit tags in DB schema so that management server starts, original commit 39fe766c2b6fb6edd4c1 needs review
(cherry picked from commit 597d3d70371f71765d1db8292b298b91acb15417)
2014-10-13 00:23:49 -04:00
Mihaela Stoica
28f8c41a19 CLOUDSTACK-7645: [UI] Fixing incorrect labels, including instances of "???label.*???"
- removed duplicate entries in dictionary
- added dictionary entries that have been missed during the dictionary split
- added missing entries in messages.properties
- fixed other localization issues

(cherry picked from commit 0646588fc6d5cfc6d9b0da80d8e44697d72005d3)
2014-10-13 00:23:20 -04:00
Hugo Trippaers
5990ed4610 Move the PrepareKickstartPxeServerCommand to the core api so other
modules can use it.
(cherry picked from commit b6401b04f22b0a5b686c7c477da4c6e0fd18df84)

Conflicts:
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalKickStartServiceImpl.java
2014-10-13 00:22:50 -04:00
Hugo Trippaers
160aa846a5 CLOUDSTACK-7665 File.separator shouldn't be used in this case, the
separator is fixed just like the rest of the path
(cherry picked from commit 47ac3e4fd1aa9b117b5ce72035e6d09239f1ca4f)
2014-10-13 00:19:44 -04:00
Hugo Trippaers
dba4a8c837 cleaning more conflicts 2014-10-13 00:19:20 -04:00
Anthony Xu
3540828d44 added more log for create vm snapshot
(cherry picked from commit 70efe1507c3bc1cf6c3a9477bae4f31afc35375f)
2014-10-13 00:16:35 -04:00
Mihaela Stoica
38e4be8e7b CLOUDSTACK-7664: [UI] Handle change in API response for listloadbalancer
- replaced all occurrences of "listloadbalancerssresponse" with "listloadbalancersresponse" in ui\scripts\vpc.js, following the change in the listLoadBalancers API response string.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit ea5c8eed0cb28bc3ec6a371e6e2ffb99d698b12c)
2014-10-13 00:16:05 -04:00
Sanjay Tripathi
47d2a578ee CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect
GPU enabled hosts from non-GPU VM deployment.
Cluster reordering is based on the number of unique host tags in a cluster,
cluster with most number of unique host tags will put at the end of list.
Hosts with GPU capability will get tagged with implicit tags defined by
global config param 'implicit.host.tags' at the time os host discovery.

Also added FirstFitPlannerTest unit test file.

(cherry picked from commit 39fe766c2b6fb6edd4c1bf828625b29d9bb87719)
2014-10-13 00:15:03 -04:00
Saksham Srivastava
14ace9e758 CLOUDSTACK-7663: Fix typo in response name string: there is an extra 's'
(cherry picked from commit e7134b82f90cfa9482cd08c3cf4633c64d621117)
2014-10-13 00:14:45 -04:00
Likitha Shetty
4b581bfa5f BUG-ID: CLOUDSTACK-7662. Resize of detached volume fails.
Support offline volume resize on ESX by creating a worker VM to attach the unattached volume to and then resize it.

(cherry picked from commit 65ed25b7a63586e25a568d845527d547f0045889)
2014-10-13 00:14:22 -04:00
Likitha Shetty
54110edda1 CLOUDSTACK-6969. Data Volume Shrink operation failing with "Unexpected Exception".
(cherry picked from commit bca71ec16953791bf0980fca4c55817ded8885b2)
2014-10-13 00:14:09 -04:00
Kishan Kavala
759b5fa048 For network stats aggregation job, get the most recent mgmt server id to do the aggregation. Set dao filter to descending.
(cherry picked from commit ce5c35b193a60159d4376860b729b5c5b6467a94)
2014-10-13 00:13:45 -04:00
Saksham Srivastava
b29d075108 CLOUDSTACK-7657: cloud.log is being rotated by multiple rotation policies on SSVM and CPVM
(cherry picked from commit 3e02bfa74fc7ec0f26ad53fcc528e3f3b5e8f742)
2014-10-13 00:13:25 -04:00
Edison Su
9278a6378b fix checkstyle
(cherry picked from commit 8db4f197eff294d82846c637111bd2fdb4192abd)
2014-10-13 00:12:54 -04:00
Edison Su
ae0bf7db5f speed up template download: don't sync io for each write
(cherry picked from commit 6de4dcb10a076671acc0f7486d493e914b59d1d4)
2014-10-13 00:12:36 -04:00
Brian Federle
fa5c42c409 Undo "Revert "CLOUDSTACK-7647"
This reverts commit 38bd1b934ef770e8a2993c8f42b3fff03484f266.

(cherry picked from commit 9c56b3d4db045163ffc3b5efb5f2c067c13eb57d)
2014-10-13 00:12:16 -04:00
Anthony Xu
09cc23841b add guest OS Centos 7 and Oracle Linux 7
(cherry picked from commit fe1a53b0e07d0f4907fd5c1c892bae832b02d19a)
2014-10-13 00:11:50 -04:00
Jessica Wang
e1d554c352 Revert "CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked by default"
This reverts commit ef4b5d41b7dd9ba16afd04c7716bada4a4721f79.

(cherry picked from commit 38bd1b934ef770e8a2993c8f42b3fff03484f266)
2014-10-13 00:11:34 -04:00
Anthony Xu
ee23be1942 when system VM ping times out, stop system VM
(cherry picked from commit 847e1e47aee6b4edeb0265a1a4d3d9a12ffde11d)
2014-10-13 00:11:21 -04:00
Kishan Kavala
26b501b5e4 CLOUDSTACK-7197: Added new system template DB changes in 4.5 upgrade. Removed 4.3 DB upgrade code for system template
(cherry picked from commit d1e0a8972b30b25e26339abf19d277c3b93fb7e6)
2014-10-13 00:09:36 -04:00
Likitha Shetty
9f653d7404 BUG-ID: CLOUDSTACK-7653. VM's are not getting deleted from hypervisor after deleting from UI when using zone wide primary storage.
While expunging a volume, CS chooses the endpoint to perform delete operation by selecting any host that has the storage containing the volume mounted on it.
Instead, if the volume to be deleted is attached to a VM, the endpoint chosen by CCP should be the host that contains the VM.

(cherry picked from commit f1e3e83bbf763860dd33a18c36618b4714bf0dbe)
2014-10-13 00:09:06 -04:00
Likitha Shetty
e338cdd1ed BUG-ID: CLOUDSTACK-7652. [VMware] 'SOAPFaultException: The object has already been deleted or has not been completely created' exceptions.
If CCP thread local context which is used to handle connections to a vCenter is being re-used, validate that the context corresponds to the right vCenter API session.

(cherry picked from commit 6b069703666c33636a545e7093eccf04efff88e7)
2014-10-13 00:08:48 -04:00
Brian Federle
f2b6aa4fe6 CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked by default
(cherry picked from commit ef4b5d41b7dd9ba16afd04c7716bada4a4721f79)
2014-10-13 00:07:33 -04:00
Anthony Xu
69d1b44bbf cloudmanagementserver.keystore is corrupted by ant.filters.ReplaceTokens,
(cherry picked from commit 055fdd5048cea691e82aa2cb0b33d2d2656afe9b)
2014-10-13 00:07:16 -04:00
Jayapal
26ac4dd395 CLOUDSTACK-7615: Update log msg to print error msg rather than exception
(cherry picked from commit 1d01ee3a60259b2113d14c2890306d7f2e56fbff)
2014-10-13 00:06:40 -04:00
Sanjay Tripathi
d97ad972b4 CLOUDSTACK-7373: Incorrect Japanese keyboard mapping with CentOS CLI and windows guestOS on VMware.
(cherry picked from commit bdf7d6530593db33636b2fecf18bb2cf4c61d21f)
2014-10-13 00:06:13 -04:00
Wido den Hollander
83967c93c5 CLOUDSTACK-7641: Do not always ask libvirt to refresh a storage pool
On larger (especially RBD) storage pools this can take a lot of
time slowing operations like creating volumes down.

The getStorageStats command will still ask a pool to be refreshed so
that the management server has accurate information about the storage pools.

On larger deployments, with thousands of volumes in one pool, this should
significantly improve storage related operations

(cherry picked from commit b53a9dcc9f3ee95d40761b9c2c860f821595a661)
2014-10-13 00:05:40 -04:00
Jessica Wang
354cb21109 CLOUDSTACK-7637: UI > fix a bug produced by 4.5 feature "template accross multiple zones" > fix it by including all properties to jsonObj.
(cherry picked from commit 59b0103a5325074e0e0c105a9afd2b39a5e1117b)
2014-10-13 00:05:05 -04:00
sailajamada
2116f7dbb7 Additional Guest OS support for vGPU Test Automation
(cherry picked from commit 402a3323f87cdb7ae456d1486702269463c8b32c)
2014-10-13 00:04:44 -04:00
Gaurav Aradhye
ecb662517f CLOUDSTACK-7408: Fixed - Private key of the ssh keypair was getting corrupted
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit e921ec6ec79c50096d58264d60c15091969ff888)
2014-10-13 00:04:23 -04:00
sanjeev
285cdae773 Test script to verify vm deployment with two networks in SG enabled advanced zone
Test data to deploy new data center and execute test using the deployed zone

Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments provided in RR 25097

Fixed review comments mentioned in RR25293

Conflicts:

	tools/marvin/marvin/config/test_data.py

(cherry picked from commit 9e5da759b315955cf5bc8d606f6929ac1603708f)
2014-10-13 00:04:04 -04:00
Gaurav Aradhye
d6970d4514 CLOUDSTACK-7616: Fixed test_escalations_ipaddress.py - test suite should use its own vpc offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 0b9938ce40bd269639e91bf0e7bcfb36427cdaaa)
2014-10-13 00:03:29 -04:00
Gaurav Aradhye
f22b0cf76a CLOUDSTACK-7603: Fixed test_escalations_network.py - test suite should use its own vpc offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit e5efa702bbd57a1855d68ea3df5c0aee3db85dcc)
2014-10-13 00:03:18 -04:00