Stable Compute Node UUIDs

Registered by Dan Smith

Nova has long had a dependency on an unchanging hostname on the
compute nodes. This spec aims to address this limitation, at least
from the perspective of being able to detect an accidental change and
avoiding catastrophe in the database that can currently result from a
hostname change, whether intentional or not.

Blueprint information

Status:
Complete
Approver:
Sylvain Bauza
Priority:
Undefined
Drafter:
Dan Smith
Direction:
Approved
Assignee:
Dan Smith
Definition:
Approved
Series goal:
Accepted for antelope
Implementation:
Implemented
Milestone target:
None
Started by
Sylvain Bauza
Completed by
Sylvain Bauza

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:bp/stable-compute-uuid

Addressed by: https://review.opendev.org/c/openstack/nova/+/863915
    Add virt/node module for stable uuids

Addressed by: https://review.opendev.org/c/openstack/nova/+/863916
    Pass service ref to init_host(), if exists

Addressed by: https://review.opendev.org/c/openstack/nova/+/863917
    Add get_available_node_uuids() to virt driver

Addressed by: https://review.opendev.org/c/openstack/nova/+/863918
    WIP: Persist existing node uuids locally

Addressed by: https://review.opendev.org/c/openstack/nova/+/863919
    Make resource tracker use UUIDs instead of names

Addressed by: https://review.opendev.org/c/openstack/nova/+/863920
    WIP: Detect host renames and abort startup

[20230116 bauzas] Spec approved for 2023.1 cycle https://review.opendev.org/c/openstack/nova-specs/+/863152

Addressed by: https://review.opendev.org/c/openstack/nova/+/871848
    Fixup patch for stable-compute-uuid series

Addressed by: https://review.opendev.org/c/openstack/nova/+/872204
    TURBOWIP: Add a host/node consistency check

Addressed by: https://review.opendev.org/c/openstack/nova/+/872220
    Check our nodes for hypervisor_hostname changes

Addressed by: https://review.opendev.org/c/openstack/nova/+/872348
    Move comment about _destroy_evacuated_instances()

Addressed by: https://review.opendev.org/c/openstack/nova/+/872432
    Abort startup if nodename conflict is detected

Addressed by: https://review.opendev.org/c/openstack/nova/+/872441
    Stable compute uuid functional tests

Addressed by: https://review.opendev.org/c/openstack/nova/+/872977
    Add docs for stable-compute-uuid behaviors

[20230210 bauzas] Series is fully implemented, incl. docs

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.