Faults from cell DB missing in GET /servers/detail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Johannes Kulik |
Bug Description
Description
===========
Field `fault` is empty in the response of API GET /servers/detail if the instance (hence instace_faults DB entry) is in nova cell DB.
Unlike that, for API /servers/:id fault is retrieved correctly no matter in which nova cell the instance belongs.
Steps to reproduce
==================
* Ensure two servers/instances with faults (i.e. entry in instance_faults DB table) in different Nova cells
* Invoke REST API call GET /servers/detail
Expected result
===============
The result entries for both instances should contain value for `fault` field.
Actual result
=============
`fault` is initialized only for the instance in cell 0. For the other one it's empty.
Environment
===========
1. Exact version of OpenStack you are running. See the following
Queens
2. Which hypervisor did you use?
VMware 6.5
Changed in nova: | |
assignee: | nobody → Ivaylo Mitev (imitev) |
status: | Incomplete → In Progress |
Changed in nova: | |
assignee: | Ivaylo Mitev (imitev) → Johannes Kulik (jkulik) |
The fault is only exposed if the server status is ERROR or DELETED. For the server that is not showing the fault in the response (from cell1) what is the status of that server?