Commit Graph

20318 Commits

Author SHA1 Message Date
Jessica Wang 202e57a772 CLOUDSTACK-4508: UI > Infrastructure > clusters > add cluster dialog > make NexusVSM fields required only when Override Traffic is checked AND vSwitch Type is "Cisco Nexus 1000v Distributed Virtual Switch". 2013-08-26 16:02:36 -07:00
Brian Federle ef7dbf230a CLOUDSTACK-4508 (WIP): Conditionally make VSM fields required
If VSM is active, and either traffic overrides are checked, make VSM
fields required.

** This creates new VSM fields, with '_req' appended to end of ID. API
calls need to be changes to account for this.
2013-08-26 16:02:35 -07:00
Min Chen 5a11fe77ba CLOUDSTACK-3405: execute.in.sequence.hypervisor.commands and
execute.in.sequence.network.element.commands should be set to "true" by
default.
2013-08-26 15:52:24 -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
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
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
Min Chen bb78cb94af CLOUDSTACK-4478:API: ListSwiftsCmd API missing. 2013-08-23 13:21:27 -07:00
Sheng Yang 064f6c01b3 CLOUDSTACK-1670: Fix multiple nic routing issue when dhcp_release available
dnsmasq.conf need to contain /etc/dhcpopts.txt from the beginning, otherwise
SIGHUP won't make dnsmasq reload the dhcpopts.txt, thus result in multiple nics
user VM get router information from all DHCP offers.
2013-08-23 11:58:34 -07:00
Sheng Yang 82b8933854 CLOUDSTACK-4199: Only use ifdown/ifup for the un-configured eth2
Seems the behavior of ifdown/ifup changed in new version, that it would only
enable the default IP of eth2, regardless we can configure additional ips for
it. So we would always use ifconfig for interface control whenever
possible(a.k.a eth2 already got ip addresses).

When VR is booting up, ipassoc command hasn't been delivered, it's possible that
eth2 doesn't have any ip address, then ifconfig would fail because it doesn't
know how to find the ip for eth2. So in this only case, we would use ifdown/ifup
to set the ip address according to /etc/network/interfaces.

It can potentially racy againest ipassoc command, but biglock should prevent
racy condition from happening.
2013-08-23 11:58:22 -07:00
Wido den Hollander 829dbaccb4 CLOUDSTACK-4424: Download RBD volume created from snapshot
This failed due to a RAW -> QCOW2 conversion (again).

The current code still makes to much assumptions about everything always
being QCOW2 while that is not always true.
2013-08-23 16:23:17 +02:00
Prasanna Santhanam e39156e4d6 CLOUDSTACK-4473: allow_egress referenced before assignment
When deploying with networkids allow_egress gets no default value. This
is a regression caused by fix for CLOUDSTACK-4418

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 17:03:19 +05:30
Devdeep Singh 5b319ba0cb CLOUDSTACK-4470, findHostsForMigration api isn't setting the requiresStorageMotion flag to true
when a virtual machine is to be migrated across cluster and the source and destination host do
not share storage pools. migrationRequired flag was introduced in a recent commit that was always
set to false for XenServer. This caused the destination host to be flaged as not requiring
storage motion. Fixed the scope of the boolean and defaulted it to true. Other checks validate
if storage motion is required for XenServer.
2013-08-23 15:12:59 +05:30
SrikanteswaraRao Talluri 4a8119c807 CLOUDSTACK-4448: Fix test_03_RouterStartOnVmDeploy to stop all the pre-existing VMs before starting the test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 12:37:03 +05:30
SrikanteswaraRao Talluri db673b2b9b CLOUDSTACK-4447: Fix router tests by listing Routers for that account of type 'Isolated'.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 09:42:37 +05:30
SrikanteswaraRao Talluri 8762a0d0c6 CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 09:41:19 +05:30
Edison Su 17ffe48ad2 add table lock on snapshot, during taking snapshot 2013-08-22 20:39:09 -07:00