← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1892176] [NEW] Inconsistent result between index and show of instance api

 

Public bug reported:

Description
===========
Using index API can get instance but show API get none.

Steps to reproduce
==================
1. Launch one baremetal instance;
2. Then kill ironic-api process;
3. List and grep uuid;
4. Get uuid

Expected result
===============
Step 3 and 4 both get instance

Actual result
=============
Step 3 can get instance
Step 4 return: "No server with a name or ID of '0614445f-6af0-40a7-802d-f66f81944544' exists."

Environment
===========
stable/rocky

Logs & Configs
==============
# openstack server list --all |grep 0614445f-6af0-40a7-802d-f66f81944544
| 0614445f-6af0-40a7-802d-f66f81944544 | CPS-202073110420                                                                                     | BUILD             |                                                                                                                                                                                                                                                                                                                 | cps-centos7.4-x64-20190109                      | CPS_STD_BASIC                    |

# openstack server show 0614445f-6af0-40a7-802d-f66f81944544
No server with a name or ID of '0614445f-6af0-40a7-802d-f66f81944544' exists.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1892176

Title:
  Inconsistent result between index and show of instance api

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  Using index API can get instance but show API get none.

  Steps to reproduce
  ==================
  1. Launch one baremetal instance;
  2. Then kill ironic-api process;
  3. List and grep uuid;
  4. Get uuid

  Expected result
  ===============
  Step 3 and 4 both get instance

  Actual result
  =============
  Step 3 can get instance
  Step 4 return: "No server with a name or ID of '0614445f-6af0-40a7-802d-f66f81944544' exists."

  Environment
  ===========
  stable/rocky

  Logs & Configs
  ==============
  # openstack server list --all |grep 0614445f-6af0-40a7-802d-f66f81944544
  | 0614445f-6af0-40a7-802d-f66f81944544 | CPS-202073110420                                                                                     | BUILD             |                                                                                                                                                                                                                                                                                                                 | cps-centos7.4-x64-20190109                      | CPS_STD_BASIC                    |

  # openstack server show 0614445f-6af0-40a7-802d-f66f81944544
  No server with a name or ID of '0614445f-6af0-40a7-802d-f66f81944544' exists.

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


Follow ups