Commit Graph

6960 Commits

Author SHA1 Message Date
Koushik Das f062fd4fc1 CLOUDSTACK-3493: [storage ref] Attach volume to VM is failing in case of Primary-Localstorage .
Some existing scenarios for root and data volume combination was not working. These are
a. Local root + Shared data
b. Shared root + Local data

Enabled these scenarios as part of this fix

Conflicts:
	server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-25 17:23:21 +05:30
Nitin Mehta 0d862a9247 CLOUDSTACK-3712
Use Vminstance instead of user vm for scaling stopped vms.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-25 14:38:29 +05:30
Harikrishna Patnala 4c81ea69c4 Fix for CLOUDSTACK-2536
Removing memoryovercommitratio and cpuovercommitratio parameters from addCluster and updateCluster APIs,
since these can be configurable using updateConfiguration API at cluster level.
By default while creating cluster these values are taken from global configuration parameters.

Conflicts:
	server/src/com/cloud/resource/ResourceManagerImpl.java
2013-07-25 13:56:59 +05:30
Edison Su bfe30cd2e3 CLOUDSTACK-3681: fix bunch of bugs related to vmware, regarding to snapshot 2013-07-24 15:54:36 -07:00
Bharat Kumar 42346cdf47 Cloudstack-3694 Dnsmasq rewrite in bash
(Sheng: Fix typo, fix log and error message, remove 'set -x' in script)

Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-07-24 13:59:58 -07:00
Likitha Shetty a71810f705 CLOUDSTACK-3735. Domain deletion fails even when the networks within the domain have been destroyed.
When a network is destroyed remove the corresponding network entry from domain_network_ref and account_network_ref table
2013-07-24 20:02:15 +05:30
Saksham Srivastava d89115b5cf CLOUDSTACK-2508: Template usage should report both physical and virtual sizes 2013-07-24 18:20:37 +05:30
Sateesh Chodapuneedi c5131af658 CLOUDSTACK-3758 [Vmware][ZWPS] Failed to create volume from snapshot
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-24 03:57:05 +05:30
Min Chen ae248afc57 CLOUDSTACK-3639:Unable to create template from snapshot when there are
multiple secondary storages in the zone.
2013-07-23 16:55:26 -07:00
Sheng Yang e06f867bdd CLOUDSTACK-3250: Add PvlanSetupCommand into maintenance mode allowed command list
Then the rule in the old host can be cleared.
2013-07-23 15:18:55 -07:00
Min Chen e13959afc3 CLOUDSTACK-3716: State of expunged volumes are not consistent in volumes
table and volume_store_ref.
2013-07-23 14:56:15 -07:00
Alena Prokharchyk 8d1a670026 CLOUDSTACK-3478: fixed volume destroy. #1 - don't call destroy() when the volume is in Expunged/Expunging/Destroy state. #2 - added state transition for Expunged state 2013-07-23 14:40:30 -07:00
Alena Prokharchyk 682652865e CLOUDSTACK-3733: fixed migrateVm - no need to cast vm to user vm to retrieve the iso information. Extract iso information from VirtualMachineProfile object passed to the method. 2013-07-23 10:56:39 -07:00
Sanjay Tripathi e2e3b9a288 CLOUDSTACK-3727: Resource Count calculation happens for deleted accounts on restart of managment server.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a7084b2dac)
2013-07-23 20:25:41 +05:30
Likitha Shetty 79209c1330 CLOUDSTACK-3526. When volume upload is in progress the state of the volume is UploadError.
Update volume_view to join volumes table with volume_store_ref table instead of volume_host_ref table.
2013-07-23 18:41:20 +05:30
Saksham Srivastava e2f2bc5f0b CLOUDSTACK-3382. Alert should be raised if a vm is migrated from dedicated to non-dedicated resource and vice versa.
Alerts are generated for VM migration between:
1) Source host is dedicated and destination host is not.
2) Source host is not dedicated and destination host is dedicated.
3) Both hosts are dedicated to different accounts/domains
2013-07-23 13:22:44 +05:30
Anthony Xu 5d9fa5d42e throw exception if stopping VM fails, then UI can show the error message in stead of fails silently 2013-07-22 16:17:41 -07:00
Min Chen 9f9f7d3ffd Remove CLOUDSTACK-3513 debugging messages. 2013-07-22 16:15:45 -07:00
Min Chen 5ccfc9df5a CLOUDSTACK-3513:[Automation] Failed to copy iso and template between
zones. Failed to pass generated copy url to DownloadCommand.
2013-07-22 16:15:45 -07:00
Anthony Xu bdac0f8ebc in one zone, Admin should not be allowed to add a Shared Network with a subnet that is already associated with another Vlan. 2013-07-22 14:23:11 -07:00
Alena Prokharchyk f328c7b1aa CLOUDSTACK-3711: return descriptive error message to the regular user when his resource limit has exceed. No harm in returning this info as the user aware of the resource limits/number of resources available for allocation, for his account 2013-07-22 10:25:39 -07:00
Nitin Mehta c09d76077e CLOUDSTACK-3510
Persist the download url in the db for volume download.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-22 17:57:57 +05:30
Sheng Yang 3de4390395 Revert "CLOUDSTACK-3357: dnsmasq on vpc-routervm"
This reverts commit f99d599930.

Due to it break vpc function and block regression test.

Conflicts:
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
	server/test/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImplTest.java
2013-07-21 22:21:17 -07:00
Min Chen ce6a5d7183 CLOUDSTACK-3274: API Refactoring: secretkey and accesskey of the backing
store is found in plaintext in the logs.
2013-07-20 17:30:53 -07:00
Min Chen 2bbf63bc7a CLOUDSTACK-3513: ListIsos/ListTemplates does not return correct results
when id and zoneid are passed.
2013-07-20 15:16:49 -07:00
Harikrishna Patnala f604e3d9cc CLOUDSTACK-3365: cluster level parameters cluster.(cpu/memory).allocated.capacity.notificationthreshold is not considering overcommit value 2013-07-20 17:03:05 +05:30
Edison Su e659328ff5 fix create template from snapshot if it's swift 2013-07-19 18:18:02 -07:00
frank a5ee39a54a CLOUDSTACK-3453
UCS:API: List Blades after decommissioning a blade, listUcsBlades API returns wrong number of total blades

fixed resolved
2013-07-19 16:15:46 -07:00
Fang Wang 2b254186b2 CLOUDSTACK-732 Add disk snapshot for KVM 6.3, add the flag in CS.
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-19 13:22:26 -07:00
Alena Prokharchyk 242f46118b InternalLb: fixed creation for default network offering with internal lb support - public lb support should be disbaled on it
Conflicts:
	engine/schema/src/com/cloud/offerings/NetworkOfferingVO.java
2013-07-19 13:20:46 -07:00
Murali Reddy 2b82c3e1db CLOUDSTACK-3642: [Usage][PortableIP] CS is not generating usage events
for portable IPs

generating usage events for acquire/release of portable IP
2013-07-19 18:42:52 +05:30
Murali Reddy 75af53be6f CLOUDSTACK-3640: [Usage][GSLB] usage events are not generated for GSLB
geneating usage events for create/delete of GSLB rule
2013-07-19 18:29:05 +05:30
Sanjay Tripathi a98c0f5b89 CLOUDSTACK-3496: [Regression]Primary Storage resource usage is not getting updated if detached volume is deleted 2013-07-19 16:19:41 +05:30
Sanjay Tripathi 5de96db81d CLOUDSTACK-3492: [Regression]Update Resource Count for an account is updating the primary storage incorretly.
The issue is that while calculating the used primary storage size, the updateResourceCount
API is also calculating the disk size of virtual router VM, created for that account and
because of this, the API is returning the incorrect result.
2013-07-19 16:19:23 +05:30
Harikrishna Patnala 12c711cef7 CLOUDSTACK-3358: create template from a volume/snapshot should also take input from User/Admin whether xstools / vmware tools installed in the VM
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-19 11:54:36 +05:30
Mike Tutkowski 8f1799b71f Changes related to Review Board comments 2013-07-18 19:46:42 -06:00
Min Chen c236645d9a CLOUDSTACK-3498:[Object_Store_Refactor] Deleting and adding back the
zone does not create NFS Cache store and Failure in Sytem VMs Start Up
2013-07-18 16:28:56 -07:00
Min Chen 251efff69c CLOUDSTACK-3513: add debug message to diagnose copyIso issue on
automation setup where DownloadCommand is never sent.
2013-07-18 16:01:55 -07:00
Prachi Damle 3fc43cf281 CLOUDSTACK-3451 Parallel deployment - Xenserver - When deploying 30 Vms in parallel, some of the Vm deployment fails when “applying dhcp entry/applying userdata and password entry on router” and retry eventually happens when they succeed.
Changes:
- Passing the avoid set generated by the first pass of deployment to the second try.
- The second try is done, when the first pass that uses a reserved plan fails to deploy on the reserved host, to search over the entire zone again
2013-07-18 15:57:13 -07:00
Min Chen 9a1cd1ac53 ListIsos only shows cross-zone ISO in one zone. 2013-07-18 10:55:02 -07:00
Prasanna Santhanam fbf38a35d2 CLOUDSTACK-3633: AffinityGroupResponse does not include uuid
The uuid->id of the affinity group created is not included as part of
the response. Included the uuid.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 18:13:58 +05:30
Sanjay Tripathi c9548e3788 CLOUDSTACK-3376: NPE: resource count calculation from the account manager on account cleanup
This issue is happing because of the steps the code follow to cleanup the account.
The cleanupAccount was deleting the entries from the resource_limit and
resource_count table and performing further cleaning afterwards. Ideally, deletion
of entries from resourceLimit and resourceCount should be the last step in
cleanupAccount process.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 21b1c9449a)
2013-07-18 15:08:44 +05:30
Harikrishna Patnala f1a6de5eed CLOUDSTACK-3551: scaling up VM to service offering with 2gbram
Fixed the type overflow of Ram value.
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-18 11:42:03 +05:30
Min Chen c443115a48 CLOUDSTACK-3513: [Automation] Failed to copy iso and template between
zones.
2013-07-17 17:24:23 -07:00
Saksham Srivastava 1933960dda CLOUDSTACK-3476:deleteDomain api should fail when release dedicated resource to that domain fails 2013-07-17 11:18:24 -07:00
Bharat Kumar 779bfd460b Fixed the conditon which checks for the provider's capabilty and reapply ipaliases on virtual router restart.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 17:31:34 +05:30
Bharat Kumar 956a2a68ce Incorportaed the review changes Now dhcpservice IPs are removed when last vm from the subnet is removed.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 16:53:11 +05:30
Bharat Kumar 4fdb177bb6 Cloudstack-2150 DB table entries of phisical network is not proper.Shows Duplicate entries Cloudstack-2980 Adding a VLAN range that overlaps with two existing ranges results in inconsistent DB entries
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 15:10:52 +05:30
Bharat Kumar 664d479f8f Cloudstack-3313 Cannot deploy vm in ipv6 network
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 10:07:57 +05:30
Sheng Yang 882982605a CLOUDSTACK-494: Loose the limition of same ip used by site-to-site vpn
Different account can have same remote side IP now. Of course the remote side need
to identify them and configured properly to handle it.
2013-07-16 17:16:58 -07:00