Bug 2017980 - [RFE][Ironic] Re-assign instance.host for baremetal instances whose compute host is disabled or deleted (Sharded API access)
Summary: [RFE][Ironic] Re-assign instance.host for baremetal instances whose compute h...
Keywords:
Status: ON_DEV
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Julia Kreger
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks: 2013329
TreeView+ depends on / blocked
 
Reported: 2021-10-27 20:10 UTC by Artom Lifshitz
Modified: 2024-02-19 18:08 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 813897 0 None ABANDONED Ironic - Handle instance/node host on rebalance 2023-04-18 17:32:03 UTC
Red Hat Issue Tracker OSP-10581 0 None None None 2021-11-15 12:31:14 UTC

Description Artom Lifshitz 2021-10-27 20:10:02 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Have Ironic overcloud, with nova-compute running on the controllers.
2. Perform the controller replacement process, with the replacement controller having a different hostname from the original.

Actual results:

'splosions. Instances with instance.host set to the replaced controller become unmanageable, as their instance.host now refers to a nova-compute service that no longer exists.


Expected results:

No 'splosions.


Additional info:

Comment 1 Artom Lifshitz 2021-10-27 20:13:00 UTC
Coming out of DFG:Compute tech call on October 27th [1], filing this BZ to track the existing WIP patch at [2]

[1] https://docs.google.com/document/d/1vw9wJndmU_4U9mha4HhClEG4jAZPEItn4FysHEqhO_o/edit#heading=h.edqw67arx7si
[2] https://review.opendev.org/c/openstack/nova/+/813897

Comment 2 Julia Kreger 2022-11-29 16:57:07 UTC
Update: The upstream nova project has rejected automatic remedy of the the field value with the existing hash ring design. The forward only solution which was agreed upon during the last upstream PTG is to basically utilize a shard key to be added to ironic's API in order to create reliable pairing/matching of nodes. This is presently being worked in two separate spec documents upstream and contributors are already working on code to make this happen.

* https://review.opendev.org/c/openstack/nova-specs/+/862833
* https://review.opendev.org/c/openstack/ironic-specs/+/861803

Comment 3 Julia Kreger 2023-02-27 18:21:42 UTC
The work has merged in the Ironic project upstream. Community contributors are pushing forward the nova side of the equation which is anticipated to merge in the Bobcat cycle upstream.

Given we were not able to negotiate this to be a bugfix, and the agreed upon solution is quite intertwined, I'm going to mark this as a future feature.


Note You need to log in before you can comment on or make changes to this bug.