Compute node soft undelete raises inactive session error

Bug #1853159 reported by Mark Goddard on 2019-11-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Mark Goddard

Bug Description

In the fix for bug 1839560, soft-deleted compute nodes may be restored, to ensure we can reuse ironic node UUIDs as compute node UUIDs. While this seems to largely work, it results in some nasty errors being generated.

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

Same as bug 1839560.

Expected results
================

Compute node is restored in an orderly fashion.

Actual results
==============

Example error:

http://paste.openstack.org/show/786350/

Despite the error, all my testing shows that the node is actually restored. However, the exception raised breaks the execution of the resource tracker update, which no doubt has some unintended consequences.

Environment
===========

Seen on Rocky 18.2.0, and master (in functional testing).

Mark Goddard (mgoddard) on 2019-11-19
Changed in nova:
assignee: nobody → Mark Goddard (mgoddard)
status: New → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers