Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the same error on my vmware test environment 2017-03-16 21:20:25.059 2621 ERROR nova.scheduler.utils [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] [instance: 20f4540d-55fb-422e-a4ea-15bb2cd2852e] Error from last host: compute01 (node compute01): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1926, in _do_build_and_run_instance\n filter_properties)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2116, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 20f4540d-55fb-422e-a4ea-15bb2cd2852e was re-scheduled: internal error: qemu unexpectedly closed the monitor: \n(process:2816): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported\n2017-03-16T13:20:23.513729Z qemu-kvm: CPU feature arat not found\n'] 2017-03-16 21:20:25.414 2621 WARNING nova.scheduler.utils [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Failed to compute_task_build_instances: No valid host was found. There are not enough hosts available. Traceback (most recent call last):

[root@controller01 ~]# openstack flavor list +----+-----------+-------+------+-----------+-------+-----------+ | ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public | +----+-----------+-------+------+-----------+-------+-----------+ | 1 | m1.tiny | 512 | 1 | 0 | 1 | True | | 2 | m1.small | 2048 | 20 | 0 | 1 | True | | 3 | m1.medium | 4096 | 40 | 0 | 2 | True | | 4 | m1.large | 8192 | 80 | 0 | 4 | True | | 5 | m1.xlarge | 16384 | 160 | 0 | 8 | True | +----+-----------+-------+------+-----------+-------+-----------+ [root@controller01 ~]# openstack flavor show m1.tiny +----------------------------+---------+ | Field | Value | +----------------------------+---------+ | OS-FLV-DISABLED:disabled | False | | OS-FLV-EXT-DATA:ephemeral | 0 | | disk | 1 | | id | 1 | | name | m1.tiny | | os-flavor-access:is_public | True | | properties | | | ram | 512 | | rxtx_factor | 1.0 | | swap | | | vcpus | 1 | +----------------------------+---------+

[root@controller01 ~]# openstack compute service list +----+------------------+--------------+----------+---------+-------+----------------------------+ | Id | Binary | Host | Zone | Status | State | Updated At | +----+------------------+--------------+----------+---------+-------+----------------------------+ | 1 | nova-conductor | controller01 | internal | enabled | up | 2017-03-16T13:26:43.000000 | | 2 | nova-scheduler | controller01 | internal | enabled | up | 2017-03-16T13:26:43.000000 | | 3 | nova-consoleauth | controller01 | internal | enabled | up | 2017-03-16T13:26:43.000000 | | 6 | nova-compute | compute01 | nova | enabled | up | 2017-03-16T13:26:36.000000 | +----+------------------+--------------+----------+---------+-------+----------------------------+

2017-03-16 21:20:07.307 2224 INFO nova.compute.claims [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] [instance: 20f4540d-55fb-422e-a4ea-15bb2cd2852e] vcpu limit not specified, defaulting to unlimited 2017-03-16 21:20:07.401 2224 INFO nova.compute.claims [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] [instance: 20f4540d-55fb-422e-a4ea-15bb2cd2852e] Claim successful 2017-03-16 21:20:09.846 2224 WARNING nova.virt.osinfo [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty) 2017-03-16 21:20:10.029 2224 WARNING nova.virt.osinfo [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty) 2017-03-16 21:20:10.928 2224 WARNING nova.virt.osinfo [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty) 2017-03-16 21:20:10.931 2224 INFO nova.virt.libvirt.driver [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] [instance: 20f4540d-55fb-422e-a4ea-15bb2cd2852e] Creating image 2017-03-16 21:20:18.004 2224 WARNING nova.virt.osinfo [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty) 2017-03-16 21:20:24.027 2224 ERROR nova.virt.libvirt.guest [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Error launching a defined domain with XML: <domain type="kvm"> <name>instance-00000001</name> <uuid>20f4540d-55fb-422e-a4ea-15bb2cd2852e</uuid> <metadata> <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0"> <nova:package version="13.1.0-1.el7"/> <nova:name>demo-vm1</nova:name> <nova:creationtime>2017-03-16 13:20:17</nova:creationtime> <nova:flavor name="m1.tiny"> <nova:memory>512</nova:memory> <nova:disk>1</nova:disk> <nova:swap>0</nova:swap> <nova:ephemeral>0</nova:ephemeral> <nova:vcpus>1</nova:vcpus> </nova:flavor> <nova:owner> <nova:user uuid="83e301fae0a945ec9c2ffb03387e4e86">admin</nova:user> <nova:project uuid="dd27bd9eb7184a17b0f0c67720fb4a5f">admin</nova:project> </nova:owner> <nova:root type="image" uuid="d70d032a-6b89-4565-91f9-6d6e30d7c7bd"/> </nova:instance> </metadata> <memory unit="KiB">524288</memory> <currentmemory unit="KiB">524288</currentmemory> <vcpu placement="static">1</vcpu> <cputune> <shares>1024</shares> </cputune> <sysinfo type="smbios"> <system> <entry name="manufacturer">Fedora Project</entry> <entry name="product">OpenStack Nova</entry> <entry name="version">13.1.0-1.el7</entry> <entry name="serial">c1bb09b8-abf6-4394-be2e-e5dd5abea2dc</entry> <entry name="uuid">20f4540d-55fb-422e-a4ea-15bb2cd2852e</entry> <entry name="family">Virtual Machine</entry> </system> </sysinfo> <os> <type arch="x86_64" machine="pc-i440fx-rhel7.2.0">hvm</type> <boot dev="hd"/> <smbios mode="sysinfo"/> </os> <features> <acpi/> <apic/> </features> <cpu mode="host-model"> <model fallback="allow"/> <topology sockets="1" cores="1" threads="1"/> </cpu> <clock offset="utc"> <timer name="pit" tickpolicy="delay"/> <timer name="rtc" tickpolicy="catchup"/> <timer name="hpet" present="no"/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type="file" device="disk"> <driver name="qemu" type="qcow2" cache="none"/> <source file="/var/lib/nova/instances/20f4540d-55fb-422e-a4ea-15bb2cd2852e/disk"/> <target dev="vda" bus="virtio"/>

</disk> <controller type="usb" index="0">
</controller> <controller type="pci" index="0" model="pci-root"/> <interface type="bridge"> <mac address="fa:16:3e:71:39:93"/> <source bridge="qbr7946dbf4-ec"/> <target dev="tap7946dbf4-ec"/> <model type="virtio"/>
</interface> <serial type="file"> <source path="/var/lib/nova/instances/20f4540d-55fb-422e-a4ea-15bb2cd2852e/console.log"/> <target port="0"/> </serial> <serial type="pty"> <target port="1"/> </serial> <console type="file"> <source path="/var/lib/nova/instances/20f4540d-55fb-422e-a4ea-15bb2cd2852e/console.log"/> <target type="serial" port="0"/> </console> <input type="tablet" bus="usb">
</input> <input type="mouse" bus="ps2"/> <input type="keyboard" bus="ps2"/> <graphics type="vnc" port="-1" autoport="yes" listen="0.0.0.0" keymap="en-us"> <listen type="address" address="0.0.0.0"/> </graphics> <video> <model type="cirrus" vram="16384" heads="1" primary="yes"/>
</video> <memballoon model="virtio"> <stats period="10"/>
</memballoon> </devices> </domain>

2017-03-16 21:20:24.028 2224 ERROR nova.compute.manager [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] [instance: 20f4540d-55fb-422e-a4ea-15bb2cd2852e] Instance failed to spawn

the rpm package in mitaka has bug on centos 7,so i was remove package, and install same error package on my vmware test environment 2017-03-16 21:20:25.059 2621 ERROR nova.scheduler.utils [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] [instance: 20f4540d-55fb-422e-a4ea-15bb2cd2852e] Error from last host: compute01 (node compute01): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1926, in _do_build_and_run_instance\n filter_properties)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2116, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 20f4540d-55fb-422e-a4ea-15bb2cd2852e was re-scheduled: internal error: qemu unexpectedly closed the monitor: \n(process:2816): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported\n2017-03-16T13:20:23.513729Z qemu-kvm: CPU feature arat not found\n'] 2017-03-16 21:20:25.414 2621 WARNING nova.scheduler.utils [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Failed to compute_task_build_instances: No valid host was found. There are not enough hosts available. Traceback (most recent call last):centos 7.

[root@controller01 ~]# openstack flavor list +----+-----------+-------+------+-----------+-------+-----------+ | ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public | +----+-----------+-------+------+-----------+-------+-----------+ | 1 | m1.tiny | 512 | 1 | 0 | 1 | True | | 2 | m1.small | 2048 | 20 | 0 | 1 | True | | 3 | m1.medium | 4096 | 40 | 0 | 2 | True | | 4 | m1.large | 8192 | 80 | 0 | 4 | True | | 5 | m1.xlarge | 16384 | 160 | 0 | 8 | True | +----+-----------+-------+------+-----------+-------+-----------+ [root@controller01 ~]# openstack flavor show m1.tiny +----------------------------+---------+ | Field | Value | +----------------------------+---------+ | OS-FLV-DISABLED:disabled | False | | OS-FLV-EXT-DATA:ephemeral | 0 | | disk | 1 | | id | 1 | | name | m1.tiny | | os-flavor-access:is_public | True | | properties | | | ram | 512 | | rxtx_factor | 1.0 | | swap | | | vcpus | 1 | +----------------------------+---------+

[root@controller01 ~]# openstack compute service list +----+------------------+--------------+----------+---------+-------+----------------------------+ | Id | Binary | Host | Zone | Status | State | Updated At | +----+------------------+--------------+----------+---------+-------+----------------------------+ | 1 | nova-conductor | controller01 | internal | enabled | up | 2017-03-16T13:26:43.000000 | | 2 | nova-scheduler | controller01 | internal | enabled | up | 2017-03-16T13:26:43.000000 | | 3 | nova-consoleauth | controller01 | internal | enabled | up | 2017-03-16T13:26:43.000000 | | 6 | nova-compute | compute01 | nova | enabled | up | 2017-03-16T13:26:36.000000 | +----+------------------+--------------+----------+---------+-------+----------------------------+

2017-03-16 21:20:07.307 2224 INFO nova.compute.claims [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] [instance: 20f4540d-55fb-422e-a4ea-15bb2cd2852e] vcpu limit not specified, defaulting to unlimited 2017-03-16 21:20:07.401 2224 INFO nova.compute.claims [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] [instance: 20f4540d-55fb-422e-a4ea-15bb2cd2852e] Claim successful 2017-03-16 21:20:09.846 2224 WARNING nova.virt.osinfo [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty) 2017-03-16 21:20:10.029 2224 WARNING nova.virt.osinfo [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty) 2017-03-16 21:20:10.928 2224 WARNING nova.virt.osinfo [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty) 2017-03-16 21:20:10.931 2224 INFO nova.virt.libvirt.driver [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] [instance: 20f4540d-55fb-422e-a4ea-15bb2cd2852e] Creating image 2017-03-16 21:20:18.004 2224 WARNING nova.virt.osinfo [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty) 2017-03-16 21:20:24.027 2224 ERROR nova.virt.libvirt.guest [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] Error launching a defined domain with XML: <domain type="kvm"> <name>instance-00000001</name> <uuid>20f4540d-55fb-422e-a4ea-15bb2cd2852e</uuid> <metadata> <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0"> <nova:package version="13.1.0-1.el7"/> <nova:name>demo-vm1</nova:name> <nova:creationtime>2017-03-16 13:20:17</nova:creationtime> <nova:flavor name="m1.tiny"> <nova:memory>512</nova:memory> <nova:disk>1</nova:disk> <nova:swap>0</nova:swap> <nova:ephemeral>0</nova:ephemeral> <nova:vcpus>1</nova:vcpus> </nova:flavor> <nova:owner> <nova:user uuid="83e301fae0a945ec9c2ffb03387e4e86">admin</nova:user> <nova:project uuid="dd27bd9eb7184a17b0f0c67720fb4a5f">admin</nova:project> </nova:owner> <nova:root type="image" uuid="d70d032a-6b89-4565-91f9-6d6e30d7c7bd"/> </nova:instance> </metadata> <memory unit="KiB">524288</memory> <currentmemory unit="KiB">524288</currentmemory> <vcpu placement="static">1</vcpu> <cputune> <shares>1024</shares> </cputune> <sysinfo type="smbios"> <system> <entry name="manufacturer">Fedora Project</entry> <entry name="product">OpenStack Nova</entry> <entry name="version">13.1.0-1.el7</entry> <entry name="serial">c1bb09b8-abf6-4394-be2e-e5dd5abea2dc</entry> <entry name="uuid">20f4540d-55fb-422e-a4ea-15bb2cd2852e</entry> <entry name="family">Virtual Machine</entry> </system> </sysinfo> <os> <type arch="x86_64" machine="pc-i440fx-rhel7.2.0">hvm</type> <boot dev="hd"/> <smbios mode="sysinfo"/> </os> <features> <acpi/> <apic/> </features> <cpu mode="host-model"> <model fallback="allow"/> <topology sockets="1" cores="1" threads="1"/> </cpu> <clock offset="utc"> <timer name="pit" tickpolicy="delay"/> <timer name="rtc" tickpolicy="catchup"/> <timer name="hpet" present="no"/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type="file" device="disk"> <driver name="qemu" type="qcow2" cache="none"/> <source file="/var/lib/nova/instances/20f4540d-55fb-422e-a4ea-15bb2cd2852e/disk"/> <target dev="vda" bus="virtio"/>

</disk> <controller type="usb" index="0">
</controller> <controller type="pci" index="0" model="pci-root"/> <interface type="bridge"> <mac address="fa:16:3e:71:39:93"/> <source bridge="qbr7946dbf4-ec"/> <target dev="tap7946dbf4-ec"/> <model type="virtio"/>
</interface> <serial type="file"> <source path="/var/lib/nova/instances/20f4540d-55fb-422e-a4ea-15bb2cd2852e/console.log"/> <target port="0"/> </serial> <serial type="pty"> <target port="1"/> </serial> <console type="file"> <source path="/var/lib/nova/instances/20f4540d-55fb-422e-a4ea-15bb2cd2852e/console.log"/> <target type="serial" port="0"/> </console> <input type="tablet" bus="usb">
</input> <input type="mouse" bus="ps2"/> <input type="keyboard" bus="ps2"/> <graphics type="vnc" port="-1" autoport="yes" listen="0.0.0.0" keymap="en-us"> <listen type="address" address="0.0.0.0"/> </graphics> <video> <model type="cirrus" vram="16384" heads="1" primary="yes"/>
</video> <memballoon model="virtio"> <stats period="10"/>
</memballoon> </devices> </domain>

2017-03-16 21:20:24.028 2224 ERROR nova.compute.manager [req-c7e4f5a1-ce48-470e-8d7e-f0ec6abbc6ec 83e301fae0a945ec9c2ffb03387e4e86 dd27bd9eb7184a17b0f0c67720fb4a5f - - -] [instance: 20f4540d-55fb-422e-a4ea-15bb2cd2852e] Instance failed to spawn