change logging message if no compute nodes available

Bug #718847 reported by Christian Berendt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Josh Kearney

Bug Description

please change the logging message to something more meaningful...

in /var/log/nova/scheduler.log:

2011-02-14 16:23:31,251 ERROR nova.root [-] Exception during message handling
(nova.root): TRACE: Traceback (most recent call last):
(nova.root): TRACE: File "/usr/lib64/python2.6/site-packages/nova/rpc.py", line 192, in receive
(nova.root): TRACE: rval = node_func(context=ctxt, **node_args)
(nova.root): TRACE: File "/usr/lib64/python2.6/site-packages/nova/scheduler/manager.py", line 63, in _schedule
(nova.root): TRACE: host = self.driver.schedule(elevated, topic, *args, **kwargs)
(nova.root): TRACE: File "/usr/lib64/python2.6/site-packages/nova/scheduler/chance.py", line 37, in schedule
(nova.root): TRACE: raise driver.NoValidHost(_("No hosts found"))
(nova.root): TRACE: NoValidHost: No hosts found
(nova.root): TRACE:

# euca-describe-instances
RESERVATION r-nrg6tjtv testing default
INSTANCE i-00000005 ami-3x776h8w scheduling None (testing, None) 0 m1.tiny 2011-02-14 16:23:31 unknown zone

Related branches

Jay Pipes (jaypipes)
summary: - change logging message if no compute notes available
+ change logging message if no compute nodes available
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
Josh Kearney (jk0)
Changed in nova:
status: Confirmed → In Progress
assignee: nobody → Josh Kearney (jk0)
Josh Kearney (jk0)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.