From a3cfcfe2ccc851530689e076467b86011b9cc511 Mon Sep 17 00:00:00 2001 From: Michael Sherman Date: Tue, 3 Sep 2024 14:31:13 -0500 Subject: [PATCH] fix refs --- docs/xena-antelope-upgrade.md | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/docs/xena-antelope-upgrade.md b/docs/xena-antelope-upgrade.md index 5493391f..68e36385 100644 --- a/docs/xena-antelope-upgrade.md +++ b/docs/xena-antelope-upgrade.md @@ -133,14 +133,7 @@ After deploying the new version, you will instead see containers named `letsencr * `baremetal node list --fields properties -f json | jq '.[] | .Properties.capabilities'` * for each node, `baremetal node set --property capabilities="boot_mode:bios"` 1. Set cpu_arch capability for all ironic nodes (minor, avoids a warning) - ``` - openstack baremetal node set -- - ``` -1. Ensure all ironic ports for dell os10 switches have the switchport renamed from (1/2/3:4) to (ethernet 1/2/3:4) - ``` - openstack baremetal port list --fields uuid node_uuid local_link_connection - openstack baremetal port set --fields uuid node_uuid local_link_connection - ``` +1. Ensure all ironic ports for dell os10 switches have the switchport renamed from (1/2/3:4) to (ethernet 1/2/3:4), using `openstack baremetal port set --fields uuid node_uuid local_link_connection` 1. fix for any nova compute hosts with uuid!=hypervisor_hostname 1. find hosts affected by the issue ``` @@ -148,8 +141,10 @@ After deploying the new version, you will instead see containers named `letsencr select hypervisor_hostname,uuid from compute_nodes WHERE hypervisor_type='ironic' AND isnull(deleted_at) AND uuid!=hypervisor_hostname limit 100; ``` 1. for each host found with the issue, set reservation=disabled. the `hypervisor_hostname` is the ironic node uuid, and so it can be used for the lease. - 1. during the lease, follow the following procedure: - 1. openstack baremetal + 1. Once the host is not in an active reservation: + 1. delete it from blazar + 1. delete it from ironic + 1. run `openstack hardware sync` to have Doni re-create the node's entries, without the conflicts this time. @@ -251,9 +246,4 @@ After deploying the new version, you will instead see containers named `letsencr ``` openstack endpoint list --interface admin -f value | \ awk '!/keystone/ {print $1}' | xargs openstack endpoint delete - ``` - -### Verification and cleanup after upgrade - - - + ``` \ No newline at end of file