Skip to content

Commit 9cc3070

Browse files
committed
Merge remote-tracking branch 'origin/stackhpc/2023.1' into sync-antelope-caracal
2 parents b50a4e0 + e647aa1 commit 9cc3070

27 files changed

+135
-48
lines changed

doc/source/_static/images/release-train.svg

Lines changed: 1 addition & 1 deletion
Loading

doc/source/configuration/cephadm.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,10 @@ should be used in the Kolla Manila configuration e.g.:
347347
RADOS Gateways
348348
--------------
349349

350+
RADOS Gateway integration is described in the :kolla-ansible-doc:`Kolla Ansible
351+
documentation
352+
<https://docs.openstack.org/kolla-ansible/latest/reference/storage/external-ceph-guide.html#radosgw>`.
353+
350354
RADOS Gateways (RGWs) are defined with the following:
351355

352356
.. code:: yaml
@@ -377,7 +381,7 @@ The set of commands below configure all of these.
377381
- "config set client.rgw rgw_enable_apis 's3, swift, swift_auth, admin'"
378382
- "config set client.rgw rgw_enforce_swift_acls true"
379383
- "config set client.rgw rgw_keystone_accepted_admin_roles 'admin'"
380-
- "config set client.rgw rgw_keystone_accepted_roles 'member, Member, _member_, admin'"
384+
- "config set client.rgw rgw_keystone_accepted_roles 'member, admin'"
381385
- "config set client.rgw rgw_keystone_admin_domain Default"
382386
- "config set client.rgw rgw_keystone_admin_password {{ secrets_ceph_rgw_keystone_password }}"
383387
- "config set client.rgw rgw_keystone_admin_project service"
@@ -393,6 +397,12 @@ The set of commands below configure all of these.
393397
- "config set client.rgw rgw_swift_account_in_url true"
394398
- "config set client.rgw rgw_swift_versioning_enabled true"
395399
400+
Enable the Kolla Ansible RADOS Gateway integration in ``kolla.yml``:
401+
402+
.. code:: yaml
403+
404+
kolla_enable_ceph_rgw: true
405+
396406
As we have configured Ceph to respond to Swift APIs, you will need to tell
397407
Kolla to account for this when registering Swift endpoints with Keystone. Also,
398408
when ``rgw_swift_account_in_url`` is set, the equivalent Kolla variable should
@@ -414,6 +424,11 @@ before deploying the RADOS gateways. If you are using the Kolla load balancer
414424
415425
kayobe overcloud service deploy -kt ceph-rgw,keystone,haproxy,loadbalancer
416426
427+
There are two options for load balancing RADOS Gateway:
428+
429+
1. HA with Ceph Ingress services
430+
2. RGWs with hyper-converged Ceph (using the Kolla Ansible deployed HAProxy
431+
load balancer)
417432

418433
.. _RGWs-with-hyper-converged-Ceph:
419434

doc/source/configuration/magnum-capi.rst

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ To deploy the CAPI management cluster using this site-specific environment, run
6060

6161
.. code-block:: bash
6262
63-
# Activate the environment
64-
./bin/activate <site-specific-name>
65-
6663
# Install or update the local Ansible Python venv
6764
./bin/ensure-venv
6865
66+
# Activate the environment
67+
source bin/activate <site-specific-name>
68+
6969
# Install or update Ansible dependencies
7070
ansible-galaxy install -f -r ./requirements.yml
7171
@@ -103,12 +103,7 @@ To configure the Magnum service with the Cluster API driver enabled, first ensur
103103

104104
Next, copy the CAPI management cluster's kubeconfig file into your stackhpc-kayobe-config environment (e.g. ``<your-skc-environment>/kolla/config/magnum/kubeconfig``). This file must be Ansible vault encrypted.
105105

106-
The following config should also be set in your stackhpc-kayobe-config environment:
107-
108-
.. code-block:: yaml
109-
:caption: kolla/globals.yml
110-
111-
magnum_capi_helm_driver_enabled: true
106+
The presence of a kubeconfig file in the Magnum config directory is used by Kolla to determine whether the CAPI Helm driver should be enabled.
112107

113108
To apply the configuration, run ``kayobe overcloud service reconfigure -kt magnum``.
114109

doc/source/configuration/wazuh.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ The short version
1212
particular the defaults assume that the ``provision_oc_net`` network will be
1313
used.
1414
#. Generate secrets: ``kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-secrets.yml``
15-
#. Encrypt the secrets: ``ansible-vault encrypt --vault-password-file ~/vault.password $KAYOBE_CONFIG_PATH/environments/ci-multinode/wazuh-secrets.yml``
1615
#. Deploy the Wazuh manager: ``kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-manager.yml``
1716
#. Deploy the Wazuh agents: ``kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-agent.yml``
1817

@@ -250,7 +249,6 @@ It will be used by wazuh secrets playbook to generate wazuh secrets vault file.
250249
.. code-block:: console
251250
252251
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-secrets.yml
253-
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/wazuh-secrets.yml
254252
255253
Configure Wazuh Dashboard's Server Host
256254
---------------------------------------

etc/kayobe/ansible/requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ collections:
99
- name: stackhpc.pulp
1010
version: 0.5.5
1111
- name: stackhpc.hashicorp
12-
version: 2.5.0
12+
version: 2.5.1
1313
- name: stackhpc.kayobe_workflows
1414
version: 1.0.3
1515
roles:

etc/kayobe/ansible/scripts/aio-init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ if ! $KOLLA_OPENSTACK_COMMAND flavor list | grep -q m1.tiny; then
142142
$KOLLA_OPENSTACK_COMMAND flavor create --id 5 --ram 16384 --disk 160 --vcpus 8 m1.xlarge
143143
fi
144144

145-
touch /tmp/.init-runonce
145+
touch /tmp/.init-runonce

etc/kayobe/apt.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ stackhpc_apt_repositories:
7474
# Do not replace apt configuration for non-overcloud hosts. This can result in
7575
# errors if apt reconfiguration is performed before local repository mirrors
7676
# are deployed.
77-
apt_repositories: "{{ stackhpc_apt_repositories | selectattr('required') | list if 'overcloud' in group_names else [] }}"
77+
apt_repositories: "{{ stackhpc_apt_repositories | selectattr('required') | list if stackhpc_repos_enabled | bool else [] }}"
7878

7979
# Whether to disable repositories in /etc/apt/sources.list. This may be used
8080
# when replacing the distribution repositories via apt_repositories.
8181
# Default is false.
8282
# Do not disable the default apt configuration for non-overcloud hosts. This
8383
# can result in errors if apt reconfiguration is performed before local
8484
# repository mirrors are deployed.
85-
apt_disable_sources_list: "{{ 'overcloud' in group_names }}"
85+
apt_disable_sources_list: "{{ stackhpc_repos_enabled | bool }}"
8686

8787
# Apt auth configuration for accessing the package repository mirror.
8888
stackhpc_apt_auth:
@@ -98,7 +98,7 @@ stackhpc_apt_auth:
9898
# * filename: Name of a file in which to store the auth configuration. The
9999
# extension should be '.conf'.
100100
# Default is an empty list.
101-
apt_auth: "{{ stackhpc_apt_auth if 'overcloud' in group_names and stackhpc_repo_mirror_username is truthy else [] }}"
101+
apt_auth: "{{ stackhpc_apt_auth if stackhpc_repos_enabled | bool and stackhpc_repo_mirror_username is truthy else [] }}"
102102

103103
###############################################################################
104104
# Dummy variable to allow Ansible to accept this file.

etc/kayobe/dnf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
# file: myrepo
4242
# gpgkey: http://gpgkey
4343
# gpgcheck: yes
44-
#dnf_custom_repos:
44+
dnf_custom_repos: "{{ stackhpc_dnf_repos if stackhpc_repos_enabled | bool else [] }}"
4545

4646
# A dict of custom repositories that point to the local Pulp server.
47-
# To use these repos, set dnf_custom_repos to the value of stackhpc_dnf_repos.
47+
# To use these repos, set stackhpc_repos_enabled to true.
4848
# This is done by default for hosts in the overcloud group via a group_vars
4949
# file.
5050
stackhpc_dnf_repos: "{{ dnf_custom_repos_el9 | combine(dnf_custom_repos_rocky_9) | combine(dnf_custom_repos_elrepo_9 if dnf_install_elrepo_9 | bool else {}) }}"

etc/kayobe/environments/aufn-ceph/configure-openstack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ ansible-galaxy collection install -p ansible/collections -r requirements.yml
2525
source $BASE_PATH/src/kayobe-config/etc/kolla/public-openrc.sh
2626

2727
# Run script to configure openstack cloud
28-
tools/openstack-config
28+
tools/openstack-config

etc/kayobe/environments/aufn-ceph/inventory/groups

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ storage-ceph
2626
# Monitoring groups
2727

2828
[monitoring:children]
29-
controllers
29+
controllers

0 commit comments

Comments
 (0)