Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ocata, VNC shows Cirros instance stuck at "GRUB"

Hello! I am working on building an openstack setup using the documentation at: https://docs.openstack.org/ocata/install-guide-rdo/. I am running two VMs on VMWare on a device with physical RAM 32GB and a Core i7 4810Q proccy. Both VMs are running on CentOS 7.3. Controller node has 8GB of RAM and the Compute Node has 16GB RAM

Currently facing an issue when building an instance of cirros. Issue: Cirros Instance stuck at "Booting from Harddisk GRUB" in the console VNC.

Can someone help me identify this issue?

Steps taken so far:

  1. I checked and ensured that nested virtualization is enabled on the VMWare Workstation [went to processor and enabled "Virtualize VT -x" option on both compute and controller node]

  2. I followed the documentation to the T (used provider network only option for neutron)

  3. The document asked me to check egrep -c '(vmx|svm)' /proc/cpuinfo and the result was "8". Hence did not set virt_type in /etc/nova/nova.conf

Some Command Outputs

Compute node CPUINFO

[root@okvm qemu]# egrep -c '(vmx|svm)' /proc/cpuinfo
8

hypervisor list

 [root@octl ~]# openstack hypervisor list
    +----+---------------------+-----------------+----------------+-------+
    | ID | Hypervisor Hostname | Hypervisor Type | Host IP        | State |
    +----+---------------------+-----------------+----------------+-------+
    |  1 | okvm                | QEMU            | 192.168.44.102 | up    |
    +----+---------------------+-----------------+----------------+-------+

Compute Services

 [root@octl ~]# openstack compute service list
    +----+------------------+------+----------+---------+-------+----------------------------+
    | ID | Binary           | Host | Zone     | Status  | State | Updated At                 |
    +----+------------------+------+----------+---------+-------+----------------------------+
    |  1 | nova-scheduler   | octl | internal | enabled | up    | 2017-06-02T12:46:12.000000 |
    |  2 | nova-consoleauth | octl | internal | enabled | up    | 2017-06-02T12:46:22.000000 |
    |  3 | nova-conductor   | octl | internal | enabled | up    | 2017-06-02T12:46:20.000000 |
    |  8 | nova-compute     | okvm | nova     | enabled | up    | 2017-06-02T12:46:14.000000 |
    +----+------------------+------+----------+---------+-------+----------------------------+

Nova Status

[root@octl ~]#  nova-status upgrade check
+---------------------------+
| Upgrade Check Results     |
+---------------------------+
| Check: Cells v2           |
| Result: Success           |
| Details: None             |
+---------------------------+
| Check: Placement API      |
| Result: Success           |
| Details: None             |
+---------------------------+
| Check: Resource Providers |
| Result: Success           |
| Details: None             |
+---------------------------+

Server says it is built successfully and is ACTIVE

[root@octl ~]# openstack server list
+--------------------------------------+-------------+--------+------------------------+------------+
| ID                                   | Name        | Status | Networks               | Image Name |
+--------------------------------------+-------------+--------+------------------------+------------+
| b3fd3f9d-e8f4-40ba-b433-457303ba768d | cirros-test | ACTIVE | provider=192.168.44.93 | cirros     |
+--------------------------------------+-------------+--------+------------------------+------------+

Instance Log

2017-06-02 13:05:38.688+0000: starting up libvirt version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem <http://bugs.centos.org>, 2017-05-25-20:52:28, c1bm.rdu2.centos.org), qemu version: 2.6.0 (qemu-kvm-ev-2.6.0-28.el7_3.9.1), hostname: okvm
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name guest=instance-00000004,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-instance-00000004/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off -cpu Haswell-noTSX,+vme,+ds,+ss,+ht,+vmx,+osxsave,+f16c,+rdrand,+hypervisor,+arat,+tsc_adjust,+xsaveopt,+pdpe1gb,+abm -m 64 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid ad2f8a18-7e91-4016-b80d-2539b2a43877 -smbios 'type=1,manufacturer=RDO,product=OpenStack Compute,version=15.0.3-2.el7,serial=ac0bec73-3ef5-4a89-a439-690339e1121d,uuid=ad2f8a18-7e91-4016-b80d-2539b2a43877,family=Virtual Machine' -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-1-instance-00000004/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -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/ad2f8a18-7e91-4016-b80d-2539b2a43877/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,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:98:63:70,bus=pci.0,addr=0x3 -add-fd set=2,fd=30 -chardev file,id=charserial0,path=/dev/fdset/2,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 0.0.0.0: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/1 (label charserial1)
    warning: host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21]
    warning: host doesn't support requested feature: CPUID.01H:EDX.ht [bit 28]
    warning: host doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
    warning: host doesn't support requested feature: CPUID.01H:ECX.osxsave [bit 27]
    warning: host doesn't support requested feature: CPUID.07H:EBX.erms [bit 9]
    warning: host doesn't support requested feature: CPUID.80000001H:EDX.pdpe1gb [bit 26]

Ocata, VNC shows Cirros instance stuck at "GRUB"

Hello! I am working on building an openstack setup using the documentation at: https://docs.openstack.org/ocata/install-guide-rdo/. I am running two VMs on VMWare on a device with physical RAM 32GB and a Core i7 4810Q proccy. Both VMs are running on CentOS 7.3. Controller node has 8GB of RAM and the Compute Node has 16GB RAM

Currently facing an issue when building an instance of cirros. Issue: Cirros Instance stuck at "Booting from Harddisk GRUB" in the console VNC.

Can someone help me identify this issue?

Steps taken so far:

  1. I checked and ensured that nested virtualization is enabled on the VMWare Workstation [went to processor and enabled "Virtualize VT -x" option on both compute and controller node]

  2. I followed the documentation to the T (used provider network only option for neutron)

  3. The document asked me to check egrep -c '(vmx|svm)' /proc/cpuinfo and the result was "8". Hence did not set virt_type in /etc/nova/nova.conf

Some Command Outputs

Compute node CPUINFO

[root@okvm qemu]# egrep -c '(vmx|svm)' /proc/cpuinfo
8

hypervisor list

 [root@octl ~]# openstack hypervisor list
    +----+---------------------+-----------------+----------------+-------+
    | ID | Hypervisor Hostname | Hypervisor Type | Host IP        | State |
    +----+---------------------+-----------------+----------------+-------+
    |  1 | okvm                | QEMU            | 192.168.44.102 | up    |
    +----+---------------------+-----------------+----------------+-------+

Compute Services

 [root@octl ~]# openstack compute service list
    +----+------------------+------+----------+---------+-------+----------------------------+
    | ID | Binary           | Host | Zone     | Status  | State | Updated At                 |
    +----+------------------+------+----------+---------+-------+----------------------------+
    |  1 | nova-scheduler   | octl | internal | enabled | up    | 2017-06-02T12:46:12.000000 |
    |  2 | nova-consoleauth | octl | internal | enabled | up    | 2017-06-02T12:46:22.000000 |
    |  3 | nova-conductor   | octl | internal | enabled | up    | 2017-06-02T12:46:20.000000 |
    |  8 | nova-compute     | okvm | nova     | enabled | up    | 2017-06-02T12:46:14.000000 |
    +----+------------------+------+----------+---------+-------+----------------------------+

Nova Status

[root@octl ~]#  nova-status upgrade check
+---------------------------+
| Upgrade Check Results     |
+---------------------------+
| Check: Cells v2           |
| Result: Success           |
| Details: None             |
+---------------------------+
| Check: Placement API      |
| Result: Success           |
| Details: None             |
+---------------------------+
| Check: Resource Providers |
| Result: Success           |
| Details: None             |
+---------------------------+

Server says it is built successfully and is ACTIVE

[root@octl ~]# openstack server list
+--------------------------------------+-------------+--------+------------------------+------------+
| ID                                   | Name        | Status | Networks               | Image Name |
+--------------------------------------+-------------+--------+------------------------+------------+
| b3fd3f9d-e8f4-40ba-b433-457303ba768d | cirros-test | ACTIVE | provider=192.168.44.93 | cirros     |
+--------------------------------------+-------------+--------+------------------------+------------+

Instance Log

2017-06-02 13:05:38.688+0000: starting up libvirt version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem <http://bugs.centos.org>, 2017-05-25-20:52:28, c1bm.rdu2.centos.org), qemu version: 2.6.0 (qemu-kvm-ev-2.6.0-28.el7_3.9.1), hostname: okvm
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name guest=instance-00000004,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-instance-00000004/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off -cpu Haswell-noTSX,+vme,+ds,+ss,+ht,+vmx,+osxsave,+f16c,+rdrand,+hypervisor,+arat,+tsc_adjust,+xsaveopt,+pdpe1gb,+abm -m 64 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid ad2f8a18-7e91-4016-b80d-2539b2a43877 -smbios 'type=1,manufacturer=RDO,product=OpenStack Compute,version=15.0.3-2.el7,serial=ac0bec73-3ef5-4a89-a439-690339e1121d,uuid=ad2f8a18-7e91-4016-b80d-2539b2a43877,family=Virtual Machine' -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-1-instance-00000004/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -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/ad2f8a18-7e91-4016-b80d-2539b2a43877/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,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:98:63:70,bus=pci.0,addr=0x3 -add-fd set=2,fd=30 -chardev file,id=charserial0,path=/dev/fdset/2,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 0.0.0.0: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/1 (label charserial1)
    warning: host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21]
    warning: host doesn't support requested feature: CPUID.01H:EDX.ht [bit 28]
    warning: host doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
    warning: host doesn't support requested feature: CPUID.01H:ECX.osxsave [bit 27]
    warning: host doesn't support requested feature: CPUID.07H:EBX.erms [bit 9]
    warning: host doesn't support requested feature: CPUID.80000001H:EDX.pdpe1gb [bit 26]