Nova show will not display NoValidHost with right exception traces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Medium
|
Unassigned |
Bug Description
As for the nova scheduler for scheduler multiple attempts, If with certain host deployment attempt failed raise with detail exceptions, nova scheduler will choose other host to retry.
But after all attempts are tried. it will raise a Generic NoValidHost exception without a proper message. It will make nova show <instance> will not display useful information straightforward to end users.
So it's suggested to wrap the NoValidHost exception message with last attempt failure exception detail trace.
For example,
When using nova vmware driver to spawn a VM with the disk larger than the datastore upper limit, it will raise an exception
for DatastoreNotFound exception with detail, but after scheduler retries, it will got lost from nova show. So it would be friendly to have operators to view such error directly from the nova show instead for digging into the scheduler log.
filter_scheduler.py
schedule_
for num, instance_uuid in enumerate(
try:
summary: |
- Nova show will not display NoValidHost with detail exception traces + Nova show will not display NoValidHost with right exception traces |
tags: | added: scheduler |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | Sudipta Biswas (sbiswas7) → nobody |
Changed in nova: | |
assignee: | nobody → Manjunath Ranganathaiah (manjunath-ranganathaiah) |
Changed in nova: | |
assignee: | Manjunath Ranganathaiah (manjunath-ranganathaiah) → nobody |
Fix proposed to branch: master /review. openstack. org/121739
Review: https:/