← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1856329] [NEW] Faults from cell DB missing in GET /servers/detail

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: Incomplete

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1856329

Title:
  Faults from cell DB missing in GET /servers/detail

Status in OpenStack Compute (nova):
  Incomplete

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1856329/+subscriptions