Volume hangs in "creating" status even though scheduler raises "No valid host" exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Russell Bryant |
Bug Description
When the volume creation process fails during scheduling (i.e. there is no appropriate host) the status in DB (and in nova volume-list output as a result) hangs with a "creating..." value.
In such case to figure out that volume creation failed one should go and see /var/log/
Simple scheduler is being used (nova.conf):
--scheduler_
Here is a sample output from DB:
*******
availability_
attach_
terminate
display_
provider_
provider_
volume_
Here is a part of interest in nova-scheduler.log:
pic': u'volume', u'filter_
15 2012-09-21 10:15:47 DEBUG nova.rpc.amqp [req-01f7dd30-
14 2012-09-21 10:15:47 WARNING nova.scheduler.
13 2012-09-21 10:15:47 ERROR nova.rpc.amqp [req-01f7dd30-
12 2012-09-21 10:15:47 TRACE nova.rpc.amqp Traceback (most recent call last):
11 2012-09-21 10:15:47 TRACE nova.rpc.amqp File "/usr/lib/
10 2012-09-21 10:15:47 TRACE nova.rpc.amqp rval = node_func(
9 2012-09-21 10:15:47 TRACE nova.rpc.amqp File "/usr/lib/
8 2012-09-21 10:15:47 TRACE nova.rpc.amqp context, ex, *args, **kwargs)
7 2012-09-21 10:15:47 TRACE nova.rpc.amqp File "/usr/lib/
6 2012-09-21 10:15:47 TRACE nova.rpc.amqp self.gen.next()
5 2012-09-21 10:15:47 TRACE nova.rpc.amqp File "/usr/lib/
4 2012-09-21 10:15:47 TRACE nova.rpc.amqp return driver_
3 2012-09-21 10:15:47 TRACE nova.rpc.amqp File "/usr/lib/
2 2012-09-21 10:15:47 TRACE nova.rpc.amqp raise exception.
1 2012-09-21 10:15:47 TRACE nova.rpc.amqp NoValidHost: No valid host was found. Is the appropriate service running?
0 2012-09-21 10:15:47 TRACE nova.rpc.amqp
tags: | added: folsom-rc-potential |
Changed in nova: | |
milestone: | none → folsom-rc2 |
tags: | removed: folsom-rc-potential |
Changed in cinder: | |
milestone: | none → folsom-rc2 |
milestone: | folsom-rc2 → none |
Changed in nova: | |
milestone: | folsom-rc2 → 2012.2 |
What version of nova?