Commit Graph

8259 Commits

Author SHA1 Message Date
amoghvk f8fe4c8795 CLOUDSTACK-6915: Include searching deleted OS entries
(cherry picked from commit de04881da1)
2014-06-17 08:22:27 +02:00
Santhosh Edukulla 87c3d77518 Fixed coverity issues
(cherry picked from commit 4ba3aae2ea)
2014-06-12 14:44:26 +02:00
Jayapal 80d8cef240 CLOUDSTACK-6899: Added vmId in listnics response
(cherry picked from commit e9f60ee292)
2014-06-12 14:18:42 +02:00
Santhosh Edukulla ce334b4ee5 CLOUDSTACK-6791 Fixed the issue
(cherry picked from commit 62cc238e12)
2014-06-12 13:43:44 +02:00
Saksham Srivastava 40d3503760 CLOUDSTACK-6812: Do not allow edit of storage.overprovision.factor for non supported types
(cherry picked from commit f14f36170e)
2014-06-12 12:25:55 +02:00
Saksham Srivastava 9771e79b1b CLOUDSTACK-6654: Configkey parameters are not validated
(cherry picked from commit 5bcd017de6)
2014-06-12 12:25:14 +02:00
Saksham Srivastava 23b7993d58 CLOUDSTACK-6864: UploadSSlCert API requires double encoding of URL params
(cherry picked from commit c5ee5ad5c8)
2014-06-12 12:23:52 +02:00
Nitin Mehta a1ab3364f4 CLOUDSTACK-6895: 1. Populate firstclass entities as uuids in the context instead of dbids for performance.
2. Add ctxDetails in the ParamGenericValidationWorker to avoid warning for api validation
3. Add some missing events.
4. Correcting mapping for ResourceObjectType.NetworkACL and ResourceObjectType.NetworkACLItem

(cherry picked from commit 8a9092c3cd)

Conflicts:
	api/src/com/cloud/event/EventTypes.java
	api/src/org/apache/cloudstack/api/BaseCmd.java
2014-06-12 12:18:12 +02:00
Harikrishna Patnala 0667f678b8 CLOUDSTACK-6869: SSH Public key content is overridden by template's meta data when you create a instance
(cherry picked from commit aa75b43885)
2014-06-11 16:10:49 +02:00
Olivier Lemasle c934e7b052 CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit a1f278e9d4)
2014-06-10 13:39:43 +02:00
sedukull 6c0b43431f CLOUDSTACK-6793: Fixed an invalid Domain Id Issue
Signed-off-by: sedukull <santhosh.edukulla@gmail.com>
(cherry picked from commit 91d054cb00)
2014-06-06 15:54:45 +02:00
Alena Prokharchyk 0b08d5319c Fixed unittest
(cherry picked from commit 96bfa8a73f)
2014-06-06 13:43:56 +02:00
Koushik Das 5fe7eb3357 CLOUDSTACK-6843: [Automation] List listServiceOfferings api fails with NPE
Incorrect parameter name used in query building resulted in a bad sql query.

(cherry picked from commit 025c143ac7)
2014-06-05 15:51:39 +02:00
Rajesh Battala 1f7d2ee091 CLOUDSTACK-6833 [Hyper-V] Volume snapshot creation returns success even though snapshots are not supported for Hyper-V
(cherry picked from commit 945e879bf2)
2014-06-05 12:21:14 +02:00
Edison Su 3f0dcc76ae CLOUDSTACK-5505: if vpc public network with snat enabled, then will triger this issue
(cherry picked from commit 5e80e5d33d)
2014-06-04 09:26:25 +02:00
Nitin Mehta 9286417f05 CLOUDSTACK-6599:
1. Adding the missing Template/Volume URLs expiration functionality
2. Improvement - While deleting the volume during expiration use rm -rf as vmware now contains directoy
3. Improvement - Use standard Answer so that the error gets logged in case deletion of expiration link didnt work fine.
4. Improvement - In case of domain change, expire the old urls

(cherry picked from commit 48ea9e0b5e)
2014-06-03 10:02:06 +02:00
Hiroki Ohashi 58d4a2400a Allow usaage reporting on removed service offering 2014-05-29 19:13:39 +02:00
Rajani Karuturi df42ce903d Fixed CLOUDSTACK-6756: usage id is not being returned for an ip in deleted ip range 2014-05-27 10:37:55 +02:00
Daan Hoogland 6f2ee6daac CLOUDSTACK-6485 prevent ipaddress asignment of gateway to gateway-interface on vpc router 2014-05-24 19:45:18 +02:00
Min Chen f002e4d161 CLOUDSTACK-6752: IAM command class separation caused ApiDoc warning of
duplicated cmd class for the same api name.
2014-05-23 10:10:12 +02:00
Amogh Vasekar b0b71e59e9 CLOUDSTACK-6671: Fixing NPE when a mapping is missing
Adding missing KVM mappings

Testing Done:
Local testing with removing CentOS mapping and launch a VM.

Signed-off-by: Nitin Mehta <nitin.mehta@citrix.com>
2014-05-22 20:38:57 +02:00
Min Chen c169ed1f3e CLOUDSTACK-6742: listVolumes - As regularuser , able to list Vms and
volumes of other users.
2014-05-22 10:17:15 +02:00
Min Chen 6ba541afb7 Disable IAM feature from 4.4 release.
Conflicts:
	test/integration/smoke/test_vm_iam.py
2014-05-21 13:49:11 +02:00
Murali Reddy 019ac691f0 CLOUDSTACK-6721: VolumeApiServiceImpl is sending wrong type for
updateAsyncJobAttachment

fix sends 'Volume' instead of 'volume'
2014-05-20 14:26:13 +02:00
Murali Reddy 5b525aadf3 CLOUDSTACK-6712: NPE in findJobInstanceUuid() in ApiDBUtils 2014-05-20 10:20:20 +02:00
Murali Reddy 840938504b CLOUDSTACK-6672: [Automation] NPE observed while listing system vms
fixing NPE
2014-05-19 11:04:57 +02:00
Jayapal adcc21ef3b Fixed vpc private gateway backend issues 2014-05-15 20:09:26 +02:00
Sanjay Tripathi da97f3f6e5 CLOUDSTACK-6678: API:MS: listCapacity returns; errorcode":530,"cserrorcode":9999,"errortext":"Index: 0, Size: 0"}. 2014-05-15 11:13:08 +02:00
Nitin Mehta e796d885f3 CLOUDSTACK-6660: Dont assume every vm will have a root volume now. 2014-05-15 08:46:30 +02:00
Sanjay Tripathi 13ba59c5f0 CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 13:52:46 +02:00
Amogh Vasekar a7bf66b9f0 This patch disallows deleting / modifying system defined guest OS mappings
Local env
1. Create user defined mapping
2. Delete / modify user defined mapping. Should pass
3. Delete / modify system defined mapping. Should fail

Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 22:55:14 +02:00
Min Chen aa2bbd455f CLOUDSTACK-6628:[Automation] Create PF rulw API failing with error
"database id can only provided by VO objects".
2014-05-13 11:34:55 +02:00
Min Chen e865cf8d2b CLOUDSTACK-6613:IAM: authorizeSecurityGroupIngress fails when SG Name is
passed.
2014-05-13 11:20:27 +02:00
Min Chen 7ea168e917 CLOUDSTACK-6598:IAM - listAccount() retrurns "Caller cannot be passed as
NULL to IAM!" when domain deletion is in progress.
2014-05-13 11:19:54 +02:00
Devdeep Singh f0dcf474f2 CLOUDSTACK-6510: Fix gson serialization exception in storage migration. Gson couldn't serialize
a map with volume and storagepool objects for logging. Fixed by using volume and storage pool
ids instead of objects in the map.
2014-05-13 10:51:42 +02:00
Sheng Yang ed7bd0022e CLOUDSTACK-5501: Allow one vpn customer gateway with multiple connections
This restriction was purposely avoid confusion of VPN setup, but later found too
strictly and cause troubles for deployment. Removed after testing one customer
gateway with multiple connections.
2014-05-13 10:36:50 +02:00
Amogh Vasekar 02bd3d0671 CLOUDSTACK-6358: As a part of supporting dynamic guest OS defined by user, removing the hard-coded dependencies.
This patch is for KVM

1. Local testing on KVM
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Snapshots are not supported for KVM

 Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 10:33:15 +02:00
Nitin Mehta 5ead629ce7 CLOUDSTACK-6633: listVolumes should return template/iso info for root volumes 2014-05-12 09:44:12 +02:00
Murali Reddy 0ba00ec24d CLOUDSTACK-6608:OVS distributed firewall: default ACL rule is not
getting applied when a tier in VPC is created.

fix ensures, VpcRoutingPolicyUpdate is send when network rules are
programmed when network tier in VPC is created
2014-05-12 09:40:36 +02:00
santhosh 32124df53c Added fix for CLOUDSTACK-6548
Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-09 17:07:36 +02:00
Daan Hoogland 703e9f6f46 Revert "CLOUDSTACK-3272 Fixing NullPointerException for alerts"
This reverts commit 882bf079fa.
2014-05-09 13:24:32 +02:00
Murali Reddy 645f165429 CLOUDSTACK-6593: Connectivity service capabilites should be matched with
the provider only if at least one capability is specified

Fix avoids the check, and only if the createNetworkOffering
'StrechedL2'Subnet' capability is specified then it should match against
'Connectivity' service provider
2014-05-09 12:10:12 +02:00
Alena Prokharchyk d9b4b87c5c CLOUDSTACK-6601: added "forDisplay" parameter to listLoadBalancerRules API 2014-05-09 10:17:57 +02:00
Daan Hoogland 9450205f77 Revert "CLOUDSTACK-6485: private gateway network should not be associated with vpc"
This reverts commit 90600f1bdf.
2014-05-08 11:32:20 +02:00
sonal.ojha 882bf079fa CLOUDSTACK-3272 Fixing NullPointerException for alerts
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-08 11:13:05 +02:00
Alena Prokharchyk a3825f126f CLOUDSTACK-6596: UUID and display flag update support for LBStickinessPolicy and LBHealthCheckPolicy 2014-05-08 09:48:27 +02:00
Alena Prokharchyk 4c9bf8a70f CLOUDSTACK-6595: call expunge method marked with @ActionEvent from expunge thread context. So the action even EXPUNGE.VM is generated when vm is expunged by the thread. 2014-05-07 23:14:04 +02:00
Prachi Damle 95efad359e CLOUDSTACK-6581: IAM - Shared Network -Root Admin user is allowed to deploy VM in a shared network that is scoped for a specific domain/account.
Changes:
- Strict access check in NetworkModel is needed as CS 4.3
- We cannot go through accountMgr since accountMgr is relaxed for rootAdmin
2014-05-07 09:21:30 +02:00
Alena Prokharchyk 8985b8badc CLOUDSTACK-6585: added missing metadata support for LBStickiness/LBHealthcheck policies 2014-05-07 09:20:16 +02:00
Kelven Yang 60ad928ce7 CLOUDSTACK-6586: Move EventBus hookup on job framework to ApiServer to decouple job framework away from business logic related hookups. The decoupling is done through internal messaging facility provided inside management server. 2014-05-07 09:17:32 +02:00