Ask Your Question

how to see vm is booting on compute node or not ?

asked 2014-08-08 06:00:32 -0500

srinivasulu gravatar image

I am trying install open stack on scientifi linux 6.3(64 bit) using manual " ( . i setup with a controller , and compute node seperately, i requested a vm with ubuntu image from controller to run on compute node, its took nearly 1hr then i got status as error when i see $nova list . is there is a way to check that actually vm is booted or is request sent to compute node from controller ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-08-08 10:35:24 -0500

dbaxps gravatar image

Check VM status on Compute node:-

[root@icehouse2 ~]# ps -ef | grep kvm
root       689     2  0 19:01 ?        00:00:00 [kvm-irqfd-clean]
qemu      8047     1 26 19:29 ?        00:00:41 /usr/libexec/qemu-kvm -name instance-00000008 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -cpu Penryn,+osxsave,+xsave,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme -m 2048 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 21e0219c-12ee-4da0-af7f-9eb8e77c32ae -smbios type=1,manufacturer=Fedora Project,product=OpenStack Nova,version=2014.1.1-2.el7,serial=6050001e-8c00-00ac-818a-90e6ba2d11eb,uuid=21e0219c-12ee-4da0-af7f-9eb8e77c32ae -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000008.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -no-kvm-pit-reinjection -no-hpet -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/21e0219c-12ee-4da0-af7f-9eb8e77c32ae/disk,if=none,id=drive-virtio-disk0,format=qcow2,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=25,id=hostnet0,vhost=on,vhostfd=26 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:f6:bf:65,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/21e0219c-12ee-4da0-af7f-9eb8e77c32ae/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0 -vnc -k en-us -vga cirrus -incoming fd:23 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
root      8053     2  0 19:29 ?        00:00:00 [kvm-pit/8047]
root      8558  8474  0 19:32 pts/1    00:00:00 grep --color=auto kvm
[root@icehouse2 ~]# brctl show
bridge name bridge id       STP enabled interfaces
qbr2830e660-05      8000.ee50720887e2   no      qvb2830e660-05
qbr5556e2ad-97      8000.52eeba6577c3   no      qvb5556e2ad-97
qbr71f26745-1c      8000.829c154d7dcd   no      qvb71f26745-1c
qbrd417c292-d9      8000.da22a0d9a180   no      qvbd417c292-d9
[root@icehouse2 ~]# ovs-vsctl show | grep 2830e660-05
        Port "qvo2830e660-05"
            Interface "qvo2830e660-05"
edit flag offensive delete link more

answered 2014-08-08 11:16:45 -0500

mpetason gravatar image

You'll want to start by listing the instance to see what the status is:

nova list

Find the instance ID then:

nova show {UUID}

If it is in an error state you will usually see a trace message in the output. If it is "running" then you can see what the status of the instance is by looking at the console log:

nova console-log {UUID}

Since your instance is in an error state you will need to figure out what went wrong. If the trace in nova show doesn't have enough information then you'll need to look at the logs in nova-compute on the compute node. You can see which compute node Nova tried to deploy on by looking at the Hypervisor section in nova show.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-08-08 06:00:32 -0500

Seen: 566 times

Last updated: Aug 08 '14