Commit Graph

19634 Commits

Author SHA1 Message Date
Prachi Damle 57099c8f8f CLOUDSTACK-3904 listHosts API fails in VMware setup when virtualmachineid parameter is passed
Changes:
- Pod and Cluster can be null, modified the query to append these only if non-null
2013-07-29 14:08:47 -07:00
Min Chen 140dfaaa5b CLOUDSTACK-3862: Remove S3/Swift-backed Secondary Storage Code. 2013-07-29 14:04:52 -07:00
Alena Prokharchyk 3e9740c793 CLOUDSTACK-3914: assignToLoadBalancer - return false, when empty vmIds list is passed in 2013-07-29 13:56:29 -07:00
Jessica Wang 8126981f85 CLOUDSTACK-2334: UI > Regions > GSLB > remove lb rule from GSLB - fix a bug that passed wrong parameter to API call. 2013-07-29 13:53:05 -07:00
rayeesn 649d7d703c Supporting packaging for RHEL 5 and 6.2; updated macros
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-29 13:39:21 -07:00
rayeesn 97c9a9664f CLOUDSTACK-2133 - Cisco VNMC xml need copy to plugins/network-elements/cisco-vnmc/scripts/network/cisco during installation 2013-07-29 13:39:14 -07:00
Alena Prokharchyk 31c425208a CLOUDSTACK-3909: deployVM API - validate hypervisorType parameter when the vm is being deployed from ISO 2013-07-29 11:16:05 -07:00
Alena Prokharchyk 5fb06ad371 CLOUDSTACK-3898: fixed 303-42 db upgrade - handle situation when the field is already inserted, when try to insert it again with 41-42 upgrade 2013-07-29 10:31:59 -07:00
Girish Shilamkar 8be9a47542 CLOUDSTACK-3454: Fix test_portable_publicip
Added isportable param to associateIP API. Fixed base class
for PortableIP tio call portableip APIs.
Removed test_createPortablePublicIPAcquire from basic zone run
requires additional network creation handling which can be done
in component tests.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4054a8e2ac)
2013-07-29 20:00:17 +05:30
Gaurav Aradhye 67c96d419d CLOUDSTACK-3841: Fixed test case issue. The exception raised earlier was valid behaviour, added missing assertRaiss statement
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 19:57:10 +05:30
Nitin Mehta 1bfe9eb0a4 CLOUDSTACK-3892
Implement the download url expiration functionality for templates. Also persist the template download urls after their creation
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-29 19:47:45 +05:30
Bharat Kumar 03176e2859 Cloudstack-2622 createipAlias.sh/deleteipAliash.sh should not be allowed with Isolated Guest Networks
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-29 18:26:19 +05:30
Rajesh Battala 78781ff7b8 CLOUDSTACK-3877 Unable to Resize Volume (kvm, vmware) 2013-07-29 17:57:37 +05:30
Rajesh Battala c5a95184cb CLOUDSTACK-3846 usage event is not generated for volume resize 2013-07-29 17:57:24 +05:30
Rajesh Battala 50fe9e1cbf CLOUDSTACK-3215 Logs in the Software router are not being rotated 2013-07-29 17:57:12 +05:30
Bharat Kumar 1f50e74d60 Cloudstack-3882 remove duplicate entres of dataserver from /etc/hosts
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-29 17:50:46 +05:30
Devdeep Singh df07f68514 CLOUDSTACK-3890. Delting the storage pool is not getting from xenserver. The
storage pool entry was removed from the db but the pool wasn't unmounted from
the host. There was a check that if the pool is not in UP state then the entry
can just be removed. That is wrong. A pool can only be removed if it is in
maintenance state. So after putting the pool in maintenance state if admin
tries to delete the pool we just remove the db entry without un-mounting the
storage pool from the host. Removed the incorrect check.
2013-07-29 17:20:56 +05:30
Prasanna Santhanam 672cae4eb2 CLOUDSTACK-3906: PrivateGw constructor
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 17:15:06 +05:30
Wei Zhou 449d7821a6 CLOUDSTACK-3843: remove greedy results in save_password_to_domr.sh 2013-07-29 13:36:04 +02:00
Prasanna Santhanam 00f8942387 CLOUDSTACK-3906: unbound method PrivateGw.create is not @classmethod
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 17b711bd7c)
2013-07-29 16:57:32 +05:30
Prasanna Santhanam 83f4c3289a remove vpc offering from cleanup.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 16:37:54 +05:30
Kishan Kavala 6154c52242 CLOUDSTACK-3849: Set volume size in CopyAnswer for Vmware when cloning volume from bas template 2013-07-29 16:34:15 +05:30
Prasanna Santhanam 4a6fcd253c CLOUDSTACK-3901: Test for vpc offerings
- Fix the test that ensures vpc offerings cannot be created with
  firewall service
- CLOUDSTACK-3902 blocks the fix for vpc offerings created without
  source nat service. Without source NAT VPC creation should fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit e4de46e4b1)
2013-07-29 16:22:03 +05:30
Prasanna Santhanam d66edb5e2b CLOUDSTACK-3900: Remove the offering that is deleted before cleanup
One of the VPC offerings (4) is deleted in the test before moving into
teardown. This offering should be removed from cleanup.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 15:55:39 +05:30
Sowmya Krishnan 08c82883f6 CLOUDSTACK-3744 Fixed order of cleanup objects, removed offerings cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 15:35:13 +05:30
Prasanna Santhanam 28a0b0c588 Fix broken pep8 from 1305697eaa
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 15:33:44 +05:30
Mice Xia acd2396660 fix CLOUDSTACK-3591 add usage recording for VM snapshots 2013-07-29 17:57:20 +08:00
Prasanna Santhanam 53feae08de Remove duplicate while-loop retries during ssh
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 14:51:37 +05:30
Prasanna Santhanam bb971a208c CLOUDSTACK-3795: When listing the publicipaddress provide assocNtwkId
PublicIpAddresses.list takes an associatednetworkid which lists all the
public ip addresses in the deployment's physical network associated with
the vnet.

Various tests failed because of `networkid` used in place of
`associatednetworkid`

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 14:39:06 +05:30
Harikrishna Patnala 4d35d92208 CLOUDSTACK-3779: Support System vm scaling on VMWare
Marked the system template new system template as dynamicallyScalable
   - handled upgrade case
   - moved "dynamicallyScalable" flag to vm_instance table from user_vm_details to support dynamic scaling of system vm
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-29 14:12:24 +05:30
Harikrishna Patnala 2b42a27177 CLOUDSTACK-3669: Bringing down the dynamic scalable check (for VM whether it has xstools or vmware tools in it) to the management layer. 2013-07-29 14:07:06 +05:30
Sateesh Chodapuneedi 460fe86eb5 CLOUDSTACK-3870 [VMware] Management traffic network over a VLAN is not working
CLOUDSTACK-3437 In case of multiple physical network setup we see log message "can't get physical network"

CloudStack's control network is management network in case of VMware.
Processing management VLAN id provided in zone traffic label for management traffic.`

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-29 08:16:58 +05:30
Prasanna Santhanam 11e3a43ebe CLOUDSTACK-2715: Making MigrateSysteVm response uniform
with responses on other systemVm apis. All systemVM apis return
SystemVmResponse - rebootSystemVm, stopSystemVm etc. MigrateSystemVm is
now made uniform.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 12:34:56 +05:30
Bharat Kumar 43396e9006 CLOUDSTACK-3871 XEN - Unable to deploy VM in guest network VLAN with different subnets
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-07-28 23:43:11 -07:00
Prasanna Santhanam de1dd52a4a Fix wildcard imports from faeddc15ff
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 11:46:20 +05:30
Prachi Damle 027d4873b4 CLOUDSTACK-3343 UI/API should also return the mode(Strict/Preferred) when listing the ServiceOffering that uses ImplicitDedicationPlanner
Changes:
- API is fixed to return the service_offering details
2013-07-28 22:10:37 -07:00
Bharat Kumar 6f9c26ea49 Cloudstack-2997 Make haproxy maxconn configurable
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>

Conflicts:
	api/src/org/apache/cloudstack/api/ApiConstants.java
	engine/schema/src/com/cloud/offerings/NetworkOfferingVO.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	setup/db/db/schema-410to420.sql
2013-07-29 10:07:15 +05:30
Sateesh Chodapuneedi 7ba5d9910b CLOUDSTACK-3468 Failed to Deploy Instances with multiple VMWARE clusters when DVS is enabled at the Zone level
Fixing cluster level override of zone level specified vSwitch settings.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-29 03:09:09 +05:30
Nitin Mehta faeddc15ff CLOUDSTACK-3659
Implement the download url expiration functionality for volumes
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-28 17:40:26 +05:30
Prasanna Santhanam f83187585e Removing invalid test for accounts
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-28 17:00:30 +05:30
Murali Reddy e3a35e42b8 CLOUDSTACK-3881: deleteZone fails with java.lang.IndexOutOfBoundsException
fixing regression due to commit c236645d9a
2013-07-28 13:01:22 +05:30
Likitha Shetty e6ce4daed8 CLOUDSTACK-1444. Adding ASF license header to the regenerated JAVA files
[Support for EC2 API version 2012-08-15]
2013-07-28 12:19:23 +05:30
Likitha Shetty 844484a858 CLOUDSTACK-1444. Fix EC2 Query API to support latest ec2 api version 2012-08-15 [Support for EC2 API version 2012-08-15]
Signed-off-by: Likitha Shetty <likitha.shetty@citrix.com>
2013-07-28 12:19:20 +05:30
Likitha Shetty b19b549d5a CLOUDSTACK-1444. Fixing cloudstack-aws-api-register to set ec2 api version to the latest. [Support for EC2 API version 2012-08-15]
Signed-off-by: Likitha Shetty <likitha.shetty@citrix.com>
2013-07-28 12:19:20 +05:30
Likitha Shetty a0a5f67a41 CLOUDSTACK-3258. In AWSAPI provide Tags support for resource 'security group'
Signed-off-by: Likitha Shetty <likitha.shetty@citrix.com>
2013-07-28 12:19:19 +05:30
Likitha Shetty 7a0813ebe6 CLOUDSTACK-1444. Updated EC2SoapService and EC2SoapServiceImpl to be compatible with the java stubs generated from EC2 WSDL 2012-08-15.
- by adding stubs for the new EC2 APIs (unsupported by CS AWSAPI)
  - by setting the new EC2 API response elements
  - by adding support for the new EC2 API request elements
[Support for EC2 API version 2012-08-15]
2013-07-28 12:19:19 +05:30
Likitha Shetty 94355f927a CLOUDSTACK-1444. Modified services.xml. [Support for EC2 API version 2012-08-15]
Signed-off-by: Likitha Shetty <likitha.shetty@citrix.com>
2013-07-28 12:19:19 +05:30
Likitha Shetty e7ec6c05c8 CLOUDSTACK-1444. Contains regenerated JAVA stubs and services.xml obtained by generating code from ec2 wsdl 2012-08-15 [Support for EC2 API version 2012-08-15]
Signed-off-by: Likitha Shetty <likitha.shetty@citrix.com>
2013-07-28 12:19:18 +05:30
Likitha Shetty 8939dc6402 CLOUDSTACK-1444. Add 3 awsapi profiles 1. Download ec2 wsdl for 2012-08-15 2. Generate stubs (server and client) from the wsdl 3. Remove the ec2 wsdl [Support for EC2 API version 2012-08-15]
Signed-off-by: Likitha Shetty <likitha.shetty@citrix.com>
2013-07-28 12:16:56 +05:30
Prasanna Santhanam a019f34572 Fix domain deletion in test_project_resources.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-28 11:24:25 +05:30