Fred Clift
355eb72c7d
make virtual router /latest/.htaccess file be static - no longer dynamically generate it, remove code that managed the file previously
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-09-04 04:22:27 -04:00
Anthony Xu
5811ebeee7
if VM scale is disable, don't set any scale option for VM
2014-09-03 14:40:00 -07:00
Hugo Trippaers
dc3f0cbc63
Improve the handling of the findbug exclude files
2014-09-03 10:41:22 +02:00
Kishan Kavala
718fd5f39f
CLOUDSTACK-7445: Number whitespaces in "rbd showmapped" command varies in plain format. Use regex in grep to workaround.
2014-08-27 16:13:35 +05:30
Kishan Kavala
30ecf935e8
CLOUDSTACK-7315: Set LXC volumes format as DIR. Use rm command to delete LXC volumes. Libvirt delete volume does not handle directories
2014-08-26 13:57:48 +05:30
Kishan Kavala
656fc69f39
remove trailing comma in options sent to qemu-img
2014-08-22 15:39:04 +05:30
Mike Tutkowski
3773ff060e
Update to volume-resize logic
2014-08-21 20:18:20 -06:00
Anthony Xu
b7f5e95c8f
map XS 6.5 betas to the same resource, that all XS 6.5 betas will use the same resource and guest os list
2014-08-21 16:57:19 -07:00
Wido den Hollander
ab7c1f34d6
kvm: Do not print the whole exception when pool is not found in libvirt
...
This causes the logs to be filled with Exceptions which aren't nice for
users to read
2014-08-20 14:00:29 +02:00
Wido den Hollander
1ed0fe4ee7
kvm: Throw a proper exception when pool could not be fetched from libvirt
...
Otherwise NULL is returned and leads to a NPE further up the chain.
2014-08-20 13:39:52 +02:00
Likitha Shetty
7dbff9b42c
CLOUDSTACK-7371. [VMware] Enabling primary storage maintenance fails when storages are across cluster.
...
1. While destroying a ROOT volume do the lookup of the associated VM under the DC and not just cluster.
2. In case of VMware, during VM start if a volume is being recreated no need to detach the old volume because
we now expunge it immediately and don't wait for the storage cleanup task to run.
2014-08-20 10:51:18 +05:30
Likitha Shetty
8bb4022f37
CLOUDSTACK-4587. System VMs fail to start when the primary storage that has the System VMs is put into maintenance.
...
During VM start while configuring its disk devices, obtain the matching disk for a volume in storage
using both the volume's path and volume's datastore information.
2014-08-20 10:51:18 +05:30
Anthony Xu
dbe950a27e
avoid creating same primary storage multiple times for XenServer
2014-08-18 17:55:34 -07:00
Anthony Xu
81c5e184ba
clean up XenServer resource code
2014-08-18 17:25:10 -07:00
Wido den Hollander
eeac81838f
kvm: Return capitalized NONE when no disk cache mode is set
...
This caused Instances not to start under rare circumstances
2014-08-18 23:58:50 +02:00
Sateesh Chodapuneedi
a1d0925f90
CLOUDSTACK-7360 [vmware] Add host to existing cluster fails if the cluster is using Nexus 1000v as backend for atleast one traffic type.
...
While adding host to existing cluster which is using Nexus 1000v as a network backend, skip validation of Nexus VSM as it was already done while adding that cluster.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-08-18 07:18:13 +05:30
Anshul Gangwar
1c688f40e1
CLOUDSTACK-7277: [Hyper-V] For vmsync first VMs are listed and their power state is
...
determined. To exclude hosted system we filter the result on Caption='Virtual Machine'
but this string is locale dependent so it may not not work properly for locales other
than english. To overcome this now we started using ProcessId >= 0 filter
2014-08-18 11:38:29 +05:30
Anshul Gangwar
d1796c5f58
CLOUDSTACK-7235: [Hyper-V] In case of any exception in ModifyStoragePoolCommand, now we are returning appropriate error
2014-08-18 11:38:29 +05:30
Anshul Gangwar
0ecc9f79af
CLOUDSTACK-7234: stop sending smb credentials to Hyper-v agent
2014-08-18 11:38:29 +05:30
Anthony Xu
2be02d1f51
added XS 6.5 beta1 support, will change the version after XS 6.5 is released
2014-08-15 11:45:24 -07:00
Anthony Xu
90fe6d8087
removed trailing space
2014-08-13 11:09:38 -07:00
Sateesh Chodapuneedi
6a4a11ed71
CLOUDSTACK-7334. [VMware] AddHost command fails if there is a space in the VMware DC/Cluster name.
...
URL decode vCenter path during cluster discovery.
2014-08-13 16:24:14 +05:30
Hugo Trippaers
328599ae0b
Don't depend on static paths especially if we are already checking that
...
location using the getResource call.
2014-08-13 09:02:04 +02:00
Edison Su
a1bee2cb61
measure how long it takes to create a snaphsot
2014-08-12 15:13:42 -07:00
amoghvk
d1d722f9bd
CLOUDSTACK-7295: VMs is Stopped state have no host ID, resulting in NPE
2014-08-11 14:56:58 -07:00
Santhosh Edukulla
fd96ad02d7
Fixed few coverity reported issues around concurrency, null checks
2014-08-11 16:55:23 +05:30
Santhosh Edukulla
f9e11540c7
Fixed few coverity issues
2014-08-11 16:02:19 +05:30
Min Chen
9866c648eb
CLOUDSTACK-7260: Management server not responding after some time for
...
Vmware due to Oom (cannot create native thread).
2014-08-05 17:36:53 -07:00
Frank.Zhang
12ad254069
CLOUDSTACK-6278
...
Baremetal Advanced Networking support
add missing license header
2014-08-05 11:11:02 -07:00
Frank.Zhang
1ee7e0c77e
CLOUDSTACK-6278
...
Baremetal Advanced Networking support
2014-08-04 15:00:44 -07:00
Frank.Zhang
44dff6c426
CLOUDSTACK-6278
...
Baremetal Advanced Networking support
2014-08-04 15:00:44 -07:00
Frank.Zhang
66fff6c574
CLOUDSTACK-6278
...
Baremetal Advanced Networking support
2014-08-04 15:00:43 -07:00
Anthony Xu
0fe1d4bb27
got VBD statistics from RRD
2014-08-04 13:57:18 -07:00
Damodar
b73fe32519
Fixing Coverity Issues(2nd) in CitrixResourceBase.java
...
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-04 17:30:43 +05:30
Likitha Shetty
f803100813
CLOUDSTACK-6969. Data Volume Shrink operation failing with "Unexpected Exception".
...
For ResizeVolume API command -
1. If hypervisor resource throws an exception, handle the NPE thrown by the job framework.
2. Improve user error message in case of RuntimeException by throwing the exception instead of 'Unexpected Exception'.
2014-08-01 16:23:47 +05:30
Sateesh Chodapuneedi
96a6e673a3
CLOUDSTACK-7078 CLONE - [VMWARE]System VM's are failed to start with Nexus enabled Zone Since introducing pool of session contexts we no more have a dedicated context for each VMware hypervisor host. Hence vsm credentials stored in session context cannot be retrieved always correctly. Fix is to register the vsm credentials after fetching context and the context gets recycled after use.
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-07-31 16:31:41 +05:30
Anthony Xu
b5c132582a
vmsync returns PowerState for simulator
2014-07-31 10:37:13 -07:00
Santhosh Edukulla
44709111a3
Added Coverity Fixes
2014-07-31 15:01:30 +05:30
Anthony Xu
521b2840b2
new vmsync for simulator
2014-07-30 15:10:51 -07:00
Anthony Xu
680d4202de
CLOUDSTACK-7204:
...
fixed build for simulator
2014-07-30 10:59:00 -07:00
Anthony Xu
ecf100e4ed
fixed build for vmware
2014-07-28 17:37:31 -07:00
Anthony Xu
330c4ba578
completed the new vmsync TODOs in the code.
...
removed old vmsync logic
2014-07-28 12:51:37 -07:00
Wido den Hollander
7542ffc482
CLOUDSTACK-6181: Set the correct flags when resizing RBD
2014-07-26 11:39:28 +02:00
Sheng Yang
abc0b40acb
CLOUDSTACK-7124: Fix semicolon caused VPN programming issue on Xen
2014-07-25 16:56:35 -07:00
Santhosh Edukulla
3f6d5e392f
Fixed Coverity Issues Reported
2014-07-25 16:43:29 +05:30
Damodar
0a5940c9a8
Coverity: Fixing some of the coverity issues reported in CitrixResourceBase.java.
...
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2014-07-25 15:34:20 +05:30
Likitha Shetty
786285ab54
CLOUDSTACK-7174. [VMware] Recreating System VMs fails if global config 'vm.instancename' is set to true.
...
Append VM's name in vCenter with the hostname only for User VMs.
2014-07-24 13:05:45 +05:30
amoghvk
c804660c74
CLOUDSTACK-7168: Revert "Fixed Coverity Issues reported" that broke CI
...
This reverts commit 4523490d44160b054de9e943f72db1d0ce06054a.
2014-07-23 11:37:36 -07:00
Wido den Hollander
173909e99d
CLOUDSTACK-6181: Allow RBD volumes to be resized
...
We don't need an external script to investigate the format of the RBD volume,
we only have to ask Libvirt to resize the volume and that will ask librbd to
do so.
2014-07-22 22:28:34 +02:00
Hugo Trippaers
1d2124dcbf
Fix NPE reported on IRC, provide the user an informative error message
2014-07-22 17:45:24 +02:00