← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2039597] Re: nova-status upgrade check fails on Object ID linkage

 

** Changed in: nova
       Status: Fix Released => Fix Committed

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

Title:
  nova-status upgrade check fails on Object ID linkage

Status in OpenStack Compute (nova):
  Fix Committed

Bug description:
  Description
  ===========

  With upgrade from 2023.1 to 2023.2 when running nova-status upgrade
  check it fails with exit code 2.

  
  According to the documentation [1], this command was run with the new codebase (2023.2) but before any service (api/conductor/scheduler/compute) was restarted, so they still run on 2023.1 codebase.

  With that all computes are UP and healthy:

  # openstack compute service list
  +--------------------------------------+----------------+------+----------+---------+-------+----------------------------+
  | ID                                   | Binary         | Host | Zone     | Status  | State | Updated At                 |
  +--------------------------------------+----------------+------+----------+---------+-------+----------------------------+
  | 001ea1ce-363f-41d1-9ce3-59ff966452a7 | nova-conductor | aio1 | internal | enabled | up    | 2023-10-17T18:14:38.000000 |
  | 8df25103-65c9-4892-be05-ebed7f3c1ad4 | nova-scheduler | aio1 | internal | enabled | up    | 2023-10-17T18:14:40.000000 |
  | d85b115a-cd8a-4ac9-82bc-f7a5f457cedc | nova-compute   | aio1 | nova     | enabled | up    | 2023-10-17T18:14:39.000000 |
  +--------------------------------------+----------------+------+----------+---------+-------+----------------------------+

  
  Steps to reproduce
  ==================

  * Run cluster on 2023.1
  * Perform upgrade to 2023.2 but do not restart nova services (as assumed by the documentation)
  * Run nova-status upgrade check

  Expected result
  ===============

  Upgrade check passes

  
  Actual result
  =============

  +---------------------------------------------------------------------+
  | Check: Object ID linkage                                            |
  | Result: Failure                                                     |
  | Details: Compute node objects without service_id linkage were found |
  |   in the database. Ensure all non-deleted compute services          |
  |   have started with upgraded code.                                  |
  +---------------------------------------------------------------------+

  
  1] https://docs.openstack.org/nova/latest/cli/nova-status.html#upgrade

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



References