Commit Graph

7420 Commits

Author SHA1 Message Date
Prachi Damle 7ba48e7c65 CS-18506: stopped vm cant start after disable threshold has been reached
Changes:
- Do not do the stoarge capacity check for a VM having READY Volumes that are already present on the storagepool.
2013-11-11 18:00:18 -08:00
Edison Su 53eb469901 CLOUDSTACK-4907: handle create snapshot, when primary storage is not in up state 2013-11-11 13:08:25 -08:00
Likitha Shetty 42941b3376 CLOUDSTACK-5122. System VMs are getting recreated with old template after upgrading to 4.2.
In VMware during VM start the existing disk information is used to configure the VMs. So even if a new disk is created using the new template VM continues to use the old disk.
Once the old root disk is marked for destroy force expunge it and sync the new disk into the VM folder before VM start
2013-11-10 23:05:37 +05:30
Frank.Zhang 88047a458b CLOUDSTACK-5112
[Baremetal]Make IPMI retry times configurable
2013-11-08 13:45:28 -08:00
Harikrishna Patnala 27ea9274bd Template/ISO download fails cause the object to disappear from UI
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-11-08 17:51:35 +05:30
Prachi Damle 4e632afd55 CLOUDSTACK-4755: cloudstack 4.x does not allow memory upgrade
Changes:
- Set total capacity of a host if it has changed in the CapacityChecker thread
- Fix bug while setting the reserved/used cpu/mem capacity - only one of them used to get set
2013-11-07 15:23:14 -08:00
Wei Zhou de448ec479 CLOUDSTACK-5042: change cloud.keystore to cloudmanagementserver.keystore and install it 2013-11-07 11:09:06 +01:00
Wei Zhou 0227e0013a remove network limitation of nics on systemvms 2013-11-07 11:07:48 +01:00
Wei Zhou 09e7ab9750 CLOUDSTACK-5042: fix NPE error as BroadcastUri is NULL in shared network after upgrade from 2.2.14 2013-11-07 11:07:24 +01:00
Sateesh Chodapuneedi 2210f1b0e4 CLOUDSTACK-5061 - Cloudstack doesn't consider storage overprovisioning factor when using thin Provisioning over VMWare VMFS datastores
Fix is use the storage overprovisioning factor (global configuration parameter "storage.overprovisioning.factor") to calculate total provisioning capacity for storage space allocation over VMFS based storage pools as well.
There are two level of thin provisioning provided in VMware, storage level and file-level (VMDK) thin provisioning. in CloudStack, all volumes are provisioned with thin VMDK format, so at hypervisor level, we ALWAYS do thin provisioning. If storage vendor has the ability to provide storage level thin provisioning in addition to VMDK thin provisioning, it is also allowed since it is transparent to Cloudstack.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-11-06 17:37:22 +05:30
Likitha Shetty 9a8dddac2f Revert "CLOUDSTACK-3715. Socket timeout error is observed in VMware setup if a VMware task (RelocateVM_Task, CloneVM_Task etc.) takes more than 10 minutes. Making this value configurable to allow admins to modify the timeout if required. It defaults to the current value i.e. 10 minutes."
This reverts commit 0a1012817a.
2013-11-06 20:05:14 +05:30
Likitha Shetty 0a1012817a CLOUDSTACK-3715. Socket timeout error is observed in VMware setup if a VMware task (RelocateVM_Task, CloneVM_Task etc.) takes more than 10 minutes. Making this value configurable to allow admins to modify the timeout if required. It defaults to the current value i.e. 10 minutes. 2013-11-05 15:56:28 +05:30
David Grizzanti d6420cd91e CLOUDSTACK-5023: Deleting Port Forwarding Rule fails when generating usage events are enabled 2013-11-03 20:43:13 +01:00
Wei Zhou 743eed8771 CLOUDSTACK-4987: only shared network and isolated network with same account can be assigned to a VM 2013-10-31 11:27:56 +01:00
Wei Zhou 0d12e3eb9d CLOUDSTACK-4830: allow create account and user by domain admin 2013-10-30 15:11:59 +01:00
Alena Prokharchyk e5c0de6a2d CLOUDSTACK-4988: when listTemplates call is executed by regular user, but templateFilter=community is passed in, return public templates of subdomains 2013-10-29 10:30:30 -07:00
Likitha Shetty 375a59d2f7 NPE while deleting old root volumes of a restored VM during storage garbage collection 2013-10-29 11:12:51 +05:30
Frank.Zhang 16a51ee479 CLOUDSTACK-4674
[baremetal] /usr/share/cloudstack-common/scripts/util/ipmi.py script
need to recognize various ipmi version and BMC type of server
2013-10-28 14:48:01 -07:00
Prachi Damle 572c81f589 CLOUDSTACK-4948: DeploymentPlanner: Logic to check if cluster can be avoided, needs to consider if VM is using local storage and/or shared storage
Changes:
- Consider if VM requires the local storage or shared storage or both for its disks.
- Accordingly all pools in the cluster should consider local or shared or both pools
2013-10-25 15:38:26 -07:00
Sanjay Tripathi d188534f3d CLOUDSTACK-4612: Specified locale keyboard language is not showing as default in consoleView passed during deployVM.
While deploying a VM, user passes the "keyboard" parameter to specify the
default language for that VM but in the consoleView, the default language
selected is en-us irrespective of the default language of the VM.
2013-10-25 17:17:55 +05:30
Alena Prokharchyk 3ae6e9e58e CLOUDSTACK-4649: added support to removeResourceDetail to remove details for UserVm/Templates 2013-10-24 10:03:51 -07:00
Anshul Gangwar 16301ddaad CLOUDSTACK-4909: Added global configuration parameters for SMTP timeout 2013-10-24 20:09:10 +05:30
Anthony Xu 0bb06d5d98 CLOUDSTACK-4649:
get VM details from DB

Anthony
2013-10-23 16:05:03 -07:00
Wei Zhou a94acc5a43 CLOUDSTACK-4931, CLOUDSTACK-4937: setDetails to user VMs only 2013-10-23 16:55:10 +02:00
Wei Zhou 87c897ff75 allow Domain Admin to list usage records in the domain 2013-10-23 14:30:05 +02:00
Wei Zhou 9767de451c fix a bug in listServiceOffering with vmId
(cherry picked from commit cd72e2afee)
2013-10-23 14:28:40 +02:00
Wei Zhou 13a4ec366b CLOUDSTACK-4931: Do not setDetails for system VMs 2013-10-23 14:08:23 +02:00
Harikrishna Patnala 2a6905a9ce CLOUDSTACK-4927: ISO and Template test cases failing duing listiso api call
Removed check for deleted template/ISOs to throw exception as all list APIs returns empty response on deleted entities
2013-10-23 16:14:26 +05:30
Alena Prokharchyk c1131d1b7f CLOUDSTACK-4649: addResourceDetail - added support for userVm resource. Now "hypervisortoolsversion" get stored in user_vm_details table, and being returned as a part of listVirtualMachines call ("details" parameter) 2013-10-22 13:34:50 -07:00
Alena Prokharchyk 9d41fdfecf CLOUDSTACK-4649: allow to update template details with addResourceDetails API 2013-10-22 13:34:50 -07:00
Anthony Xu c31f87c078 CLOUDSTACK-4649:
vm sync tracks the pv driver version for xenserver

 Anthony
2013-10-22 11:21:28 -07:00
Alena Prokharchyk 3b28f73bea CLOUDSTACK-4743: durning the accountCleanup, never attempt to release the public ips when the guest networks of the account failed to cleanup 2013-10-22 09:41:20 -07:00
Anthony Xu 9a27690093 CLOUDSTACK-4649:
xs 6.1/6.2 introduce the new virtual platform, so there are two virtual platforms, windows PV driver version must match virtual platforms,
this patch tracks PV driver versions in vm details and template details.

Anthony
2013-10-21 16:10:07 -07:00
Alena Prokharchyk 2e75e8ced0 CLOUDSTACK-4894: DestroyVirtualMachine API - added "expunge" admin-only parameter. When passed as true, the vm gets expunged immediately (false by default to preserve the initial command behavior) 2013-10-21 09:51:46 -07:00
Prachi Damle 4b80f9ba81 Adding additional debug log to be able to identify HA case 2013-10-18 17:06:12 -07:00
Nitin Mehta de28812add CLOUDSTACK-4746:
From functionality point of view following will be changes.
-> Threshold will not be applied for vms undergoing HA process (say during host going down event).
-> Threshold will not be applied for vms undergoing maintenance.
-> Threshold will apply for stop-start vm "after" the skip.counting.hours
(time till which we reserve the capacity for the stopped vm).
Reason being stop-start is a user initiated action and we are giving a time
window  (skip.counting.hours) till which its guaranteed to start in the same
cluster.
After that time, threshold check applies bcz we still want to reserve the
capacity for urgent situations like HA, putting host into maintenance rather than get it consumed in such user
initiated actions.

Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-18 15:22:25 -07:00
Harikrishna Patnala 5eb5594e8e CLOUDSTACK-4783: Added supported for listing all templates/ISOs with showremoved = true 2013-10-18 19:05:21 +05:30
Murali Reddy 779ef4b4c5 CLOUDSTACK-3911: [PortableIP] there is no check while adding a zone
public range to see whether the same VLAN exists in portable IP range.

added check to enusre a VLAN id used for a public IP range is not used
for portable ip range
2013-10-18 17:23:23 +05:30
Koushik Das 624b324cc1 CLOUDSTACK-4681: data disk with local disk offering are geting created on shared storage
The cluster and zone wide storage pool allocators returned shared pools even for volumes meant to be on local storage pool.
If the VM uses local disk then cluster and zone storage allocators should not handle it and return null or empty list.

Also fixed the deployment planner to avoid a cluster if
a. avoid set returned by storage pool allocators is empty OR
b. all local or shared pools in a cluster are in avoid state
2013-10-18 16:34:47 +05:30
Damodar Reddy 51a4d2677c CLOUDSTACK-4811:Fixed zone creation wizard is allowing to accept wrong sub net mask which is cauing wrong cidr value for a given ip range
Signed-off-by: Jayapal <jayapal@apache.org>
2013-10-18 15:51:13 +05:30
Murali Reddy c1294fdfa0 CLOUDSTACK-4596: CloudStack is currently allowing same ip range to be
defined in different VLANs across public and portable ranges

added checks to restric same ip range to be configure as both public ip
range and portable ip range
2013-10-18 15:08:07 +05:30
Anshul Gangwar 2b6b99ffb3 CLOUDSTACK-4792: added the connection and socket timeout parameters for SMTP and sending message in new thread so that HA doesn't get blocked beacause of hang in sending email alert 2013-10-18 12:05:20 +05:30
Sheng Yang 93188b449c CLOUDSTACK-4786: Reset Redundant Router priority after all the routers are stopped
This patch would reset the priority in such condition:
1. All redundant routers are stopped, e.g. due to network GC
2. User start one VM in the network
3. The routers would be brought up with reseted priority(100 & 99).

This would resolve the issue of network GC result in lower limit of redundant router priority reached.
2013-10-17 18:16:50 -07:00
Sheng Yang 7d7bd2afdf CLOUDSTACK-4836: Fix VPN user are not programmed after restart network 2013-10-17 18:08:23 -07:00
Koushik Das 7e500a5de8 CLOUDSTACK-4551: Migrating the data volume from NFS to local storage ,underlying disk offering is not changed.
Even though the volume may get migrated from shared to local storage, it is not possible to update the disk offering.
The fix is to disallow migration from shared to local store.
2013-10-17 12:17:58 +05:30
Min Chen d17024c09b CLOUDSTACK-4816:provide configurable option to choose single vs
multipart upload to S3 object storage based on object size.
2013-10-16 17:56:19 -07:00
Edison Su 1a907eb4e4 CLOUDSTACK-4725: if storage pool has different path, but the uuid is the same, then treat them as the same storage pool 2013-10-16 15:22:45 -07:00
Nitin Mehta f91b649b3b CLOUDSTACK-4882:
list Clusters/pods/zones API not accounting for reserved in the used capacity percentage.
Fix listCapacity cmd for reserved as well
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-16 15:01:33 -07:00
Kishan Kavala e88377a5e5 CLOUDSTACK-4095 : Remove region_id from Transaction. Read from db.properties whenever required 2013-10-16 19:37:13 +05:30
Murali Reddy 4d07493a5e CLOUDSTACK-4717: associate IP does not work on shared networks with out
source NAT service

relax the restriction that the source nat service should be avaiable in
the network inorder to associate a public ip to the network
2013-10-16 18:19:04 +05:30