Commit Graph

7237 Commits

Author SHA1 Message Date
Harikrishna Patnala 97b8f123a0 CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm;Zone host is ready, but secondary storage vm template: 3 is not ready on secondary storage: 2
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-12 08:19:37 +05:30
Murali Reddy ba22daa5c9 CLOUDSTACK-4206: [EIP/ELB] Failed to disableStaticNAT when the userVM is
in destroyed state.

ignore VM state when system is enabling static NAT on the system IP to
VM in EIP enable network
2013-08-12 04:46:29 +05:30
Mike Tutkowski 8f503c7ff6 CLOUDSTACK-4227 2013-08-10 17:03:35 -06:00
Prachi Damle 941c12dcd7 CLOUDSTACK-4234 Dedicated Resources: When multiple dedication groups are chosen for VM deployment, dedicated resources belonging to both groups should be considered
- Override the equals method
2013-08-10 12:14:12 -07:00
Prachi Damle b0947c9572 CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group
Changes:
- Adding mocks in unit tests for new injected components
2013-08-10 11:03:03 -07:00
Prachi Damle fac54d2334 CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group
Changes:
- Implict creation of the 'ExplicitDedication' Affinity group during resource dedication
- Only one group per account or per domain will be present
- ListDedicatedResources by affinityGroup
- Deployment should consider dedicated resources associated to the group only
- Deleting affinity group should release the dedicated resouces
- Releasing the dedicated resources should remove the group associated if there are no more resources.
2013-08-10 11:02:57 -07:00
Prachi Damle b965032b57 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:
- 'ExcplicitDedication' type of group can be created/deleted by Root admin only
- Users can no longer create this type of affinity group
- RootAdmin can create this type of affinitygroup at domain level. Such a domain level group is available for all accounts in that domain for listing and for use during deployVM.
- The domain level affinitygroup should be visible to the users in that domain, domain admins and Root admin.
2013-08-10 11:02:42 -07:00
Harikrishna Patnala 48c8e64ae9 CLOUDSTACK-4123: 3.0.6 to ASF 4.2 Upgrade: On Adding VMWare Cluster to the Setup, 3.0.6 System VM Template for VMWare is downloaded instead of 4.2
Updating the new system template URLs for the existing templates during upgrade to 4.2.
If new 4.2 system template is registered before upgrade then marking the old templates as removed during upgrade.
2013-08-10 17:43:53 +05:30
Anthony Xu e547b9f4cc CLOUDSTACK-4210
delete templateVO entry when there is no image store having this template
2013-08-09 12:02:17 -07:00
Likitha Shetty 92f578df7d CLOUDSTACK-3786. Snapshots removed field is not set after successful deletion of the snapshot.
Set the removed field for snapshot when the storage gc removes the snapshot
2013-08-09 18:23:35 +05:30
Koushik Das 21c74c6453 CLOUDSTACK-4179: [Performance Testing] Time taken for Deploy VM async job to complete is considerably higher
The time increased due to the newly added dedicated resources feature. During regular VM deployment, all dedicated resources are put in avoid list so that they are not considered for deployment.
Now the way to compute the list of dedicated resources is not optimal and performance deteriorates in an environment having lot of pods, clusters and hosts as the logic is to query db. for each suc resource.

The fix is to optimize the logic not to loop through all resources but get the list of each resource type in a single query.
2013-08-09 16:03:17 +05:30
Devdeep Singh 653e2e54a2 CLOUDSTACK-2670. Migrate volume doesn't allow migration of volumes of a stopped vm.
The findStoragePoolsForMigration and migrateVolume api were explicitly blocking moving
a volume if the instance to which it was attached was stopped. Updated the check for
the same.
2013-08-09 12:18:38 +05:30
Min Chen 848abfd384 CLOUDSTACK-4190: Add endpoint selector implementation for ImageCache
data store and also delete object from staging area for volume copy from
primary to secondary or vice versa.
2013-08-08 16:08:50 -07:00
Alena Prokharchyk cf62be6571 CLOUDSTACK-4141: resizeVolume - read the result of AsyncCallFuture execution. If false, return null to the API caller 2013-08-08 14:01:11 -07:00
Edison Su 784a9d45d0 CLOUDSTACK-4106: fix volume related operations on vmware&s3 2013-08-08 12:34:54 -07:00
Alena Prokharchyk 6999fca4d7 CLOUDSTACK-4193: don't let privateGateway to be created with NULL networkId 2013-08-08 10:49:25 -07:00
Min Chen 420b4ab402 CLOUDSTACK-1405:ZWPS: listStoragePool API doesn't accept scope parameter
.
2013-08-08 10:08:07 -07:00
Likitha Shetty be5d076964 CLOUDSTACK-4186. Signature computed while accessing VM's console is not aligned with how signature is computed for other APIs 2013-08-08 16:17:51 +05:30
Likitha Shetty 815d51e581 CLOUDSTACK-4153. Guest vlan dedication is not working as expected in case of multiple physical networks. 2013-08-08 10:53:01 +05:30
Edison Su 6766c01fc6 CLOUDSTACK-3535: still maintain stop agent wont trigger HA 2013-08-07 14:42:04 -07:00
Bharat Kumar c498d2d786 CLOUDSTACK-4083 if a failure occurs while adding VM to another network (this should be the first vm in the subnet). The ip alias created as a part of this process is not removed.
(Sheng: remove the unnecessary import, remove blank line, upper case the bug id)

Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-07 13:52:33 -07:00
Kelven Yang 059e4b2ae0 CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/ 2013-08-07 10:29:18 -07:00
Saksham Srivastava a3ba198e5a CLOUDSTACK-4104: VM Creation should fail if a zone is dedicated to a domain and user of the same domain deploys vm without using affinity group "Explicit Dedication". 2013-08-07 16:58:51 +05:30
Likitha Shetty 74293f77e0 CLOUDSTACK-4025. NPE observed during VM start.
NPE was hit during VM start because the network it was to be deployed in didn't get implemented - Handling this failure.
2013-08-07 13:24:50 +05:30
Edison Su 33d06d25b8 CLOUDSTACK-3535: add kvminvestigator to investirage kvm host 2013-08-06 18:50:33 -07:00
Sateesh Chodapuneedi 38a3da8974 CLOUDSTACK-4047 [sM][VMWare][ZWPS]: no need of storage migration while migrating VM when the root volume is on zone wide primary storage
Introduced check for zone wide pools while listing hosts for migration.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 01:06:38 +05:30
Wido den Hollander 9e1c0ddaec config: Fix a typo in the configuration option
Conflicts:

	server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2013-08-06 15:31:12 +02:00
Bharat Kumar 5dcded229f Cloudstack-4015 No error logged when deleteing all the valns when there are allocateed vnets. Alos not updating the vnet range in physicalnetworks table in the above case.
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-06 17:29:07 +05:30
Murali Reddy 86e4d6f80c CLOUDSTACK-4013: [PortableIP] [MultiplePhysicalNetworks] Associate
portable IP is trying to insert network id as physical network id

ensuring network id, physical network id, source network id are properly
set for portable ip in user_ip_address and vlan tables
2013-08-06 17:15:50 +05:30
Jayapal ff7527fc87 CLOUDSTACK-4084 Fixed the static nat vm ip address in public ip address table in external network gc
In external network after network GC the network n/w cidr changes.
In this case the static nat enable vm ip also chagnes. So updated the new
vm ip address in user_ip_address table.
2013-08-06 16:34:33 +05:30
Likitha Shetty fd7b9c44bc CLOUDSTACK-4038. State of the DATA volumes remains in Allocated state if they are deleted before using them.
If a volume is in Allocated state i.e. not present in primary or secondary mark the volume as removed.
2013-08-06 16:00:48 +05:30
Murali Reddy 8447b66b38 CLOUDSTACK-2955: [PortableIPrange deletePortableIpRange fails because of
UI firing an incorrect API

adding 'portableiprange' tag to the job result of
CreatePortableIpRangeCmd api job response
2013-08-06 15:59:22 +05:30
Prasanna Santhanam 3a41c53bd3 CLOUDSTACK-4064: Missed renaming the config for KVM snapshots
KVM.snapshot.enabled is lowercased by f025db95 to keep the configs
uniformly lower-case. But it missed the upgrade script and the
references in SnapshotManagerImpl. This commit will fix the issue in all
locations

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 10:39:26 +05:30
Murali Reddy c83fd94d26 CLOUDSTACK-4037: [GSLB] removeFromGSLBRule is not cleaning the
cloudsite1 infro from the second site NetScaler device

ensuring when a site no longer participates in GSLB, complete GSLB
config for that rule is wiped out on the GSLB provider for that site
2013-08-06 05:55:32 +05:30
Alena Prokharchyk 8813e5f790 CLOUDSTACK-4080: don't GC the network when it has vms in Starting state even when the nics are not allocated for them yet (can happen when vm is being created) 2013-08-05 14:14:44 -07:00
Daan Hoogland ff803f4131 fix warnings in NetworkServiceImpl: removed unused code and add cases to switches
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-05 11:33:50 -07:00
Alena Prokharchyk fda366f8d6 CLOUDSTACK-4087: updateTemplatePermissions - derive domainId from the template owner, not from the operation caller 2013-08-05 10:22:00 -07:00
Wido den Hollander f025db9582 config: Only user low-case names for variables 2013-08-05 17:38:24 +02:00
Sanjay Tripathi e0c6073a80 CLOUDSTACK-4075: User unable to archive events 2013-08-05 19:47:36 +05:30
Harikrishna Patnala 40e7502bcb CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm CLOUDSTACK-3631: Enhance System vm deployment retry mechanism
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-08-05 18:21:23 +05:30
Nitin Mehta ddf91226ea CLOUDSTACK-3913
Private templates would now get copied to only one of image  storage chosen randamly as was the case earlier. Dont throw an exception for uploading volumes when there are multiple image stores, instead choose one of them randomly
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-05 17:32:21 +05:30
Min Chen a4e256b311 CLOUDSTACK-4040: [Object_store_refactor] System VMs are not spinning up
if S3 storage configuration is not part of zone creation wizard.
2013-08-02 17:59:24 -07:00
Min Chen 13d44fd7a6 CLOUDSTACK-3861 and CLOUDSTACK-3862: Deprecate old S3/Swift classes. 2013-08-02 16:05:53 -07:00
Alena Prokharchyk 8fe4c240bf CLOUDSTACK-4023: lock the network during the shutdownNetwork (just the way we do when implement network) 2013-08-02 13:15:07 -07:00
Alena Prokharchyk ed08f0f551 CLOUDSTACK-4022: listProjects - do searchIncludingRemoved when getting info of corresponding projectAccount because when the project is being removed, its account is marked as Removed first, but we might still want to retrieve its info 2013-08-02 09:04:05 -07:00
Bharat Kumar 0951739e32 fix to add the the overcommit details of the vms in uservm details table when decreasing the overcommit to one.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-02 19:17:51 +05:30
Kishan Kavala aead26f769 CLOUDSTACK-4005: Do not allow snapshot on zone wide primary storage when KVM.snapshot.enabled is set to false 2013-08-02 18:08:30 +05:30
Bharat Kumar 60585b5181 [PATCH] upgrade to ASF 4.2 cloud Database Schema Inconsistencies 2013-08-02 17:22:31 +05:30
Kishan Kavala 7eb20b8500 CLOUDSTACK-4032: Added KVM.snapshot.enabled config to 41to42 upgrade 2013-08-02 11:58:48 +05:30
Fang Wang 1294a13f43 CLOUDSTACK-3759 [Automation] Failed to attach volume to VM, while vm are in stopped state Fix the null pointer.
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-01 17:45:37 -07:00