Comment 14 for bug 1653430

Revision history for this message
Mohammed Khan (mkhan1976) wrote : Re: [Bug 1653430] Launch Instance vm Starting up

Hi Tim,

Thank you for reply. I have resolved the issue by changing in nova.conf file and change was virt_type=qemu, cpu_mode=none in mitaka version. After make these changes in mitaka I am able to access the console, private ip address which also can access to external network.

Now, I have same issue with liberty version I have made same changes but now the error is

Thanks,
Mohammed Khan

> On Feb 1, 2017, at 1:08 PM, Tim Serewicz <email address hidden> wrote:
>
> I'm having the same issue. Not sure why QEMU would be an invalid or non-supported manner of starting an instance (as mentioned in #3 as a reason to invalidate the bug), as kvm is an accelerator. Nice feature, but should not be essential. This would also be indicated by this setting being in the /etc/nova/nova.conf file - using qemu would be a valid type of hypervisor. The file actually says this:
> # Allowed values: kvm, lxc, qemu, uml, xen, parallels
>
> Having deployed RDO Liberty on AWS nodes many times this issue started
> when I moved to Newton. As AWS nodes dose not show vmx or svm flags the
> virt_type was set to qemu instead of kvm during packstack installation.
>
> I can create a qemu instance by hand and log in. It throws a warning
> that the kvm module is unavailable, but does work without the
> accelerator. Guestfish shows the image to be good and downloading it to
> my local system the cirros vm boots without issue.
>
> Using the same AWS ami and instance type, with the same configuration
> edits for packstack the install can no longer deploy a usable instance.
> Every permutation of install appears to work but the console says:
> "Starting up ...."
>
> When I download cirros image to a different node, running QEMU emulator
> version 2.7.1(qemu-2.7.1-1.fc25), it boots just fine. This is a bug in
> the qemu-kvm-ev used in OpenStack, or how nova works with qemu-kvm-ev
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1653430
>
> Title:
> Launch Instance vm Starting up
>
> Status in OpenStack Compute (nova):
> Invalid
>
> Bug description:
> [root@controller ~]# virsh list
> Id Name State
> ----------------------------------------------------
> 10 instance-0000001a running
>
>
>
> [root@controller ~]# cat /var/log/libvirt/qemu/instance-0000001a.log
> 2017-01-01 15:27:19.429+0000: starting up libvirt version: 2.0.0, package: 10.el7_3.2 (CentOS BuildSystem <http://bugs.centos.org>, 2016-12-06-19:53:38, c1bm.rdu2.centos.org), qemu version: 2.6.0 (qemu-kvm-ev-2.6.0-27.1.el7), hostname: controller
> LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin HOME=/root USER=root LOGNAME=root QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name guest=instance-0000001a,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-10-instance-0000001a/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=tcg,usb=off -cpu Haswell-noTSX,+vme,+ds,+ss,+ht,+osxsave,+f16c,+rdrand,+hypervisor,+arat,+tsc_adjust,+xsaveopt,+pdpe1gb,+abm -m 64 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 8cbaa40d-c061-47fc-83df-698f2455c7d9 -smbios 'type=1,manufacturer=RDO,product=OpenStack Compute,version=14.0.2-1.el7,serial=4803ff26-9107-4c8c-b9f9-83cda5553350,uuid=8cbaa40d-c061-47fc-83df-698f2455c7d9,family=Virtual Machine' -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-10-instance-0000001a/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/8cbaa40d-c061-47fc-83df-698f2455c7d9/disk,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=26,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:3e:38:f9,bus=pci.0,addr=0x3 -add-fd set=1,fd=29 -chardev file,id=charserial0,path=/dev/fdset/1,append=on -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0,bus=usb.0,port=1 -vnc 10.40.1.70:0 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on
> char device redirected to /dev/pts/0 (label charserial1)
> warning: TCG doesn't support requested feature: CPUID.01H:EDX.vme [bit 1]
> warning: TCG doesn't support requested feature: CPUID.01H:EDX.ds [bit 21]
> warning: TCG doesn't support requested feature: CPUID.01H:EDX.ht [bit 28]
> warning: TCG doesn't support requested feature: CPUID.01H:ECX.fma [bit 12]
> warning: TCG doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
> warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
> warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
> warning: TCG doesn't support requested feature: CPUID.01H:ECX.osxsave [bit 27]
> warning: TCG doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]
> warning: TCG doesn't support requested feature: CPUID.01H:ECX.f16c [bit 29]
> warning: TCG doesn't support requested feature: CPUID.01H:ECX.rdrand [bit 30]
> warning: TCG doesn't support requested feature: CPUID.07H:EBX.tsc_adjust [bit 1]
> warning: TCG doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]
> warning: TCG doesn't support requested feature: CPUID.07H:EBX.erms [bit 9]
> warning: TCG doesn't support requested feature: CPUID.07H:EBX.invpcid [bit 10]
>
>
>
> error:
> Instance status Starting up .......
>
>
>
>
> nova use qemu
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/1653430/+subscriptions