Commit Graph

894 Commits

Author SHA1 Message Date
Anthony Xu 4918e21452 Revert "Changed host stats to be collected through the http connection"
This reverts commit 5e44df6de5.
2013-11-13 19:00:15 -08:00
Anthony Xu 14ee68cfcf Revert "Changed vm stats to be collected through the xs http connection"
This reverts commit e82e142b14.
2013-11-13 19:00:14 -08:00
Anthony Xu 3ebcfa9a7c save securitygroupenabled in host details 2013-11-13 16:27:58 -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
Abhinandan Prateek 4cb311530c Revert "Updating pom.xml version numbers for release 4.2.1"
This reverts commit 0b9eadaf14.
2013-11-12 21:17:27 +05:30
Abhinandan Prateek 0b9eadaf14 Updating pom.xml version numbers for release 4.2.1
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-11-12 21:15:01 +05:30
Alex Huang e82e142b14 Changed vm stats to be collected through the xs http connection 2013-11-11 08:24:03 -08:00
Alex Huang 5e44df6de5 Changed host stats to be collected through the http connection 2013-11-11 08:24:02 -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
Wei Zhou 86976fb298 CLOUDSTACK-5076: fix wrong bridge name in vm domain xml desc after upgrade from 4.0 or before to 4.2 2013-11-08 14:36:48 +01:00
Wei Zhou a33f0e7bdd check Linux bridge status before remove it 2013-11-07 11:06:42 +01:00
Edison Su 4f9af26bea CLOUDSTACK-5065: isExternalSnapshot should return true for CLVM and RBD only 2013-11-06 15:32:32 -08:00
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
Edison Su 89206094ae CLOUDSTACK-5022 - [Automation] Failed to create volume from snapshot in KVM 2013-11-01 13:43:07 -07:00
Wei Zhou 4b8d636ce6 remove unused file lock codes from LibvirtStorageAdaptor.java 2013-10-30 15:13:14 +01:00
Frank.Zhang 6032a113a1 [UCS] increate ipmi command retry 2013-10-29 17:49:39 -07:00
Anthony Xu bab3f0fa0f CLOUDSTACK-4976
merge createVmFromTemplate in XSFP1 to CitrixResourceBase instead of fixing one bug in two different place.

Anthony
2013-10-29 14:03:42 -07:00
Edison Su 9672a45ea1 CLOUDSTACK-4817: fix s3 multipart uplaod 2013-10-28 17:28:10 -07:00
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
Likitha Shetty 1a3f394730 CLOUDSTACK-4946. VM Restore with template id/Volatile VM feature doesnt work on VMware
When a ROOT volume is created from base template, if a folder already exists for the ROOT volume's VM then replace the old ROOT disk files with the new one.
2013-10-28 13:14:48 +05:30
Sheng Yang 7e74851cc9 CLOUDSTACK-4913: Don't enable ebtables/iptables for non-security group zone 2013-10-24 18:27:01 -07:00
Frank.Zhang 99cf9943de [UCS]add Apache header for new files 2013-10-24 14:11:27 -07:00
Anthony Xu 187e328f6c fixed NPE 2013-10-23 15:23:35 -07:00
Frank.Zhang 455a9f4797 [UCS] don't log user credentials 2013-10-21 17:59:26 -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
amogh.vasekar c4905eafd5 Fixing UCS HTTPS redirect 2013-10-18 14:21:14 -07:00
Sheng Yang 3c8be550f0 CLOUDSTACK-2792: Call savepassword.sh inside VR for Xen
Also only set password when password service is running, thus avoid setting for
redundant router BACKUP router.
2013-10-17 18:46:08 -07:00
Anthony Xu fdd33fbb17 Revert "CLOUDSTACK-4649"
This reverts commit 5950d37e9f.
2013-10-17 11:26:11 -07:00
Marcus Sorensen 903d0c0920 CLOUDSTACK-2823: This affects Ubuntu as well, since qemu version is 1.0.0
I don't think host kernel version has any bearing on it. Original code
was tested with CentOS 6.3 and 6.4, but it seems to succeed or fail per-host,
e.g. a fast host might work and a slow host might not. I was getting intermittent
failures with ubuntu 12.04.3 prior to this patch.
2013-10-16 00:25:04 -06:00
Frank.Zhang a84e0af651 CLOUDSTACK-4850
[UCS] using template instead of cloning profile
2013-10-14 11:55:14 -07:00
Frank.Zhang eb8c0a7e17 CLOUDSTACK-4850
[UCS] using template instead of cloning profile
2013-10-10 17:39:07 -07:00
Frank.Zhang 8edaf63c4e CLOUDSTACK-4850
[UCS] using template instead of cloning profile
2013-10-10 14:45:03 -07:00
Frank.Zhang 999c1bc1c0 Change security_group_agent python side in line with default
security group rules change in 4.2
2013-10-10 14:44:14 -07:00
Frank.Zhang 30a680efc5 Change security_group_agent python side in line with default
security group rules change in 4.2
2013-10-09 10:52:42 -07:00
Frank.Zhang d31dcdfd92 Add missing Baremetal security_group_agent java part
Change security_group_agent python side in line with default security
group rules change in 4.2
2013-10-09 10:52:42 -07:00
Kelven Yang 2976d9c793 CLOUDSTACK-4802: Change VM start flow to better support VM snapshot on certian version of vSphere, (vSphere 5.0 Update 2). If we detect that VM has pending VM snapshot, we will fully honor VM disk info from vCenter, since in some version of vSphere (vSphere 5.0 U2) does not allow disk-editting when VM has pending snapshot. 2013-10-04 16:03:01 -07:00
animesh 21043bfe84 Updating pom.xml version numbers for release 4.2.1-SNAPSHOT
Signed-off-by: animesh <animesh@apache.org>
2013-10-03 17:13:17 -07:00
animesh 86c93637f5 Merging 4.2-forward into 4.2 2013-10-02 23:05:34 -07:00
Kelven Yang 4533d2d88f CLOUDSTACK-4790: Skip reserved VMware scsi device number for SCSI disks 2013-10-02 17:52:39 -07:00
Kelven Yang 94c8e28f8d CLOUDSTACK-4734: Validate and Fail-over to another VmwareContext object when it is from the pool 2013-09-27 15:24:16 -07:00
Wei Zhou 175549f3ab CLOUDSTACK-4405: additional patch for bridge name and firewall rules issues after KVM upgrade to 4.2
There still exist two issues after Edison's commits.
(1) Migration from new hosts to old hosts failed.
The bridge name on old host is set to cloudVirBr* if network.bridge.name.schema is set to 3.0 in /etc/cloudstack/agent/agent.properties, but the actual bridge name is breth*-* after running cloudstack-agent-upgrade.
(2) all ports of vms (Basic zone, or Advanced zone with security groups) on old hosts are open, because the iptables rules are binding to device (bridge) name which is changed by cloudstack-agent-upgrade.

After this, the KVM upgrade steps :
a. Install 4.2 cloudstack agent on each kvm host
b. Run "cloudstack-agent-upgrade". This script will upgrade all the existing bridge name to new bridge name, and update related firewall rules.
c. install a libvirt hook:
    c1. mkdir /etc/libvirt/hooks
    c2. cp /usr/share/cloudstack-agent/lib/libvirtqemuhook /etc/libvirt/hooks/qemu
    c3. chmod +x /etc/libvirt/hooks/qemu
    c4. service libvirtd restart
    c5. service cloudstack-agent restart
2013-09-24 08:51:58 +02:00
Kelven Yang 8222eae21f Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called. This is the corrected commit
(cherry picked from commit 16a2442c41)

Signed-off-by: animesh <animesh@apache.org>
2013-09-20 11:08:04 -07:00
Kelven Yang 92db2d1a44 CLOUDSTACK-4659: Vmware allows destroying VM that has pending tasks, worker VM GC actually relies on the assumption that Vmware is protected from that which is a false assumption. Recycle Worker VM only it is from previous session 2013-09-20 10:59:30 -07:00
Kelven Yang 16a2442c41 Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called. This is the corrected commit 2013-09-19 23:18:26 -07:00
Kelven Yang ebc95375e2 Revert "Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called"
This reverts commit 8e0faaa406.
2013-09-19 23:05:17 -07:00
Kelven Yang 8e0faaa406 Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called 2013-09-19 22:19:22 -07:00
Marcus Sorensen 39f7ddbb8f CLOUDSTACK-3565 - fix for new libvirt behavior when defining NFS
pools that are already mounted in KVM hypervisor
2013-09-17 10:52:04 -06:00