Commit Graph

24684 Commits

Author SHA1 Message Date
Edison Su c10189f79a if vpc public network with snat enabled, then will triger this issue;
(cherry picked from commit 6b8e0baa21)
2014-10-13 00:39:10 -04:00
Edison Su 6e9d3b62b3 if guest network type is vlan://untagged, and traffic label is used, kvm agent needs to honor traffic label
(cherry picked from commit 5ff1ece2be)
2014-10-13 00:38:57 -04:00
Edison Su 52c6c90eda fix build
(cherry picked from commit 6a5e4306f2)
2014-10-13 00:38:40 -04:00
Edison Su 27924d1f92 if libvirt version is < 10.10(below rhel 6.5), won't set nic throttling
(cherry picked from commit 6dc6e8a900)
2014-10-13 00:38:25 -04:00
Edison Su 0fd9c43ea2 vmware resource code needs to honor the timeout value send
(cherry picked from commit 15a2ea7c7e)
2014-10-13 00:38:10 -04:00
Wido den Hollander 3b65a5928b kvm: Add better logging when fetching a volume from libvirt
Clearly show if a volume is found and if not, that the pool is being refreshed
and the fetch is tried again.

Due to my commit b53a9dcc9f the chance of a volume
not being found is slightly bigger, but the performance gain is enormous on larger
deployments.

This is why we clearly have to log that we are refreshing the pool information
when a volume is not found.

It could be that a volume is created on host A and a few seconds later host B tries
to access the volume. In that case host B's libvirt doesn't know about the volume
yet and has to refresh the pool before it does.

(cherry picked from commit 4ee82f1f40)
2014-10-13 00:37:54 -04:00
amoghvk da73d735b2 Revert "CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect"
This reverts commit d910b4ff14 since it is causing encryption/decryption issues with RPM builds

(cherry picked from commit fbcab01ff0)
2014-10-13 00:37:34 -04:00
Jessica Wang 51d274b9ad CLOUDSTACK-5719: UI > Network > Add Guest Network > when Physical Network dropdown is changed, refresh Network Offering dropdown (because each physical network has its own tags which maps to different network offerings)
(cherry picked from commit 0af0c041e9)
2014-10-13 00:37:16 -04:00
Kishan Kavala db79dd1ef5 CLOUDSTACK-2625, CLOUDSTACK-3401: Usage records are ordered by start_date which is not unique. While listing large datasets or when page size is small this will result in duplicates. Order records by id instead
(cherry picked from commit 63109a97b1)
2014-10-13 00:36:30 -04:00
Jessica Wang dd335aa424 CLOUDSTACK-5359: UI > Infrastructure > Clusters > Add Cluster > Public Traffic vSwitch Type field, Guest Traffic vSwitch Type field > do not pass the value of the form field to API call when the the form field is not displaying.
(cherry picked from commit 59e1e9bbd5)
2014-10-13 00:36:00 -04:00
Jessica Wang 70f74eeb2a CLOUDSTACK-7661: UI > VM Wizard > Keyboard Language > send new parameter keyboard to deployVirtualMachine API call.
(cherry picked from commit d3af2de730)
2014-10-13 00:35:45 -04:00
rayeesn dfdf9edd52 updated packge scripts to support simularot rpm build
(cherry picked from commit f96c65416a)
2014-10-13 00:35:31 -04:00
Sanjay Tripathi eb447f14e2 CLOUDSTACK:7323: [vGPU] Creation of VM snapshot with "memory" is failing.
VM snapshot with memory is not supported for VGPU VMs, so putting checks
for same.

(cherry picked from commit 123ec8b3d3)
2014-10-13 00:35:13 -04:00
Prashant Kumar Mishra 372ad94368 CLOUDSTACK-7632:Automation for volume life cycle testPath
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 679f945074)
2014-10-13 00:34:54 -04:00
Jessica Wang 1916bd25d1 CLOUDSTACK-3195: UI > IP Address > detailView > Configuration tab > Port Forwarding > for regular-user, if underlying VM has been destroyed (i.e. listVirtualMachines API returns nothing), compose vm object from limited vm data in port forwarding rule object. So, a vm object (required in widget code) can be passed to widget code.
(cherry picked from commit 925f30a41b)
2014-10-13 00:34:38 -04:00
Jessica Wang 9714ecbde8 CLOUDSTACK-4987: UI > Instances > detailView > NICs tab > Add network to VM > Network dropdown => (1) For root-admin, populate networks of all accounts. (2) For regular-user/domain-admin, populate only networks belonging to this VM owner.
(cherry picked from commit 794ee6929d)
2014-10-13 00:34:22 -04:00
Nitin Mehta a516e5d224 Revert "CLOUDSTACK-7671: Management server restart failed after reboot"
This reverts commit e8f1c59212.

(cherry picked from commit e2ca6e38d5)
2014-10-13 00:33:58 -04:00
Brian Federle cfb372a771 CLOUDSTACK-7661: VM wizard: Add keyboard language dropdown
(cherry picked from commit f4326aec82)
2014-10-13 00:33:43 -04:00
Jessica Wang 35dab49bb0 CLOUDSTACK-7681: UI > zone wizard > Advanced zone > hypervisor => do not support BareMetal
(cherry picked from commit 3b704ac6f3)
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 5408e0b8d1)
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 cd672709c3)
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 69bd2d3c7c)
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 d910b4ff14)
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 4a1018e23b)
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 ff797dfa59)
2014-10-13 00:31:06 -04:00
Damodar 7bea2f7098 CLOUDSTACK-7671: Management server restart failed after reboot
(cherry picked from commit e8f1c59212)
2014-10-13 00:30:41 -04:00
Rajesh Battala 42fd2d91da CLOUDSTACK-7654 fixed issues with zip format templates.
(cherry picked from commit 67ff7dac82)
2014-10-13 00:30:23 -04:00
Santhosh Edukulla 0df43197d9 Fixed few coverity issues
(cherry picked from commit 45597766a5)
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 d7dea70e89)
2014-10-13 00:29:38 -04:00
Min Chen 93b9ef8d43 CLOUDSTACK-6478:Fix a typo in RemoteHostEndPoint.setId().
(cherry picked from commit aed36c2776)
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 f3b5a6ebc7.
Reverting since a better fix is available with CLOUDSTACK-6478

(cherry picked from commit 9e7fbae52f)
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 97768b2657)
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 3201251256)
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 53d5e8af18)
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 39fe766c2b needs review"
This reverts commit 597d3d7037.

(cherry picked from commit 53db8c725c)
2014-10-13 00:26:09 -04:00
amoghvk 0b4c1a98bb Remove adding implicit tags in DB schema so that management server starts, original commit 39fe766c2b needs review
(cherry picked from commit 597d3d7037)
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 0646588fc6)
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 47ac3e4fd1)
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 70efe1507c)
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 ea5c8eed0c)
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 39fe766c2b)
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 e7134b82f9)
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 65ed25b7a6)
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 bca71ec169)
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 ce5c35b193)
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 3e02bfa74f)
2014-10-13 00:13:25 -04:00
Edison Su 9278a6378b fix checkstyle
(cherry picked from commit 8db4f197ef)
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 6de4dcb10a)
2014-10-13 00:12:36 -04:00