@@ -55,7 +55,7 @@ Configuring Prometheus Alerts
5555-----------------------------
5656
5757Alerts are defined in code and stored in Kayobe configuration. See ``*.rules ``
58- files in ``${ KAYOBE_CONFIG_PATH} /kolla/config/prometheus `` as a model to add
58+ files in ``$KAYOBE_CONFIG_PATH/kolla/config/prometheus `` as a model to add
5959custom rules.
6060
6161Silencing Prometheus Alerts
@@ -88,7 +88,7 @@ Generating Alerts from Metrics
8888++++++++++++++++++++++++++++++
8989
9090Alerts are defined in code and stored in Kayobe configuration. See ``*.rules ``
91- files in ``${ KAYOBE_CONFIG_PATH} /kolla/config/prometheus `` as a model to add
91+ files in ``$KAYOBE_CONFIG_PATH/kolla/config/prometheus `` as a model to add
9292custom rules.
9393
9494Control Plane Shutdown Procedure
@@ -124,7 +124,7 @@ The password can be found using:
124124
125125.. code-block :: console
126126
127- kayobe# ansible-vault view ${ KAYOBE_CONFIG_PATH} /kolla/passwords.yml \
127+ kayobe# ansible-vault view $KAYOBE_CONFIG_PATH/kolla/passwords.yml \
128128 --vault-password-file <Vault password file path> | grep ^database
129129
130130 Checking RabbitMQ
@@ -135,6 +135,7 @@ RabbitMQ health is determined using the command ``rabbitmqctl cluster_status``:
135135.. code-block :: console
136136
137137 [stack@controller0 ~]$ docker exec rabbitmq rabbitmqctl cluster_status
138+
138139 Cluster status of node rabbit@controller0 ...
139140 [{nodes,[{disc,['rabbit@controller0','rabbit@controller1',
140141 'rabbit@controller2']}]},
@@ -180,20 +181,18 @@ If you are shutting down a single hypervisor, to avoid down time to tenants it
180181is advisable to migrate all of the instances to another machine. See
181182:ref: `evacuating-all-instances `.
182183
183- .. ifconfig :: deployment['ceph_managed']
184-
185- Ceph
186- ----
184+ Ceph
185+ ----
187186
188- The following guide provides a good overview:
189- https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/8/html/director_installation_and_usage/sect-rebooting-ceph
187+ The following guide provides a good overview:
188+ https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/8/html/director_installation_and_usage/sect-rebooting-ceph
190189
191190Shutting down the seed VM
192191-------------------------
193192
194193.. code-block :: console
195194
196- kayobe# virsh shutdown <Seed node >
195+ kayobe# virsh shutdown <Seed hostname >
197196
198197 .. _full-shutdown :
199198
@@ -262,7 +261,7 @@ hypervisor is powered on. If it does not, it can be started with:
262261
263262.. code-block :: console
264263
265- kayobe# virsh start seed-0
264+ kayobe# virsh start <Seed hostname>
266265
267266 Full power on
268267-------------
@@ -340,13 +339,14 @@ To see the list of hypervisor names:
340339
341340.. code-block :: console
342341
343- admin# openstack hypervisor list
342+ # From host that can reach Openstack
343+ openstack hypervisor list
344344
345345 To boot an instance on a specific hypervisor
346346
347347.. code-block :: console
348348
349- admin# openstack server create --flavor <Flavour name>--network <Network name> --key-name <key> --image <Image name> --availability-zone nova::<Hypervisor name> <VM name>
349+ openstack server create --flavor <Flavour name>--network <Network name> --key-name <key> --image <Image name> --availability-zone nova::<Hypervisor name> <VM name>
350350
351351 Cleanup Procedures
352352==================
@@ -360,22 +360,23 @@ perform the following cleanup procedure regularly:
360360
361361.. code-block :: console
362362
363- admin# for user in $(openstack user list --domain magnum -f value -c Name | grep -v magnum_trustee_domain_admin); do
364- if openstack coe cluster list -c uuid -f value | grep -q $(echo $user | sed 's/_[0-9a-f]*$//'); then
365- echo "$user still in use, not deleting"
366- else
367- openstack user delete --domain magnum $user
368- fi
369- done
363+ for user in $(openstack user list --domain magnum -f value -c Name | grep -v magnum_trustee_domain_admin); do
364+ if openstack coe cluster list -c uuid -f value | grep -q $(echo $user | sed 's/_[0-9a-f]*$//'); then
365+ echo "$user still in use, not deleting"
366+ else
367+ openstack user delete --domain magnum $user
368+ fi
369+ done
370370
371371 OpenSearch indexes retention
372372=============================
373373
374374To alter default rotation values for OpenSearch, edit
375375
376- ``${ KAYOBE_CONFIG_PATH} /kolla/globals.yml ``:
376+ ``$KAYOBE_CONFIG_PATH/kolla/globals.yml ``:
377377
378378.. code-block :: console
379+
379380 # Duration after which index is closed (default 30)
380381 opensearch_soft_retention_period_days: 90
381382 # Duration after which index is deleted (default 60)
@@ -384,8 +385,8 @@ To alter default rotation values for OpenSearch, edit
384385 Reconfigure Opensearch with new values:
385386
386387.. code-block :: console
387- kayobe overcloud service reconfigure --kolla-tags opensearch
388388
389- For more information see the ` upstream documentation
389+ kayobe# kayobe overcloud service reconfigure --kolla-tags opensearch
390390
391+ For more information see the `upstream documentation
391392<https://docs.openstack.org/kolla-ansible/latest/reference/logging-and-monitoring/central-logging-guide.html#applying-log-retention-policies> `__.
0 commit comments