Instance's Task state never change from "scheduling" after sending SIGHUP to nova-compute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Ankit Agrawal |
Bug Description
[Issue]
I tried to reload nova.conf with sending SIGHUP to nova-compute.
In my understanding, nova-compute can reload nova.conf by receiving SIGHUP when it has started as daemon.
Reloading config is succeed.
However, booting new instance doesn't work correctly after sending SIGHUP.
Task State would never change from "scheduling".
$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 9aa89186-
+------
[How to reproduce]
nova's commit id: 33fc957a5aeb9d3
1) Start nova-compute as daemon.
$ sudo cat /etc/init/
description "nova-compute"
author "openstack"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [016]
exec su -s /bin/sh -c "exec /usr/local/
$ sudo service nova-compute start
nova-compute start/running, process 10521
2) Send SIGHUP to nova-compute's PID.
$ ps aux|grep nova-compute
root 10521 0.0 0.0 4052 1548 ? Ss 15:42 0:00 su -s /bin/sh -c exec /usr/local/
devstack 10523 19.5 1.5 220744 32796 ? Ssl 15:42 0:00 /usr/bin/python /usr/local/
$ sudo kill -SIGHUP 10523
3) Verify nova-compute.log and check reload success.
$ cat /home/devstack/
:
2014-04-07 15:46:18.791 INFO nova.openstack.
2014-04-07 15:46:18.811 DEBUG nova.openstack.
:
4) Boot new instance and check Task State of new instance repeatedly.
$ nova boot --flavor 1 --image dee24998-
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
:
5) Task State would never change from scheduling.
$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 9aa89186-
+------
tags: | added: compute |
Changed in nova: | |
assignee: | nobody → Ankit Agrawal (ankitagrawal) |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
status: | In Progress → Confirmed |
Changed in nova: | |
status: | Confirmed → Fix Committed |
Changed in nova: | |
milestone: | none → kilo-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-rc1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/98076
Review: https:/