Skip to content

Commit

Permalink
add new stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
msherman64 committed Aug 30, 2024
1 parent ba0658c commit eeac904
Showing 1 changed file with 32 additions and 8 deletions.
40 changes: 32 additions & 8 deletions docs/xena-antelope-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Welcome to the Antelope/2023.1 Release of CHI-in-a-Box! This release rolls up a
* Dev-in-a-box deployment allows both development and CI/CD workflows to execise the baremetal codepaths, network booting VMs instead of real nodes. In particular, this allows testing of networking-generic-switch with vlan-based networks, not just flat networks as in upstream's tenks.
* Tempest test framework can now be installed via chi-in-a-box, this will allow using tempest to run end-to-end acceptance tests on a site after deployment.


### Some things now unblocked and on the roadmap:

* networking-generic-switch: support for "port groups" to enable port bonding depending on switch operating system
* Neutron and networking-generic-switch: support for vlan trunk ports with baremetal nodes

### Selected features from Kolla-Ansible

#### [2023.2 backports](https://docs.openstack.org/releasenotes/kolla-ansible/2023.2.html#):
Expand All @@ -28,6 +34,7 @@ Welcome to the Antelope/2023.1 Release of CHI-in-a-Box! This release rolls up a
* Adds the prometheus_scrape_interval configuration option. The default is set to 60s. This configures the default scrape interval for all jobs.
* Adds support for managing resource providers via [config files](https://docs.openstack.org/nova/latest/admin/managing-resource-providers.html).
* Adds support for configuring a coordination backend for Ironic Inspector via the ironic_coordination_backend variable. Possible values are redis or etcd.
* Networking Generic Switch: support for `SONiC` switch operating system

#### [Yoga](https://docs.openstack.org/releasenotes/kolla-ansible/yoga.html#)
* Adds support for deploying OpenSearch and OpenSearch dashboards. These services directly replace ElasticSearch and Kibana which are now end-of-life. Support for sending logs to a remote ElasticSearch (or OpenSearch) cluster is maintained.
Expand Down Expand Up @@ -126,9 +133,30 @@ 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)
1. Ensure all ironic ports for dell os10 switches have the switchport renamed from (1/2/3:4) to (ethernet 1/2/3:4). NOTE: this is blocked until we add a patch to xena’s NGS for compatibility with this change.
1. Check for any nova hypervisors with uuid!=hypervisor_hostname
1. Todo: document robust fix, placement is annoying
```
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. 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. Ensure remote access to the management node:
1. Ipmi serial console can be accessed
1. Root password works
Expand Down Expand Up @@ -165,13 +193,10 @@ After deploying the new version, you will instead see containers named `letsencr
1. Reboot
1. Check on interface definitions and any apt sources that need updating
1. Delete kolla virtualenv from `/etc/ansible/venv`
1. shut down letsencrypt containers, as name changed
1. shut down containers which have had their names changed:
```
docker stop letsencrypt_certbot
docker stop letsencrypt_acme
```
1. shut down ironic http containers, as name changed
```
docker stop ironic_pxe
docker stop ironic_ipxe
```
Expand Down Expand Up @@ -221,7 +246,6 @@ After deploying the new version, you will instead see containers named `letsencr
```
1. rerun `cc-ansible deploy --tags nova` to create service user
1. rerun `cc-ansible upgrade` this should now pass nova and continue.
1. TODO: note UUID issue, potential migration
1. Apply cleanups for keystone admin endpoints:
1. Cc-ansible deploy –tags keystone
```
Expand Down

0 comments on commit eeac904

Please sign in to comment.