Skip to content

Commit 36cd87f

Browse files
committed
Merge remote-tracking branch 'origin/stackhpc/2023.1' into caracal-aios
2 parents e499a96 + f30b309 commit 36cd87f

35 files changed

+173
-57
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/cis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@
3535
- include_role:
3636
name: ansible-lockdown.rhel9_cis
3737
when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '9'
38-
tags: always
3938

4039
- include_role:
4140
name: ansible-lockdown.ubuntu22_cis
4241
when: ansible_facts.distribution == 'Ubuntu' and ansible_facts.distribution_major_version == '22'
43-
tags: always

etc/kayobe/ansible/prometheus-network-names.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
- name: Prometheus friendly network names
23
hosts: overcloud
34
gather_facts: no

etc/kayobe/ansible/reboot.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,26 @@
22
- name: Reboot the host
33
hosts: seed-hypervisor:seed:overcloud:infra-vms
44
serial: "{{ lookup('env', 'ANSIBLE_SERIAL') | default(1, true) }}"
5+
gather_facts: false
56
vars:
6-
gather_facts: false
7+
reboot_timeout_s: "{{ 20 * 60 }}"
78
reboot_with_bootstrap_user: false
8-
ansible_user: "{{ bootstrap_user if reboot_with_bootstrap_user else kayobe_ansible_user }}"
9-
ansible_python_interpreter: "{{ '/usr/bin/python3' if reboot_with_bootstrap_user else virtualenv_path + '/kayobe/bin/python' }}"
10-
ansible_ssh_common_args: "{{ '-o StrictHostKeyChecking=no' if reboot_with_bootstrap_user else '' }}"
9+
ansible_user: "{{ bootstrap_user if reboot_with_bootstrap_user | bool else kayobe_ansible_user }}"
10+
ansible_ssh_common_args: "{{ '-o StrictHostKeyChecking=no' if reboot_with_bootstrap_user | bool else '' }}"
11+
ansible_python_interpreter: "/usr/bin/python3"
1112
tags:
1213
- reboot
1314
tasks:
1415
- name: Reboot and wait
1516
become: true
1617
reboot:
18+
reboot_timeout: "{{ reboot_timeout_s }}"
19+
search_paths:
20+
# Systems running molly-guard hang waiting for confirmation before rebooting without this.
21+
- "/lib/molly-guard"
22+
# Default list:
23+
- "/sbin"
24+
- "/bin"
25+
- "/usr/sbin"
26+
- "/usr/bin"
27+
- "/usr/local/sbin"

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/ansible/stackhpc-openstack-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
depth: 1
3232
single_branch: true
3333

34-
- name: Ensure the latest versions of pip and setuptools are installed # noqa package-latest
34+
- name: Ensure the latest versions of pip and setuptools are installed # noqa package-latest
3535
ansible.builtin.pip:
3636
name: "{{ item.name }}"
3737
state: latest

0 commit comments

Comments
 (0)