From ef704ac79101ac9efabcd2d7017db131daede122 Mon Sep 17 00:00:00 2001 From: Matt Verran Date: Wed, 28 Oct 2026 18:03:28 +0000 Subject: [PATCH] fix: minor loadbalancer corrections - note vault before secrets - change load-balancer to loadbalancer as per sunbeam enable command --- docs/how-to/features/load-balancer.rst | 22 ++++++++++++++-------- docs/how-to/snippets/load-balancer.task.sh | 17 ----------------- docs/how-to/snippets/loadbalancer.task.sh | 17 +++++++++++++++++ 3 files changed, 31 insertions(+), 25 deletions(-) delete mode 100644 docs/how-to/snippets/load-balancer.task.sh create mode 100644 docs/how-to/snippets/loadbalancer.task.sh diff --git a/docs/how-to/features/load-balancer.rst b/docs/how-to/features/load-balancer.rst index 7d0d5e26..b554bec9 100644 --- a/docs/how-to/features/load-balancer.rst +++ b/docs/how-to/features/load-balancer.rst @@ -20,12 +20,18 @@ OpenStack load balancing service. Two provider backends are supported: Enabling Load Balancer ---------------------- +.. note:: + + The :doc:`Vault ` and :doc:`Secrets ` + features are dependencies of the Load Balancer feature and should be enabled + prior to enabling Octavia. + To enable Load Balancer, run the following command: -.. literalinclude:: ../snippets/load-balancer.task.sh +.. literalinclude:: ../snippets/loadbalancer.task.sh :language: bash - :start-after: [docs-view:enable-load-balancer] - :end-before: [docs-view:enable-load-balancer-end] + :start-after: [docs-view:enable-loadbalancer] + :end-before: [docs-view:enable-loadbalancer-end] This enables Octavia with the OVN provider. Use the OpenStack CLI to manage load balancers. See the upstream `Octavia documentation @@ -90,12 +96,12 @@ option: - Description * - Enable Octavia Amphora provider? - ``y`` - - Activates the Amphora VM-based load-balancer backend. + - Activates the Amphora VM-based loadbalancer backend. * - Amphora image tag - ``octavia-amphora`` - Glance tag Octavia uses to locate the Amphora VM image. An image with this tag must exist in Glance before Octavia can create - load-balancer instances. + loadbalancer instances. * - Auto-create Amphora image? - ``n`` - If enabled, Sunbeam downloads the upstream Octavia Amphora image @@ -214,10 +220,10 @@ Disabling Load Balancer To disable Load Balancer, run the following command: -.. literalinclude:: ../snippets/load-balancer.task.sh +.. literalinclude:: ../snippets/loadbalancer.task.sh :language: bash - :start-after: [docs-view:disable-load-balancer] - :end-before: [docs-view:disable-load-balancer-end] + :start-after: [docs-view:disable-loadbalancer] + :end-before: [docs-view:disable-loadbalancer-end] Usage ----- diff --git a/docs/how-to/snippets/load-balancer.task.sh b/docs/how-to/snippets/load-balancer.task.sh deleted file mode 100644 index 1308f1d5..00000000 --- a/docs/how-to/snippets/load-balancer.task.sh +++ /dev/null @@ -1,17 +0,0 @@ -# @depends: tutorial/snippets/get-started-with-openstack.task.sh - -# [docs-view:enable-load-balancer] -sunbeam enable load-balancer -# [docs-view:enable-load-balancer-end] - -# [docs-exec:enable-load-balancer] -sg snap_daemon 'sunbeam enable load-balancer' -# [docs-exec:enable-load-balancer-end] - -# [docs-view:disable-load-balancer] -sunbeam disable load-balancer -# [docs-view:disable-load-balancer-end] - -# [docs-exec:disable-load-balancer] -sg snap_daemon 'sunbeam disable load-balancer' -# [docs-exec:disable-load-balancer-end] diff --git a/docs/how-to/snippets/loadbalancer.task.sh b/docs/how-to/snippets/loadbalancer.task.sh new file mode 100644 index 00000000..b9ce1052 --- /dev/null +++ b/docs/how-to/snippets/loadbalancer.task.sh @@ -0,0 +1,17 @@ +# @depends: tutorial/snippets/get-started-with-openstack.task.sh + +# [docs-view:enable-loadbalancer] +sunbeam enable loadbalancer +# [docs-view:enable-loadbalancer-end] + +# [docs-exec:enable-loadbalancer] +sg snap_daemon 'sunbeam enable loadbalancer' +# [docs-exec:enable-loadbalancer-end] + +# [docs-view:disable-loadbalancer] +sunbeam disable loadbalancer +# [docs-view:disable-loadbalancer-end] + +# [docs-exec:disable-loadbalancer] +sg snap_daemon 'sunbeam disable loadbalancer' +# [docs-exec:disable-loadbalancer-end]