Skip to content

Commit c444bf0

Browse files
committed
Replace etc/kayobe to $KAYOBE_CONFIG_PATH
1 parent 440a20c commit c444bf0

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

doc/source/operations/ceph-management.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ please refer to :ref:`cephadm-kayobe` documentation.
1111
Cephadm configuration location
1212
------------------------------
1313

14-
In kayobe-config repository, under ``etc/kayobe/cephadm.yml`` (or in a specific
14+
In kayobe-config repository, under ``$KAYOBE_CONFIG_PATH/cephadm.yml`` (or in a specific
1515
Kayobe environment when using multiple environment, e.g.
16-
``etc/kayobe/environments/<Environment Name>/cephadm.yml``)
16+
``$KAYOBE_CONFIG_PATH/environments/<environment name>/cephadm.yml``)
1717

1818
StackHPC's Cephadm Ansible collection relies on multiple inventory groups:
1919

@@ -22,12 +22,12 @@ StackHPC's Cephadm Ansible collection relies on multiple inventory groups:
2222
- ``osds``
2323
- ``rgws`` (optional)
2424

25-
Those groups are usually defined in ``etc/kayobe/inventory/groups``.
25+
Those groups are usually defined in ``$KAYOBE_CONFIG_PATH/inventory/groups``.
2626

2727
Running Cephadm playbooks
2828
-------------------------
2929

30-
In kayobe-config repository, under ``etc/kayobe/ansible`` there is a set of
30+
In kayobe-config repository, under ``$KAYOBE_CONFIG_PATH/ansible`` there is a set of
3131
Cephadm based playbooks utilising stackhpc.cephadm Ansible Galaxy collection.
3232

3333
``cephadm.yml`` runs the end to end process of Cephadm deployment and
@@ -38,14 +38,14 @@ and they can be run separately.
3838
additional playbooks
3939
- ``cephadm-commands-pre.yml`` - Runs Ceph commands before post-deployment
4040
configuration (You can set a list of commands at ``cephadm_commands_pre_extra``
41-
in ``cephadm.yml``)
41+
variable in ``$KAYOBE_CONFIG_PATH/cephadm.yml``)
4242
- ``cephadm-ec-profiles.yml`` - Defines Ceph EC profiles
4343
- ``cephadm-crush-rules.yml`` - Defines Ceph crush rules according
4444
- ``cephadm-pools.yml`` - Defines Ceph pools
4545
- ``cephadm-keys.yml`` - Defines Ceph users/keys
4646
- ``cephadm-commands-post.yml`` - Runs Ceph commands after post-deployment
4747
configuration (You can set a list of commands at ``cephadm_commands_post_extra``
48-
in ``cephadm.yml``)
48+
variable in ``$KAYOBE_CONFIG_PATH/cephadm.yml``)
4949

5050
There are also other Ceph playbooks that are not part of ``cephadm.yml``
5151

@@ -102,7 +102,7 @@ Once all daemons are removed - you can remove the host:
102102
ceph orch host rm <host>
103103
104104
And then remove the host from inventory (usually in
105-
``etc/kayobe/inventory/overcloud``)
105+
``$KAYOBE_CONFIG_PATH/inventory/overcloud``)
106106

107107
Additional options/commands may be found in
108108
`Host management <https://docs.ceph.com/en/latest/cephadm/host-management/>`_
@@ -194,7 +194,7 @@ After removing OSDs, if the drives the OSDs were deployed on once again become
194194
available, Cephadm may automatically try to deploy more OSDs on these drives if
195195
they match an existing drivegroup spec.
196196
If this is not your desired action plan - it's best to modify the drivegroup
197-
spec before (``cephadm_osd_spec`` variable in ``etc/kayobe/cephadm.yml``).
197+
spec before (``cephadm_osd_spec`` variable in ``$KAYOBE_CONFIG_PATH/cephadm.yml``).
198198
Either set ``unmanaged: true`` to stop Cephadm from picking up new disks or
199199
modify it in some way that it no longer matches the drives you want to remove.
200200

doc/source/operations/customising-horizon.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Adding the custom theme
5151

5252
Create a directory and transfer custom theme files to it ``$KAYOBE_CONFIG_PATH/kolla/config/horizon/themes/<custom theme name>``.
5353

54-
Define the custom theme in ``etc/kayobe/kolla/globals.yml``
54+
Define the custom theme in ``$KAYOBE_CONFIG_PATH/kolla/globals.yml``
5555

5656
.. code-block:: yaml
5757

doc/source/operations/gpu-in-openstack.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ Configure nova-scheduler
991991
992992
The nova-scheduler service must be configured to enable the ``PciPassthroughFilter``
993993
To enable it add it to the list of filters to Kolla-Ansible configuration file:
994-
``etc/kayobe/kolla/config/nova.conf``, for instance:
994+
``$KAYOBE_CONFIG_PATH/kolla/config/nova.conf``, for instance:
995995
996996
.. code-block:: yaml
997997
@@ -1006,7 +1006,7 @@ Configuration can be applied in flexible ways using Kolla-Ansible's
10061006
methods for `inventory-driven customisation of configuration
10071007
<https://docs.openstack.org/kayobe/latest/configuration/reference/kolla-ansible.html#service-configuration>`_.
10081008
The following configuration could be added to
1009-
``etc/kayobe/kolla/config/nova/nova-compute.conf`` to enable PCI
1009+
``$KAYOBE_CONFIG_PATH/kolla/config/nova/nova-compute.conf`` to enable PCI
10101010
passthrough of GPU devices for hosts in a group named ``compute_gpu``.
10111011
Again, the 4-digit PCI Vendor ID and Device ID extracted from ``lspci
10121012
-nn`` can be used here to specify the GPU device(s).
@@ -1037,7 +1037,7 @@ Configure nova-api
10371037
pci.alias also needs to be configured on the controller.
10381038
This configuration should match the configuration found on the compute nodes.
10391039
Add it to Kolla-Ansible configuration file:
1040-
``etc/kayobe/kolla/config/nova/nova-api.conf``, for instance:
1040+
``$KAYOBE_CONFIG_PATH/kolla/config/nova/nova-api.conf``, for instance:
10411041
10421042
.. code-block:: yaml
10431043

doc/source/operations/nova-compute-ironic.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Moving from multiple Nova Compute Instances to a single instance
6868
1. Decide where the single instance should run. This should normally be
6969
one of the three OpenStack control plane hosts. For convention, pick
7070
the first one, unless you can think of a good reason not to. Once you
71-
have chosen, set the following variable in ``etc/kayobe/nova.yml``.
71+
have chosen, set the following variable in ``$KAYOBE_CONFIG_PATH/nova.yml``.
7272
Here we have picked ``controller1``.
7373

7474
.. code-block:: yaml
@@ -196,7 +196,7 @@ constant, such that the new Nova Compute Ironic instance comes up with the
196196
same name as the one it replaces.
197197

198198
For example, if the original instance resides on ``controller1``, then set the
199-
following in ``etc/kayobe/nova.yml``:
199+
following in ``$KAYOBE_CONFIG_PATH/nova.yml``:
200200

201201
.. code-block:: yaml
202202
@@ -270,8 +270,8 @@ Current host is not accessible
270270
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
271271

272272
In this case you will need to remove the inaccessible host from the inventory.
273-
For example, in ``etc/kayobe/inventory/hosts``, remove ``controller1`` from
274-
the ``controllers`` group.
273+
For example, in ``$KAYOBE_CONFIG_PATH/inventory/hosts``, remove ``controller1``
274+
from the ``controllers`` group.
275275

276276
Adjust the ``kolla_nova_compute_ironic_host`` variable to point to the
277277
new host, eg.

doc/source/operations/openstack-reconfiguration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Alternative Configuration
7373

7474
As an alternative to writing the certificates as a variable to
7575
``secrets.yml``, it is also possible to write the same data to a file,
76-
``etc/kayobe/kolla/certificates/haproxy.pem``. The file should be
76+
``$KAYOBE_CONFIG_PATH/kolla/certificates/haproxy.pem``. The file should be
7777
vault-encrypted in the same manner as secrets.yml. In this instance,
7878
variable ``kolla_external_tls_cert`` does not need to be defined.
7979

doc/source/operations/secret-rotation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Full method
105105

106106
3. Navigate to the directory containing your ``passwords.yml`` file
107107
(``kayobe-config/etc/kolla/passwords.yml`` OR
108-
``kayobe-config/etc/kayobe/environments/envname/kolla/passwords.yml``)
108+
``kayobe-config/etc/kayobe/environments/<envname>/kolla/passwords.yml``)
109109

110110
4. Create a file called ``deletelist.txt`` and populate it with this content
111111
(including all whitespace):

0 commit comments

Comments
 (0)