Skip to content

Commit

Permalink
fix refs
Browse files Browse the repository at this point in the history
  • Loading branch information
msherman64 committed Sep 3, 2024
1 parent eeac904 commit a3cfcfe
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions docs/xena-antelope-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,23 +133,18 @@ 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
```
use nova;
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.
Expand Down Expand Up @@ -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
```

0 comments on commit a3cfcfe

Please sign in to comment.