mirror of https://github.com/apache/cloudstack.git
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.
This commit is contained in:
parent
2a182af4c9
commit
903d0c0920
|
|
@ -3567,7 +3567,7 @@ ServerResource {
|
|||
|
||||
// pass cmdline info to system vms
|
||||
if (vmSpec.getType() != VirtualMachine.Type.User) {
|
||||
if ((_kernelVersion < 2006034) && (conn.getVersion() < 1001000)) { // CLOUDSTACK-2823: try passCmdLine some times if kernel < 2.6.34 and qemu < 1.1.0 on hypervisor (for instance, CentOS 6.4)
|
||||
if ((conn.getVersion() < 1001000)) { // CLOUDSTACK-2823: try passCmdLine some times if kernel < 2.6.34 and qemu < 1.1.0 on hypervisor (for instance, CentOS 6.4)
|
||||
//wait for 5 minutes at most
|
||||
String controlIp = null;
|
||||
for (NicTO nic : nics) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue