From 95891e6110ac37feedbd0d8f2568dc4e31fd81fd Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 4 Apr 2024 12:41:06 +0200 Subject: [PATCH] Fix Bifrost database backup instructions Bifrost uses a combined Ironic service instead of API and conductor services since the Yoga release [1]. [1] https://review.opendev.org/c/openstack/bifrost/+/820390 Change-Id: I80a7ea06620c69ff2ba2ab8fe78b990ef3c151ec (cherry picked from commit 449fc919861f318b0b7fc5262e4ad67f98625c93) --- doc/source/administration/seed.rst | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/doc/source/administration/seed.rst b/doc/source/administration/seed.rst index d54499cd7..ff8fab510 100644 --- a/doc/source/administration/seed.rst +++ b/doc/source/administration/seed.rst @@ -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:: @@ -123,8 +122,7 @@ 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 ^^^^^^^ @@ -132,8 +130,7 @@ 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:: @@ -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 ================