24721 Commits

Author SHA1 Message Date
Jessica Wang
000f8b1639 CLOUDSTACK-7777: UI > storage > volume > attach disk > virtual machine dropdown > remove unnecessary module check. 2014-10-23 14:15:01 -07:00
Anthony Xu
c52e14730e when host is pingtimeout and CCP can not determine the host status, put the host to Alert status , no VM HA. 2014-10-22 15:07:40 -07:00
Mike Tutkowski
2d7187e002 Update to SolidFire driver regarding snapshots 2014-10-22 15:55:35 -06:00
Anthony Xu
0141b37784 CLOUDSTACK-7761:
Revert "when system VM ping times out, stop system VM"

This reverts commit ee23be1942001ab732cfb3ad50fa24163cb88a48.
2014-10-21 17:21:17 -07:00
Edison Su
8b834171b6 Revert "There are few cases that mgt server won't reponse agent's pingcommand timely, or in KVM's case, libvirt won't repsonse in few mintues, which will cause agent reconnect to mgt server, then all the on going tasks on host will fail"
This reverts commit f3e91bf26acaeb1202e1fa84b70ad24db3a0eace.
2014-10-21 10:17:11 -07:00
Edison Su
6d22ff1d94 Revert "fix kvm issue, for windows sever 2008, it will crash without hyperv enlightment featre enabled"
This reverts commit c9dcae548056aa477e4156a1ec2efc9a83813aed.
2014-10-21 10:16:59 -07:00
Nitin Mehta
287ff83552 CLOUDSTACK-7754: Templates source_template_id is null when it is created from Snapshot with its corresponding volume removed. Fix it by searching for volumes including removed. 2014-10-20 16:49:48 -07:00
Jessica Wang
e796d418b4 CLOUDSTACK-5576: UI > IP Address > EnableVPN, DisableVPN: change label. 2014-10-17 14:57:51 -07:00
Min Chen
dbf12d58e7 CLOUDSTACK-7749: AsyncJob GC thread cannot purge queue items that have been blocking for too long if exception is thrown in expunging some unfinished or completed old jobs, this will make some future jobs stuck. 2014-10-17 10:55:38 -07:00
Edison Su
f3e91bf26a There are few cases that mgt server won't reponse agent's pingcommand timely, or in KVM's case, libvirt won't repsonse in few mintues, which will cause agent reconnect to mgt server, then all the on going tasks on host will fail 2014-10-16 16:59:32 -07:00
Jessica Wang
13decd4c85 CLOUDSTACK-7744: UI > Instances > detailView > Change Service Offering > show generic notification. 2014-10-16 14:49:04 -07:00
Edison Su
c9dcae5480 fix kvm issue, for windows sever 2008, it will crash without hyperv enlightment featre enabled 2014-10-16 12:51:23 -07:00
Jessica Wang
be60e46e1e CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by XXXXXXX view > listView > detailView > add View All link > show read-only text "group by zone/pod/cluster/account" in select view area. 2014-10-16 12:11:06 -07:00
Jessica Wang
5e165d499e CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by XXXXXXX view > listView > detailView > add View All link > not show "group by XXXXXXX" in select view dropdown. 2014-10-16 12:10:34 -07:00
Jessica Wang
f8cbd6ad46 CLOUDSTACK-7736: UI - listView widget - select view dropdown on top of listView - prefilter() - include original args.context when passing it to prefilter(). 2014-10-16 12:09:48 -07:00
Jessica Wang
c49a09fad0 CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by account view > listView > detailView > add View All link (i.e. "View all Virtual Routers"). 2014-10-16 12:08:58 -07:00
Jessica Wang
e225065ec2 CLOUDSTACK-7731: UI > Infrastructure > Virtual Routers > group by zone/pod/cluster view > listView > detailView > add View All link (i.e. "View all Virtual Routers"). 2014-10-16 12:06:59 -07:00
Alex Brett
d081efc647 CLOUDSTACK-7727 Skip various BVT tests on LXC
A number of BVT tests are not valid for LXC (e.g. migrating a VM), so this patch
ensures they skip if LXC is in use.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-16 17:21:44 +05:30
Sanjay Tripathi
420d4e0da0 CLOUDSTACK-7739: Add new vGPU types K160Q, K180Q, K280Q to the CloudStack UI. 2014-10-16 14:25:30 +05:30
Sanjay Tripathi
5025071954 Config value having different category in SQL and Config.java. 2014-10-16 14:01:23 +05:30
Sanjay Tripathi
80e0c99189 Removed duplicate code and unused imports which was causing build failure. 2014-10-16 13:53:32 +05:30
Jayapal
53ee4cd794 CLOUDSTACK-7728: Removed duplicate import 2014-10-16 10:05:06 +05:30
Jayapal
e257c13f16 CLOUDSTACK-7728: Fixed adding iptables rules for egress allow on VR reboot 2014-10-16 09:38:21 +05:30
Jayapal
f488a8f72c CLOUDSTACK-7728: Fixed adding icmp rules with different types and codes 2014-10-16 09:38:21 +05:30
Bharat Kumar
080bc2e2e9 CLOUDSTACK-7536 user vm can get a gateway ip when gateway ip is a part of the guest ip range.
Signed-off-by: Jayapal <jayapal@apache.org>
2014-10-16 09:38:21 +05:30
Nitin Mehta
42f628c61c CLOUDSTACK-7532: Template status is not shown in UI/API response for non-default account users. Show it if the owner of the template is the caller 2014-10-15 13:53:39 -07:00
Gaurav Aradhye
ac820a3230 CLOUDSTACK-7690: Added missing unittest import to test_escalations_volumes.py
fixed pep8 issues

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-15 11:01:39 +05:30
Gaurav Aradhye
159a372fdd CLOUDSTACK-7693: Fixing pep8 issues
pep8 fixes for test_routers.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-15 10:58:15 +05:30
amoghvk
71c9804165 Fixing possible formatting issue with license header, causing builds to fail. Works well locally 2014-10-14 14:37:38 -07:00
Jessica Wang
26f3e8499a CLOUDSTACK-7723: UI > Storage > detail view > add Disk Offering field. 2014-10-14 14:17:39 -07:00
Min Chen
e7fa3a2959 CLOUDSTACK-7563: Fix potential NPE from FingBugs. 2014-10-14 11:21:01 -07:00
Sanjay Tripathi
176e0d47bb 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.
2014-10-14 17:55:37 +05:30
Min Chen
0db0e5e3cc CLOUDSTACK-7700: Volume Snapshot Async Job returns Success for a failed
operation.
2014-10-13 15:03:59 -07:00
Nitin Mehta
a6d575b127 CLOUDSTACK-7699: Disable ROOT volume attach/detach ability. 2014-10-13 13:57:45 -07:00
Nitin Mehta
50ee9810a8 CLOUDSTACK-6826: Improving the download url expiration where the expiration work would be handled by the ssvm that has the corresponding symlink created on it. In case it doesnt exist, then would be any one of the ssvm in the zone.
Also when the ssvm is destroyed all the download urls are expired to be cleaned up in the next run by the new ssvm.

(cherry picked from commit ce908373573757372a3a09e46f835c3e269f3d02)
2014-10-13 00:40:03 -04:00
Anthony Xu
003269e5f0 since max_guest_vm for XS 6.2.0 is 500, change max_guest_vm for XS 6.5.0 to 500
(cherry picked from commit 3d2916a4b76510e7c70ccc5193576447491e637a)
2014-10-13 00:39:49 -04:00
Edison Su
1c1485e0f0 disable parallel for xenserver. Also for vmware, if full.clone is enabled and migratecommand will have the behavor of start/stop command
(cherry picked from commit d233f39c82908f81ba90f51d7bc445cc83ef5691)
2014-10-13 00:39:33 -04:00
Edison Su
c10189f79a if vpc public network with snat enabled, then will triger this issue;
(cherry picked from commit 6b8e0baa21e6cffc62eb2d35eecc7aeb2087d1c1)
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 5ff1ece2bec75ece99df748e9af2abc0a499a30b)
2014-10-13 00:38:57 -04:00
Edison Su
52c6c90eda fix build
(cherry picked from commit 6a5e4306f2b1720d0ca92013e6424c2d4d8ea9df)
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 6dc6e8a9007b502d66e44c5015b175aedcfa22ac)
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 15a2ea7c7ecde3d0ac692bbab668de2c589eb4a8)
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 b53a9dcc9f3ee95d40761b9c2c860f821595a661 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 4ee82f1f40f6a384619323698d3f59e3cdda3c9c)
2014-10-13 00:37:54 -04:00
amoghvk
da73d735b2 Revert "CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect"
This reverts commit d910b4ff14bcf5d9e7892b5ffd39acb47745f106 since it is causing encryption/decryption issues with RPM builds

(cherry picked from commit fbcab01ff02d30746a659fe7928c0ae9514237db)
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 0af0c041e9b05d52d72936b6ecd194ee07be7421)
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 63109a97b1119cd306858cd4068e46859acc8e83)
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 59e1e9bbd5f7bc45d77002dd5abdd91843dd210f)
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 d3af2de73041f81acfdf1b2f95a3d81727389c14)
2014-10-13 00:35:45 -04:00
rayeesn
dfdf9edd52 updated packge scripts to support simularot rpm build
(cherry picked from commit f96c65416a2802bcf2a1f8d5a5070ffe6a29111f)
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 123ec8b3d326b6bc743852a6bf113ac8b019f713)
2014-10-13 00:35:13 -04:00