Commit Graph

20123 Commits

Author SHA1 Message Date
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
Brian Federle 02921b5d7c CLOUDSTACK-4302: Instance wizard: Selected affinity group is readonly
If adding an instance from affinity group VM list view, make that
affinity group non-editable in 'select affinity group' step to keep
context.
2013-08-13 14:37:09 -07:00
Brian Federle 1d2e0ed590 CLOUDSTACK-4302: Instance wizard: Support readonly checkbox selection
If 'selectedObjNonEditable' option is passed alongside 'selectedObj'
on response, make checkbox selection readonly/disabled.

Right now this is to support 'required' affinity group selections that
shouldn't be unselected.
2013-08-13 14:27:10 -07:00
Alena Prokharchyk e9239b83a0 Fixed deployDb - in setRAWformatForRBDVolumes use executeUpdate instead of executeQuery when perform an update with the prepared statement 2013-08-13 14:03:11 -07:00
Jessica Wang 95d7c499ce CLOUDSTACK-4127: UI > Infrastructure > clusters > create cluster dialog > not pass value in vSwitchPublicType, vSwitchPublicName, vSwitchGuestType, vSwitchGuestName to addCluster API call since the 4 fields are hidden. 2013-08-13 13:53:33 -07:00
Jessica Wang 6fcb2dfde7 CLOUDSTACK-4266: UI > Infrastructure > clusters > create cluster dialog > make Nexus 1000v fields optional. 2013-08-13 13:23:36 -07:00
Jessica Wang 72fcfaaaa0 CLOUDSTACK-4266: UI > zone wizard > cluster step > make Nexus 1000v fields optional. 2013-08-13 13:17:11 -07:00
Wei Zhou e2f47871d1 CLOUDSTACK-4296: fix a similar issue 2013-08-13 21:55:55 +02:00
Wei Zhou 72f013f780 CLOUDSTACK-4296: fix parameter setting error in listVirtualMachines command 2013-08-13 21:38:27 +02:00
Min Chen 0599a8b158 CLOUDSTACK-3860: S3 and Swift-backed Secondary Storage Migration 2013-08-13 11:41:31 -07:00
Prachi Damle 86fcd647ad CLOUDSTACK-4168: Root Admin should be able to create 'ExplicitDedication' affinity group at domain level and make it available for all accounts in the domain
Changes:
- Include the new AffinityGroupAccessChecker in all *ComponentContext.xml.in
2013-08-13 11:12:27 -07:00
Brian Federle dc19a147f1 Fix missing dataProvider for secondary storage list 2013-08-13 10:58:17 -07:00
Rajesh Battala 7281593758 CLOUDSTACK-3369 Autoscaling: Deleting an isolated network of an account deletes also the autoscaling rule for a network associated with another account 2013-08-13 22:21:36 +05:30
Wido den Hollander 8a49f5a1a9 CLOUDSTACK-4114: Use RAW disk images for RBD instead of QCOW2 2013-08-13 16:26:02 +02:00
Kishan Kavala a6d6468566 CLOUDSTACK-4289, CLOUDSTACK-4290, CLOUDSTACK-4291 : Check for null when populated UUID while listing usage records.
Filed CLOUDSTACK-4299 to make these entities always available.
2013-08-13 18:57:46 +05:30
Likitha Shetty 836c4c4317 CLOUDSTACK-4286. Add one more check for validating vlanrange parameter with "dedicateGuestVlanRange" API 2013-08-13 18:51:24 +05:30
Prasanna Santhanam 0c294a50a8 CLOUDSTACK-4285: configure simulator API not discovered
- ManagementServerSimulatorImpl is not injected by default context.
configureSimulatorCmd API was loaded as part of it. Use
SimulatorManagerImpl as PluggableService to inject configureSimulator
API.
- Remove unused ManagementServerSimulatorImpl.
- Rename ConfigureSimulator to ConfigureSimulatorCmd for uniformity with
  all API Cmds

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-13 18:02:18 +05:30
Kishan Kavala c22a73d5fa CLOUDSTACK-4281 : Usage - exception was hiding the db error. Make the usage job fail incase of any DB insert exceptions 2013-08-13 17:35:24 +05:30
frank b67af37080 CLOUDSTACK-3481, CLOUDSTACK-1812: create physical network fails while creating basic zone
Skip baremetal provider when it's not found.
(cherry-picked: 6070a8b370)
2013-08-13 17:32:51 +05:30