Commit Graph

20141 Commits

Author SHA1 Message Date
Bharat Kumar 16deb39352 CLOUDSTACK-4317 make the regular expressions in dnsmasq.sh more tighter to avoid matching of ip6dns
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-15 10:52:38 +05:30
Ashutosh K 85318977c2 Additional tests for custom_hostname
- vm with existing displayname
- change display name post deploy
- deploy with unsupported chars in display name
- vm.instancename.flag = true and deploy vm
- vm.instancename.flag = false and deploy vm

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d5203b19e0)
2013-08-15 10:48:50 +05:30
Ashutosh K 84e81df2a3 Removed Invalid test from TestRemoveUserFromAccount see -> http://markmail.org/message/vk7wyl3b57cltj44
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-15 10:44:23 +05:30
Ashutosh K 682e995a4a CLOUDSTACK-3594: New affinity group tests
- list all vms in affinity group
- delete an affinity group by id
- admin deletes affinity groups
- list affinity groups as admin
- list affinity groups by accountid/domainid
- list affinity groups by group id
- user deletes his affinity group

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-15 10:36:36 +05:30
Edison Su a467c45bf6 CLOUDSTACK-4338: catch up exception in case of deleting volume in parallel: it's possible that two threads can delete one volume at the same time, if the volume state is in Expunging 2013-08-14 18:14:20 -07:00
Min Chen 9a9ef3112c CLOUDSTACK-4318:[Object_Store_Refactor] Failed to delete snapshot copied
to Staging storage during snapshot creation.
2013-08-14 18:01:09 -07:00
Min Chen f197a7b79f CLOUDSTACK-2583: [Object_Store_Refactor] Failed to create snapshot from
root disk of a guest VM.
2013-08-14 18:01:09 -07:00
Jessica Wang 42f49d0316 CLOUDSTACK-4302: UI > affinity group > hide delete action when affinity group type is ExplicitDedication for regular user. 2013-08-14 17:58:39 -07:00
Jessica Wang 5189143a15 CLOUDSTACK-4302: UI > VM wizard > affinity group step > if selected zone is dedicated, pre-select ExplicitDedication affinity group and make it non-editable. 2013-08-14 17:44:25 -07:00
Jessica Wang 6b955926da CLOUDSTACK-4341: UI > zone wizard > call dedicateZone API right after createZone API returns success. 2013-08-14 17:04:20 -07:00
Edison Su a247be70d8 CLOUDSTACK-4315: add code to clean up libvirt data structure after plug/unplug, that's the only thing I can do to fix this kind of libvirt issue 2013-08-14 16:57:14 -07:00
Prachi Damle 1260b97373 CLOUDSTACK-4337 Dedicated Resources: Zone dedicated to an account should only be visible and accessible to that account
Changes:
- When listing a zone, add clause in the search to check the account_id for a dedicated zone
- When listsing a zone with a domainid, add a similar clause.
- DomainCheck:: checkAccess() for a zone should consider that zone can now be dediacted to a specific account and check access accordingly.
2013-08-14 16:11:55 -07:00
Edison Su f71da1c4f5 CLOUDSTACK-4325: if userdispersing algorithm is used, then zone wide storages never been picked up 2013-08-14 15:51:48 -07:00
Alena Prokharchyk 707d6993bf Revert "fix CLOUDSTACK-2989, do not list network offering with specifyvlan=true for non-root-admin user"
This reverts commit 94254e3c2b.

Conflicts:
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java

Regular user should be able to list the network offering with specifyVlan=true. He just can't use when create the network as he is unaware of the physical network topology. But as the admin can create the network on the user's behalf using this kind of offering, so the user should be able to see the offering's details
2013-08-14 15:21:17 -07:00
Kelven Yang 950672ef8c CLOUDSTACK-4288: Fix the way that VmwareClient is using vSphere 5.1 SDK which caused huge memory footprint 2013-08-14 15:00:07 -07:00
Edison Su 6abc3da828 CLOUDSTACK-4318: clean up snapshot stored in staging area, after backup snapshot to object store 2013-08-14 14:58:01 -07:00
Edison Su 1451b8b642 CLOUDSTACK-4324: need to clean up snapshot_store_ref, if creating snapshot failed. 2013-08-14 14:18:22 -07:00
Prachi Damle 431ea4988c CLOUDSTACK-4302: Instance wizard UI: Support affinity groups for dedicated zones
Changes:
- Add affinityGroupUuid in the listzones response for dedicatedZones.
2013-08-14 13:42:32 -07:00
Jessica Wang cb609d24d6 CLOUDSTACK-4142: UI > Infrastructure > zone > physical network > guest > edit guest network > network offering dropdown > get info of current network offering from listNetworks API response instead of listNetworkOfferings API response. 2013-08-14 13:40:46 -07:00
Min Chen 30484fb7f8 CLOUDSTACK-3706:[Object_Store_Refactor] Failed to create template from
stopped guest vm's root disk.
2013-08-14 11:54:36 -07:00
Mike Tutkowski 4ee6a6d3ab CLOUDSTACK-4331 - Enable more capacity from a managed storage device to be given to CloudStack 2013-08-14 12:38:38 -06:00
Jessica Wang 3b9ea8ee4a CLOUDSTACK-4142: UI > VPC > tier > detailView > edit action > network offering dropdown > get current network offering from listNetworks API response instead of listNetworkOfferings API response. 2013-08-14 11:37:18 -07:00
Alena Prokharchyk 14d865fb9b CLOUDSTACK-4315: VPC - when fail to add nic to the VR, a) remove the nic b) remove the reference to nic from router_network_ref table. Before the fix b) was missing, and it caused NPEs when tried to apply the rules on the routers not having nic in the network 2013-08-14 11:22:07 -07:00
Jessica Wang 674552269a CLOUDSTACK-4142: listNetworkOfferings API has been changed to not return system owned network offerings to regular user. Therefore, change VPC tier detailView to get services from listNetworks API response instead of listNetworkOfferings API response. 2013-08-14 11:09:21 -07:00
Jessica Wang e50eb3deff CLOUDSTACK-4142: UI > remove fieldPreFilter() that is not in use any more. 2013-08-14 10:38:49 -07:00
Sanjay Tripathi c5f1aea39d CLOUDSTACK-3688: Test cases test_accounts.TestDomainForceRemove.test_forceDeleteDomain, not found the domain to delete and failed.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 151fc3e837)
2013-08-14 20:05:02 +05:30
Prasanna Santhanam a04599b3ca flaky RvR tests to run sequentially
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 19:52:46 +05:30
Wido den Hollander 97cad491ac CLOUDSTACK-4278: Fix resizing RBD volumes
Although libvirt supports resizing RBD volumes (and other formats) the
Java bindings (libvirt-java) don't.

Right now we use the Java bindings for librbd to handle the resizing for us,
but in the future this should be done by libvirt rather then these
Java bindings.
2013-08-14 16:17:37 +02:00
Nitin Mehta e40043fc3d CLOUDSTACK-4287
Builtin template Ready Status is No even after the Status is downlaod complete. The reason was that template sync updates only the template download state but not the state. Fixing that. Ideally we should change the state through state machine only.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-14 18:41:45 +05:30
Sateesh Chodapuneedi 507f742213 CLOUDSTACK-4326 Adding VMware DC to legacy zone should not be allowed by API
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-14 12:51:01 +05:30
Kishan Kavala 4f3e648f45 CLOUDSTACK-4295 : Template Physical size is stored as size in template.properties. physicalsize param does not exist in template.properties 2013-08-14 17:28:22 +05:30
Kishan Kavala 903b92f6cc CLOUDSTACK-4295 : TemplateTO should contain physical size along with virtual size. Usage ignores templates with size 0 2013-08-14 17:28:22 +05:30
Prasanna Santhanam 3be5605583 CLOUDSTACK-3961: multi network test in VPC
Test delete network rules in a VPC. Multiple Fixes
- correct protocol ICMP->TCP
- Remove LB actions from non-lb network
- correct private gateway CIDRs to not overlap with vpc guest cidrs
- remove unrequired SSH on non-lb network
- typos

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d28e86ccea5dfebea92eba63d1a15ef90855f62d)
2013-08-14 17:04:07 +05:30
Wido den Hollander 5d9ce82f7d rbd: When the template is a RAW image, do not use a temp file when deploying 2013-08-14 13:28:21 +02:00
Prasanna Santhanam 9e7983ac18 CLOUDSTACK-4252: Correct the cleanup order of resources
Apply a LIFO cleanup when deleting cloud resources

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 16:31:55 +05:30
Prasanna Santhanam e3eee3bd43 CLOUDSTACK-4258: Additional debug to the assertion
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:30 +05:30
Prasanna Santhanam 547b394363 CLOUDSTACK-4262: Wait twice network.gc for vpcvr shutdown
Wait a little bit longer for the VpcVr to shutdown on network shutdown.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:30 +05:30
Prasanna Santhanam 095ea6d0b8 Additional logging and better error reporting on assert fail
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:30 +05:30
Wei Zhou 037b5d1c97 CLOUDSTACK-4316: updateSystemVms is not need in Upgrade304to305 as new templates are used in upgrade from 4.1 to 4.2
(cherry picked from commit 02d1757724)
2013-08-14 11:05:57 +02:00
Wido den Hollander 8f38272623 CLOUDSTACK-4310: Document vnc_listen for Qemu/libvirt
The vnc-listen patch didn't make it into 4.2 due to a newer version
of libvirt-java not being released.

Eventually we want to get rid of this, but currently we are forced to
do it this way. Setting it to anything else then 0.0.0.0 will break
migrations without a newer version of libvirt-java

The newer version of libvirt-java supports live migratons with a different
XML definition for on the destination host.
2013-08-14 10:18:26 +02:00
Wei Zhou f427041259 CLOUDSTACK-4314: fix dir error in ProcessUtil.pidCheck
(cherry picked from commit eb59c3c601)
2013-08-14 09:53:53 +02:00
Fang Wang 8df22d1818 cloudstack-4308 Add API listCapabilities for KVMSnapshotEnabled so that UI can use it for recurring snapshot. 2013-08-13 12:48:24 -07:00
Vijayendra Bhamidipati c850f0a0e3 CLOUDSTACK-4139: [VMWARE][ZWPS] Failed to resize the volumes which are created from snapshot
Description:

    Support offline volume resize on ESX by creating a worker VM
    to attach the unattached volume to and then resize it.
2013-08-13 12:46:35 -07:00
Jessica Wang 4161303060 CLOUDSTACK-4142: UI > Network > VPC > configure > Router > Public IP Addresses > Configuration tab > use networkofferingconservemode to determine which action to show only when IP is attached to a tier(network). 2013-08-13 18:18:01 -07:00
Jessica Wang 6e423784c9 CLOUDSTACK-4142: UI > VPC > IP Address > get service list from listNetworks API response instead of listNetworkOfferings API response. 2013-08-13 17:55:36 -07:00
Jessica Wang 36cd824ba7 CLOUDSTACK-4111: UI > IP Address page > Associate New IP dialog - show/hide cross zone dropdown upon region "Local" in listRegions API response. 2013-08-13 15:12:46 -07:00
Anthony Xu 9cc1bc40d2 CLOUDSTACK-4282
allow overlapped subnet with different VLANs in shared network
2013-08-13 15:12:14 -07:00
Wei Zhou 7f63128061 Remove unused method deleteVbdByPath from KVM storage classes
(cherry picked from commit c3bc9d65dd)
2013-08-13 23:51:48 +02:00
Edison Su 9505523eca CLOUDSTACK-4298: in case both xenserver/vmware mixed in one zone, need to make sure, ssvm is loaded with premiumsecondaryresource 2013-08-13 14:39:01 -07:00
Edison Su d1c0860921 CLOUDSTACK-4222: use new volume object in case of migrate volume 2013-08-13 14:39:01 -07:00