nova libvirt driver instance stuck on "spawning"

asked 2016-04-26 00:02:24 -0600

vincent gravatar image

This is a Liberty setup that I tried to keep as simple as possible, I'm booting the cirros image, the controller ships it to the compute node but I immediately see the following in the nova-compute.log

2016-04-26 12:48:55.128 17437 INFO nova.compute.manager [-] [instance: b1e5b06c-5ba7-410c-982c-ee9769b4a7c9] VM Started (Lifecycle Event)
2016-04-26 12:48:55.128 5906 INFO nova.compute.manager [req-372f2045-39c6-4d44-adc4-0657e1243544 - - - - -] [instance: b1e5b06c-5ba7-410c-982c-ee9769b4a7c9] VM Started (Lifecycle Event)
2016-04-26 12:48:55.190 17437 INFO nova.compute.manager [req-8775b7ea-71d2-4366-97ba-3b0ccb7947b2 - - - - -] [instance: b1e5b06c-5ba7-410c-982c-ee9769b4a7c9] VM Paused (Lifecycle Event)
2016-04-26 12:48:55.190 5906 INFO nova.compute.manager [req-372f2045-39c6-4d44-adc4-0657e1243544 - - - - -] [instance: b1e5b06c-5ba7-410c-982c-ee9769b4a7c9] VM Paused (Lifecycle Event)
2016-04-26 12:48:55.307 17437 INFO nova.compute.manager [req-8775b7ea-71d2-4366-97ba-3b0ccb7947b2 - - - - -] [instance: b1e5b06c-5ba7-410c-982c-ee9769b4a7c9] During sync_power_state the instance has a pending task (spawning). Skip.
2016-04-26 12:48:55.307 5906 INFO nova.compute.manager [req-372f2045-39c6-4d44-adc4-0657e1243544 - - - - -] [instance: b1e5b06c-5ba7-410c-982c-ee9769b4a7c9] During sync_power_state the instance has a pending task (spawning). Skip.

I searched for hints in forums, most folks were pointing at issues with space issue, I have over 300MB free, but nonetheless I created a 10GB tmpfs just for /var/lib/nova/instances, so I don't anticipate space being the issue.

nova service-list

[root@controller misc_openstack]# nova service-list
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-conductor   | controller | internal | enabled | up    | 2016-04-26T04:59:41.000000 | -               |
| 2  | nova-consoleauth | controller | internal | enabled | up    | 2016-04-26T04:59:41.000000 | -               |
| 3  | nova-scheduler   | controller | internal | enabled | up    | 2016-04-26T04:59:41.000000 | -               |
| 4  | nova-cert        | controller | internal | enabled | up    | 2016-04-26T04:59:41.000000 | -               |
| 6  | nova-compute     | compute    | nova     | enabled | up    | 2016-04-26T04:59:48.000000 | -               |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+

neutron agent-list

[root@controller misc_openstack]# neutron agent-list
+--------------------------------------+--------------------+------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host       | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+------------+-------+----------------+---------------------------+
| 5f1e0466-e45e-4513-ad07-93820b979bd1 | Linux bridge agent | controller | :-)   | True           | neutron-linuxbridge-agent |
| 7cd7af80-eb4f-4d49-b95d-991cb6760d73 | Linux bridge agent | compute    | :-)   | True           | neutron-linuxbridge-agent |
| 9c4e4485-5d43-4c4f-984f-f8f92d8f9d35 | Metadata agent     | controller | :-)   | True           | neutron-metadata-agent    |
| b167a59f-c750-4c66-9059-a3b615166b10 | DHCP agent         | controller | :-)   | True           | neutron-dhcp-agent        |
+--------------------------------------+--------------------+------------+-------+----------------+---------------------------+
edit retag flag offensive close merge delete