Commit Graph

19621 Commits

Author SHA1 Message Date
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
Prasanna Santhanam 908df7aabd Fix simulator and marvin
- Remove additional parantheses in marvin VirtualMachine.create(
- Implement createEntityExtractUrl command for simulator

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-28 10:20:16 +05:30
Min Chen d6faf7b586 CLOUDSTACK-3861: Remove s3.enable and swift.enable from global setting. 2013-07-27 21:48:54 -07:00
Prachi Damle bfd32ca8ff CLOUDSTACK-3814 Duplicate entry for CPU, Public ip address in dashboard
Changes:
- ListCapacity API was searching the capacities per zone, pod and cluster causing duplicates to end up in th result.
- Instead we should group by zone if zone and pod both are null. Group by pod if zone is provided but no pod. Or group by cluster when zone and pod both are provided.
2013-07-27 15:53:20 -07:00
Sateesh Chodapuneedi 9b7bee0e85 CLOUDSTACK-3879 [VMware] NPE while attempting to create template from volume
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-27 16:59:26 +05:30
Sateesh Chodapuneedi b0e8c83ec9 Merge branch '4.2' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.2 2013-07-27 16:57:37 +05:30
Prasanna Santhanam 93f79e1a15 CLOUDSTACK-2882: We are mounting an ISO not a volume
So fdisk -l doesn't list the mounted iso. Instead use showmount -e to
find the mounted device.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 21:51:53 +05:30
Harikrishna Patnala b21de4006a CLOUDSTACK-3703: change service offering of stopped vm on 2013-07-27 19:57:59 +05:30
Prasanna Santhanam b39d302888 CLOUDSTACK-2882: Additional device types for IDE/SCSI
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 19:47:02 +05:30
Murali Reddy a851ad2430 CLOUDSTACK-3834: 3.0.6 to ASF 4.2 Upgrade: "cloud" Database Schema
Inconsistencies on the Upgraded Setup - Table "netscaler_pod_ref"

adding netscaler_pod_ref table 3.0.7 to 4.1 upgrade path
2013-07-27 17:18:04 +05:30
Abhinandan Prateek 3efae4b476 CLOUDSTACK-3480: updated md5 checksum 2013-07-27 17:08:55 +05:30
Sateesh Chodapuneedi 2aa2f47519 COUDSTACK-3053 Template creation from snapshot is failing on VMware setup
Fixed snapshot vmdk file path while copying snapshot files to template path.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-27 16:54:49 +05:30
Saksham Srivastava 6403bb339d CLOUDSTACK-3874: Adding method to cloud-early-config to allow updation of systemvms log rotation
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-27 15:40:57 +05:30
Sanjay Tripathi 65e12e1dad CLOUDSTACK-3544: Patch to support upgrade to Xenserver 6.2
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-27 15:35:14 +05:30