Commit Graph

20363 Commits

Author SHA1 Message Date
Wido den Hollander
7678ab4d0d CLOUDSTACK-1191: Re-enable deployment of SystemVMs on RBD
This was reverted by 0a5228922b unintentionnaly
but broke this feature for RBD.

Enable SystemVM deployment on RBD again
(cherry picked from commit 3315159de6)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:55:29 -07:00
Bharat Kumar
fa6da31e15 CLOUDSTACK-4498 we should not reserve memory and cpu for vmware VMs if the vmware.reserve.cpu and vmware.reserve.mem are set to false.
Conflicts:
	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java

Signed-off-by: Jayapal <jayapal@apache.org>
(cherry picked from commit f701831713)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:55:14 -07:00
Harikrishna Patnala
1e3eeacf2d CLOUDSTACK-4482: getVMPassword() API call does not return password for Vms that are deployed with password enabled templates.
Improving the error message saying no ssh key pair is assinged to VM to get the encrypted password and included a check for password enabled template

Signed-off-by: Koushik Das <koushik@apache.org>
(cherry picked from commit 37d500d2a6)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:54:52 -07:00
Likitha Shetty
daaba12997 CLOUDSTACK-4471. If an instance fails to start then mark the volumes allocated as part of VM creation as removed and set the volume state as destroyed.
(cherry picked from commit 7cc8ccead5)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:54:10 -07:00
Anshul Gangwar
7accca25e1 CLOUDSTACK-3806: There was error in host_view sql, it was using host_details.id for join instead host_details.host_id
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-27 12:53:44 -07:00
Kelven Yang
21f631f13d CLOUDSTACK-3237: add disk chain sync logic to handle out-of-band chain changes that could happen in storage live migration and VM snapshot operations 2013-08-27 12:53:20 -07:00
frank
5524e61f4b CloudStack CLOUDSTACK-4484
Vmware - Not able to fetch userdata from guest Vms using http://<router-address>/latest/user-data
(cherry picked from commit 697cc2e397)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:52:54 -07:00
Edison Su
5878607970 CLOUDSTACK-4459:
Libvirt reports:
org.libvirt.LibvirtException: Storage volume not found: no storage vol
with matching name
in some cases, if the volume is created on one kvm host, while accessed
from other host.
It's possible due to concurrent access(read/write) storage.
The current fix is to try serveral times, and wait for 30 seconds for
each retry.
If the issue still there, then need to sync the storage pool access
2013-08-26 18:07:18 -07:00
Min Chen
9103984d34 CLOUDSTACK-3405: execute.in.sequence.hypervisor.commands and
execute.in.sequence.network.element.commands should be set to "true" by
default.
2013-08-26 16:35:34 -07:00
Edison Su
a23322bf20 Merge branch '4.2-forward' into 4.2 2013-08-26 16:18:12 -07:00
Edison Su
ad6fc9f680 CLOUDSTACK-4492: DB upgrade for volume state, from UploadOp to Uploaded 2013-08-26 15:49:09 -07:00
Sanjay Tripathi
208507a42a CLOUDSTACK-4495: systemVM template URL is pointing to old template location in upgrade file.
SystemVM template URL for XenServer hypervisor is pointing to old template location in the Upgrade410to420.java  file.
2013-08-26 15:46:48 -07:00
Jessica
171681b6a4 CLOUDSTACK-4334. DOC. Fix missing license header. 2013-08-26 15:31:17 -07:00
Brian Federle
f662e9897a CLOUDSTACK-4427: Fix non-async API call causing duplicate rows. 2013-08-26 15:12:55 -07:00
Jessica
3dfb88e09d CLOUDSTACK-3390. DOC. Describe that VMware Datacenter can now be visible as a zone. 2013-08-26 14:46:56 -07:00
Mike Tutkowski
6a2f15f94a Merge remote-tracking branch 'upstream/4.2-forward' into 4.2-forward
Make Mutual CHAP optional.
2013-08-26 15:34:52 -06:00
Mike Tutkowski
13a415fe8a Not everyone wants to use Mutual CHAP with VMware - make it optional. 2013-08-26 15:33:39 -06:00
Jessica Wang
ae68c841f6 CLOUDSTACK-4089: UI > zone wizard > hypervisor VMware > configure physical network > edit traffic type label > split "VMware Traffic Label" field into 3 fields: "vSwitch Name", "VLAN ID", "vSwitch Type". 2013-08-26 14:27:56 -07:00
Edison Su
38d8a84ebc CLOUDSTACK-4436: in case of older kvm host, we'd better try serveral times to make sure we passed cmdline parameters to system vms 2013-08-26 14:00:24 -07:00
Jessica
ecbd9ed93d CLOUDSTACK-4334. Documentation for how to write an object store plugin. 2013-08-26 13:49:42 -07:00
Jessica
9a6f2de70e DOC. Move misplaced paragraph from Secondary Storage section to Primary Storage section. 2013-08-26 12:48:36 -07:00
Jessica
40443bb5ea Revert "DOC. Fix typo in Basic Zone Configuration."
This reverts commit e5b7dc55ba.
2013-08-26 12:47:07 -07:00
Jessica
48874c197e DOC. Fix typo in Basic Zone Configuration. 2013-08-26 12:46:31 -07:00
Jessica
e5b7dc55ba DOC. Fix typo in Basic Zone Configuration. 2013-08-26 12:45:33 -07:00
Jessica
c2cde0b463 CLOUDSTACK-4334. Documentation for object store. 2013-08-26 12:44:56 -07:00
Min Chen
f0000814bd CLOUDSTACK-4468:template created from snapshot is destroyed once we
restart management server.
2013-08-26 11:54:05 -07:00
Edison Su
3c69710778 CLOUDSTACK-4459: need to sychronize create storage pool, otherwise, we can create the same pool with the same uuid in parallel 2013-08-26 11:15:30 -07:00
Edison Su
a0344132b5 CLOUDSTACK-4507: fix NPE when taking snapshot 2013-08-26 11:04:28 -07:00
Chip Childers
0cefd6c972 Adding httpclient ssl source files to legal documentation
(cherry picked from commit a70708de48)
2013-08-26 12:36:13 -04:00
Chip Childers
a70708de48 Adding httpclient ssl source files to legal documentation 2013-08-26 12:33:01 -04:00
venkataswamybabu budumuru
1bcd4de4e4 Revert "CLOUDSTACK-4378 : Existing tests were deploying VMs as admin and creating"
Accidentally pushed this change to 4.2 branch hence revertingt this change.

This reverts commit 73099f77c4.
2013-08-26 20:03:15 +05:30
venkataswamybabu budumuru
98dfd65291 CLOUDSTACK-4378 : Existing tests were deploying VMs as admin and creating
affinity groups as admin. There are few reason why this needs to be changed and
the reasons are as mentioned below
1. we usually create an account for each test and we run the test as the newly
created account and not as admin.
2. tests were failing during deployVirtualMachine step when they are run as
admin and if anyone during these tests create an additional isolated networks
as admin account .
(P.S: current deployVirtualMachine in the scripts is not taking the networkId
and hence it fails when there are multiple isolated networks because it doesn't
know which one to pick)
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-08-26 19:28:06 +05:30
venkataswamybabu budumuru
73099f77c4 CLOUDSTACK-4378 : Existing tests were deploying VMs as admin and creating
affinity groups as admin. There are few reason why this needs to be changed and
the reasons are as mentioned below
1. we usually create an account for each test and we run the test as the newly
created account and not as admin.
2. tests were failing during deployVirtualMachine step when they are run as
admin and if anyone during these tests create an additional isolated networks
as admin account .
(P.S: current deployVirtualMachine in the scripts is not taking the networkId
and hence it fails when there are multiple isolated networks because it doesn't
know which one to pick)
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-08-26 19:09:24 +05:30
Jayapal
dd57226817 Marvin test cases for multiple ip address per nic 2013-08-26 17:11:45 +05:30
radhikap
36fade1c16 CLOUDSTACK-772 release notes IDREF issues fixed, dvSwitch comments 2013-08-26 16:38:21 +05:30
Radhika PC
d9aa97ca32 CLOUDSTACK-4469 upgrade exception added to known issues 2013-08-26 16:38:19 +05:30
Radhika PC
48fd1f5503 gslb edits 2013-08-26 16:38:16 +05:30
Radhika PC
d425080298 edit changes across assorted files 2013-08-26 16:38:14 +05:30
Koushik Das
9f9f438ab9 CLOUDSTACK-4350: [Performance Testing] Adding hosts take much longer time than baselines
During host connect multiple listeners gets invoked, one of them is the download listener.
As part of processConnect() method, it checks if templates needs to be downloaded to secondary
store for a particular HV type. As part of that check it computes list of HVs present in the
zone. The earlier logic was to query all hosts (excluding current one) and iterate over them to
make the list. This is not optimal and is bound to have some latency as the number of hosts
increases.
Optimized the logic by querying the list of HVs from the db. directly instead of iterating over
all hosts in the zone.
2013-08-26 15:54:36 +05:30
Prasanna Santhanam
81d489dc94 CLOUDSTACK-4452: Cleaning up the is_snapshot_on_nfs utility
- Pass in config and determine the mgmtsvr credentials
- remove the dir_paths param which is not reqd.
- pass all entities as uuids and convert to ids within the method

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 02e7630f1c)
2013-08-26 11:11:30 +05:30
Gaurav Aradhye
35ee38385c CLOUDSTACK-4452 - Fixed method is_snapshot_on_nfs and moved it to utils
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-26 10:40:19 +05:30
Sowmya Krishnan
bc5b6ae0e4 CLOUDSTACK-4487: No need to delete offerings or wait on offering cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-26 10:35:59 +05:30
Prasanna Santhanam
5f77493a79 local storage is not enabled on the zone
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-24 10:05:14 +05:30
Girish Shilamkar
9ff40829a9 CLOUDSTACK-4144: Add free vlan to shared network in TestVMLifeCycleSharedNwVPC
Shared network has to have specifyVlan = True. So changed it to True
and aded a function to get free vlan.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-24 10:05:14 +05:30
Vijayendra Bhamidipati
448bfc2d58 CLOUDSTACK-4390: Using full-clone by default for VMware deployment
Description:
    Setting default setting of vmware.use.full.clone flag
    to true in sql upgrade script else global config will be
    overwritten back to false.
2013-08-23 11:37:05 -07:00
Kelven Yang
834fdc8859 CLOUDSTACK-3237: acknowledge the behind-back VMDK disk consolidation happend in vCenter after storage live migration 2013-08-23 17:38:34 -07:00
Edison Su
d901663578 CLOUDSTACK-4477: in order to select hypervisor host which can access storage pool, need to check storage_pool_host_ref 2013-08-23 16:56:01 -07:00
Min Chen
f501c7bbe1 CLOUDSTACK-4481:API: listEventTypes returns nothing; raises ERROR in MS
logs.
2013-08-23 15:19:20 -07:00
Min Chen
c6928f2f53 CLOUDSTACK-4480: Handle DestroyCommand in VmwareResource to evict
unused template from primary storage pool.
2013-08-23 14:36:11 -07:00
Jessica Wang
3a127186cb CLOUDSTACK-4474: UI > Infrastructure > primary storage > detailView > add zone field. 2013-08-23 13:56:24 -07:00