Skip to content

Commit

Permalink
Merge pull request #274 from stackhpc/upstream/2023.1-2024-05-13
Browse files Browse the repository at this point in the history
Synchronise 2023.1 with upstream
  • Loading branch information
markgoddard authored May 13, 2024
2 parents 2c0b64e + cbda30c commit 3949fe9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/apt/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ apt_proxy_https: "{{ apt_proxy_http }}"
apt_config: []

# Directory containing GPG keyrings for apt repos.
apt_keys_path: "/usr/local/share/keyrings"
apt_keys_path: "/etc/apt/keyrings"

# List of apt keys. Each item is a dict containing the following keys:
# * url: URL of key
Expand Down
12 changes: 4 additions & 8 deletions doc/source/administration/seed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ Backup
It should be safe to keep services running during the backup, but for maximum
safety they may optionally be stopped::

docker exec -it bifrost_deploy \
systemctl stop ironic-api ironic-conductor ironic-inspector
docker exec -it bifrost_deploy systemctl stop ironic ironic-inspector

Then, to perform the backup::

Expand All @@ -123,17 +122,15 @@ Then, to perform the backup::

If the services were stopped prior to the backup, start them again::

docker exec -it bifrost_deploy \
systemctl start ironic-api ironic-conductor ironic-inspector
docker exec -it bifrost_deploy systemctl start ironic ironic-inspector

Restore
^^^^^^^

Prior to restoring the database, the Ironic and Ironic Inspector services
should be stopped::

docker exec -it bifrost_deploy \
systemctl stop ironic-api ironic-conductor ironic-inspector
docker exec -it bifrost_deploy systemctl stop ironic ironic-inspector

The database may then safely be restored::

Expand All @@ -142,8 +139,7 @@ The database may then safely be restored::

Finally, start the Ironic and Ironic Inspector services again::

docker exec -it bifrost_deploy \
systemctl start ironic-api ironic-conductor ironic-inspector
docker exec -it bifrost_deploy systemctl start ironic ironic-inspector

Running Commands
================
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Fixes default Ubuntu Apt keyrings location to the recommended
``/etc/apt/keyrings``.

0 comments on commit 3949fe9

Please sign in to comment.