Commit Graph

19260 Commits

Author SHA1 Message Date
Kishan Kavala ccc07cdb93 CLOUDSTACK-3484: Removed method synchornization in libvirt and virtual router resources 2013-07-16 19:06:49 +05:30
Likitha Shetty e15876944b CLOUDSTACK-3293. DeleteAccount fails with ConstraintViolation on snapshot_store_ref. 2013-07-16 14:36:57 +05:30
Likitha Shetty 4c924bb83d Revert "CLOUDSTACK-3293. DeleteAccount fails with ConstraintViolation on snapshot_store_ref."
This reverts commit d0955663cf.
2013-07-16 14:09:43 +05:30
Likitha Shetty d0955663cf CLOUDSTACK-3293. DeleteAccount fails with ConstraintViolation on snapshot_store_ref. 2013-07-16 13:42:27 +05:30
Devdeep Singh c59c736f98 CLOUDSTACK-3545: NPE in listStoragePoolsForMigration api. The volume table no longer holds
the pod id, the column is null now. Made a change to get the pod id from the storage pool
on which the volume resides.
2013-07-16 12:04:36 +05:30
Sheng Yang 2f85c80655 CLOUDSTACK-3539: Fix wrong management ip when server start up
The value "localhost" for mgmt server should be over-written anyway.
2013-07-15 18:26:41 -07:00
Sheng Yang 54e9fe4485 CLOUDSTACK-3540: Fix edithosts.sh to prevent removing active dhcp entries
IP match must terminated by comma.
2013-07-15 18:01:31 -07:00
Min Chen dabedd0848 CLOUDSTACK-2595: [Automation] Failed download default template for
second zone. Actually it is a listTemplate issue.
2013-07-15 17:36:42 -07:00
Vijayendra Bhamidipati 9c1e02ae5a CLOUDSTACK-3311: PVLAN - vmware dvswitch - stop/start nd reboot Virtual router FAIL
Description:

    Fix logic to check for secondary pvlan id already existing on vmware DVS, and
    fix int to Integer comparison.
2013-07-15 16:07:58 -07:00
Sheng Yang fd06009d50 CLOUDSTACK-3434: Improve the atomic of file lock used in VR
Now we would retry if "ls" failed, since the list of files changed.
2013-07-15 16:07:36 -07:00
Min Chen c1b0228f13 After upgrade to 4.2.0, restart of system vms and router vm fails with a
NPE
2013-07-15 15:55:53 -07:00
Alena Prokharchyk bd0cfd9c06 CLOUDSTACK-1948: fixed pagesize to support -1 (unlimited) value 2013-07-15 11:51:59 -07:00
Jessica Wang 60d5d7a995 CLOUDSTACK-3461: zone wizard - add cluster step - when hypervisor is VMware, vCenter Username and vCenter Password are required (for firing addVmwareDc API). 2013-07-15 11:33:59 -07:00
Brian Federle e92e9884d7 CLOUDSTACK-3002: Fix VLAN ID not being passed on create tier 2013-07-15 11:19:03 -07:00
Alena Prokharchyk 48e030589e CLOUDSTACK-3346: Fixed setting up resourceTags for network ACL - added missing @Inject when load NetworkACLItemDao 2013-07-15 10:19:55 -07:00
Jayapal 34582d672f CLOUDSTACK-3533 Fixed dhcphosts.txt for two entries and also dhcp_relase for ipv6 2013-07-15 20:02:56 +05:30
Jayapal ffbc30ddbb Revert "CLOUDSTACK-3424 Fixed dhcphosts entry and also dhcp_relase for ipv6"
This reverts commit f37567ef45.
This deletes the duplicate entry when new vm came with deleted vm ip.
So will not fix the bug CLOUDSTACK 3424 fully. So this changes will be committed into new bug
2013-07-15 18:47:24 +05:30
Jayapal acd9390901 CLOUDSTACK-3424 Fixed dhcphosts entry and also dhcp_relase for ipv6 2013-07-15 18:14:53 +05:30
Murali Reddy 186247d6bf CLOUDSTACK-2346: [GSLB] dedicated vs shared GSLB devices and LB devices
Only one NetScaler device can act as GSLB service provider in a zone for
all the tenants and thier networks, so restrict addign NetScaler device
to be shared use when configure as GSLB service provider.
2013-07-15 16:28:40 +05:30
Murali Reddy 5e0a61d57c CLOUDSTACK-2960: [portableIPrange] CS should check the portable ip range, vlan with
existing public ip ranges and vlans

adds a validation check to ensure there is no VLAN in the zones with
same id
2013-07-15 16:17:47 +05:30
Koushik Das 285f173262 CLOUDSTACK-3445: Observing the system alerts "unallocated Local Storage is low in cluster" when Primary storage is Local Storage
Available bytes was getting stored in the used bytes property of local storage pools. As a result of this, for newly added local pools Cloudstack thinks that there is no space available and generated alerts.
2013-07-15 15:30:45 +05:30
Wei Zhou 564c30a040 CLOUDSTACK-2823: move kernelVersion to global configuration in LibvirtComputingResource.java 2013-07-15 10:55:17 +02:00
Vijayendra Bhamidipati 6e85ae219b CLOUDSTACK-3425 Ignore network interfaces without a uuid when passing them on as extra configs to ESX for nicira NVP controller.
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-07-15 10:26:43 +02:00
Toshiaki Hatano 8065a5570d CLOUDSTACK-3431: KVM: cloudstack-plugin-hypervisor-kvm with BridgeVifDriver doesn't cleanup vNet due to multiple reasons
- Move vnetBridge clean up function from LibvirtComputingResource to BridgeVifDriver
-- since only BridgeVifDriver have to handle this event
- LibvirtComputingResource now properly call VifDriver.unplug() when it receives UnPlugCommand

- Remove not working and no longer used method getVnet(String) from VirtualMachineName
- Remove not working and no longer used method getVnet() from StopCommand
- Remove unused constructer StopCommand(VirtualMachine, String, boolean) from StopCommand
- Remove unused member vnet from StopCommand
- Remove unused member _modifyVlanPath from OvsVifDriver

Tested with 2 KVM hosts and confirmed it correctly manipulate vnetBridge with start, stop, migrate, plug, and unplug event

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-07-15 09:11:43 +02:00
Devdeep Singh f1636203f7 CLOUDSTACK-3497: Updated the hypervisor_capabilities table to include capabilities for xenserver 6.2.
Also made a change to update the capabilities for storage motion support based on hypervisor type and
version. It was being done based on 'id'.
2013-07-15 12:01:30 +05:30
Murali Reddy feeffeaf10 CLOUDSTACK-3463: [Portable IP] [EIP/ELB Zone] EIP semantics are not
intact with portable IP

fix ensures that, on release of portable IP associated with 'EIP
enabled' basic zone vm, a new system public IP is allocated and
associated with the VM
2013-07-15 09:50:41 +05:30
Murali Reddy 8de3b4f461 CLOUDSTACK-3444: Unable to transfer portalbe IP between ISOLATED network and VPC
Tiered Network

When portable IP is transferred across the zones, we emulate portable IP
as provisioned in new zone's physical network carrying public traffic
and logical public network. network Id, and physical network id both
were bieng set to same physical network id resulting in IP association
to fail. This fix ensures both network and physcial network are set
appropriatley.
2013-07-15 09:04:24 +05:30
David Nalley 6f5d398839 adding some more groups to cli and awsapi packages - no idea why I missed those earlier. 2013-07-14 14:59:43 -04:00
David Nalley 9797f53f58 Adding a group to usage in spec file for RPM 2013-07-14 14:33:38 -04:00
Mike Tutkowski 981c8624ea Changes related to Review Board comments 2013-07-13 23:38:41 -06:00
Edison Su 7e6c1a0bf7 CLOUDSTACK-3400: add swift support 2013-07-13 01:52:03 -07:00
Edison Su c888fc6b75 add inital swift support 2013-07-13 01:52:03 -07:00
Prasanna Santhanam 7ec12dae06 CLOUDSTACK-2481: SystemVM template 64-bit patched with vhd-util
This allows a template of a snapshot operation

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-13 10:45:50 +05:30
Edison Su 28a85fe000 fix compile issue 2013-07-12 16:08:10 -07:00
Vijayendra Bhamidipati 8439209ba6 CLOUDSTACK-3509: Put in missing code to kick off non root volume resize operations in vmware deployments
Description:

    Include vmware in list of hypervisors supporting volume resize.
2013-07-12 15:21:52 -07:00
Vijayendra Bhamidipati cb96d70967 CLOUDSTACK-3264: [ZWPS]NPE while finding storage pools for migration
Description:

    Filter primary storage pools based on zonewide/clusterwide configuration
    when considering pools to list for storage migration of volumes.
2013-07-12 15:21:40 -07:00
Mike Tutkowski 13ec10caa6 Changes related to Review Board comments
Changes related to Review Board comments
2013-07-12 14:26:11 -06:00
Brian Federle e04accbd2b CLOUDSTACK-2569: Add enable/disable actions to main VNMC network provider 2013-07-12 12:52:20 -07:00
Brian Federle 77b738f58c CLOUDSTACK-2615: Remove 'change service' from VM actions
Now that scaleVirtualMachine is being used to change compute
offerings, the old 'change service' action can be removed, as it will
be deprecated in the future.
2013-07-12 12:16:03 -07:00
Brian Federle f9fd132031 CLOUDSTACK-2864: Fix duplicate message on affinity group
Fixes issue where text on affinity group step of instance wizard is
duplicated, when going back a step and making changes.
2013-07-12 12:04:57 -07:00
Edison Su 8319473baa set vhd-util executable 2013-07-12 10:56:05 -07:00
Sateesh Chodapuneedi 888ef1959f CLOUDSTACK-3494 listvmwareDcs API doesn't exist for admin
Added the API to commands.properties.in with admin access.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-12 19:25:45 +05:30
Hugo Trippaers 55c0616d90 CLOUDSTACK-728 Get the framework in place the support the removal of the portgroup that is created for a nic connected to an lswitch.
Add a command to tell a hypervisor guru to take some action when
expunging a nic
2013-07-12 14:23:13 +02:00
Hugo Trippaers a0fe6ecc43 Formatting changes using the settings from Alex 2013-07-12 14:22:59 +02:00
Hugo Trippaers 5bdbd72d6d CLOUDSTACK-728 Rewrite support for lswitch connected nics on both standard and distributed switches.
Fix the name of the interface id in extra config, so the nic is found up using the nic uuid instead of the vm id.

getVlanInfo should return null when the nic is plugged on a Lswitch network.

On a distributed portgroup all vms should be connected to a single
portgroup and set a specific vlan on the port. On a standard switch each nic should have its own portgroup with a dedicated vlan (not related to CS vlans)
2013-07-12 14:22:44 +02:00
Likitha Shetty 87df51356b CLOUDSTACK-2757. When configs are added the value of the property 'category' is not persisted. 2013-07-12 16:48:40 +05:30
hongtu_zang 4836134313 fix xenserver 6.1 and 6.2 can not open vnc console
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-12 16:34:22 +05:30
rayeesn 9bc105f39a vmware - not reqiured to add host, host will be added as part of cluster
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b3e2871e73)
2013-07-12 16:11:55 +05:30
Harikrishna Patnala 8816d41d3b CLOUDSTACK-2987: Fixing dynamicallyScalable flag in register and update template API Previuos commit: 7b6b8d7a07 This fix is due to some changes made by the merges after this commit.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-12 15:27:25 +05:30
Wei Zhou b2a077dfff CLOUDSTACK-1475: fix RegisterISO error after Update SSL Certificate 2013-07-12 10:43:57 +02:00