Nova is leaking libvirt internal ids on some Instance Not Found errors
Bug #1522454 reported by
Sean Dague
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Stephen Finucane |
Bug Description
Nova from master in the gate.
libvirt is incorrectly using InstanceNotFound as an internal exception, but handing it libvirt internal ids instead of an openstack uuid or ec2id. This means it jumps up through the stack and back to the user, giving errors over http like Instance instance-000000a not found. This is both an information leak, and useless bit of information for the user to figure out what's going on.
libvirt should use an internal exception instead.
Changed in nova: | |
status: | Confirmed → Triaged |
Changed in nova: | |
assignee: | nobody → idzzy (idzzy) |
Changed in nova: | |
status: | In Progress → Confirmed |
assignee: | idzzy (idzzy) → nobody |
Changed in nova: | |
assignee: | nobody → Mohammed Ashraf (mohammed-asharaf) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | Mohammed Ashraf (mohammed-asharaf) → nobody |
Changed in nova: | |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | nobody → Mohammed Ashraf (mohammed-asharaf) |
Changed in nova: | |
assignee: | Mohammed Ashraf (mohammed-asharaf) → nobody |
Changed in nova: | |
assignee: | nobody → Stephen Finucane (sfinucan) |
To post a comment you must log in.
Seen here:
http:// logs.openstack. org/54/ 232554/ 17/check/ gate-grenade- dsvm-multinode/ dcd1e94/ logs/old/ screen- n-api.txt. gz?level= INFO#_2015- 12-03_09_ 47_51_258
https:/ /github. com/openstack/ nova/blob/ 89dd62aabf62175 724e0e05765c975 9cd9160263/ nova/virt/ libvirt/ host.py# L654