Commit Graph

7233 Commits

Author SHA1 Message Date
David Grizzanti 03ba659ae7 CLOUDSTACK-5022: NullPointerException when invalid zone is passed into UsageEventUtils 2013-12-03 17:14:28 +05:30
Wei Zhou 562aa0425b CLOUDSTACK-5299: set hypervisor_type of volumes from image format if not set.
(cherry picked from commit 221aea5730)

Conflicts:

	server/src/com/cloud/api/query/dao/VolumeJoinDaoImpl.java
2013-11-29 11:17:45 +01:00
Abhinandan Prateek 224c48a76e Fix issue with sourceCidr not being passed to the VRouter on start 2013-11-29 14:15:12 +05:30
Wei Zhou 04adfe4317 CLOUDSTACK-5293: fix issue when collect vm disk statistics from iso
(cherry picked from commit f17f35eeb8)
2013-11-27 14:48:03 +01:00
Wei Zhou e23b10319f CLOUDSTACK-2940: Allowing Replacement of realhostip.com with a customized domain for SSVM 2013-11-26 14:10:51 +01:00
Wei Zhou 888ddd724a CLOUDSTACK-5272: return unlimit if max.account.* or max.project.* is set to negative 2013-11-26 14:05:18 +01:00
Murali Reddy 982c5fffbf CLOUDSTACK-5228: [API] [EIP/ELB enabled Zone] Need to display EIP address as
"Public IP Address" for system VMs

In system VM response object return EIP as public IP in case of basic
zone with EIP service.

Conflicts:
	server/src/com/cloud/api/ApiResponseHelper.java
2013-11-21 15:29:17 +05:30
Nitin Mehta 5f8dc7a38b CLOUDSTACK-5176:
Added the cluster scope to vmware.reserve factors
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-11-14 15:19:49 -08:00
Wei Zhou e444a03819 remove duplicated scheduled tasks from VpcVirtualNetworkApplianceManagerImpl 2013-11-14 16:51:28 +01:00
Anthony Xu fcb806a6ab fixed NPE 2013-11-13 18:24:32 -08:00
Anthony Xu ba9b041fe7 fixed NPE 2013-11-13 17:48:34 -08:00
Anthony Xu 4238ac9e68 XS host free memory might change, if user manually changes dom0 memory,
this patch makes CS update latest XS host free memory on host connect process.
2013-11-13 10:57:19 -08:00
bharat kumar 738e7257c2 Cloudstack-5077: reserve cpu and memory only when
vmware.reserve.cpu/mem are set to true. Insted of setting
 the ovecommit values to one on upgrade, we popultate them
 from the global values.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-11-12 22:55:06 -08:00
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