Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Heat removal in 2024.1 OpenStack upgrade #1425

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 38 additions & 1 deletion doc/source/operations/upgrading-openstack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,44 @@ driver. Instructions for enabling the driver can be found `here
<../configuration/magnum-capi.rst>`_. Enable the driver, recreate any clusters
using Heat, and disable the service.

TODO: guide for disabling Heat
After the upgrade (so that alerts don't fire) you can remove Heat with the
following:

.. code-block:: console

kayobe overcloud host command run --command "rm /etc/kolla/haproxy/services.d/heat-api.cfg" -l network -b
kayobe overcloud host command run --command "rm /etc/kolla/haproxy/services.d/heat-api-cfn.cfg" -l network -b

kayobe overcloud host command run --command "systemctl restart kolla-haproxy-container.service" -l network[0] -b
kayobe overcloud host command run --command "systemctl restart kolla-haproxy-container.service" -l network[1] -b
kayobe overcloud host command run --command "systemctl restart kolla-haproxy-container.service" -l network[2] -b

kayobe overcloud host command run --command "systemctl stop kolla-heat_api-container.service kolla-heat_api_cfn-container.service kolla-heat_engine-container.service" -l controllers -b
kayobe overcloud host command run --command "systemctl disable kolla-heat_api-container.service kolla-heat_api_cfn-container.service kolla-heat_engine-container.service" -l controllers -b
kayobe overcloud host command run --command "rm /etc/systemd/system/kolla-heat_api-container.service" -l controllers -b
kayobe overcloud host command run --command "rm /etc/systemd/system/kolla-heat_api_cfn-container.service" -l controllers -b
kayobe overcloud host command run --command "rm /etc/systemd/system/kolla-heat_engine-container.service" -l controllers -b

kayobe overcloud host command run --command "docker rm heat_api heat_api_cfn heat_engine" -l controllers
MoteHue marked this conversation as resolved.
Show resolved Hide resolved

kayobe overcloud host command run --command "rm -rf /etc/kolla/heat-api /etc/kolla/heat-api-cfn /etc/kolla/heat-engine" --limit controllers -b

Then from the OpenStack CLI:

.. code-block:: console

openstack service delete heat
openstack user delete heat
openstack domain set --disable heat_user_domain
openstack domain delete heat_user_domain

You can drop the ``heat`` database too, unless you want to keep historical content.

.. code-block:: console

docker exec -it mariadb mysql -u root -p
Enter the database password when prompted.
drop database heat;

Designate sink disabled by default
----------------------------------
Expand Down