Skip to content

Commit ae78070

Browse files
authored
Merge pull request #56 from stackhpc/upstream/master-2025-02-24
Synchronise master with upstream
2 parents 32975e6 + 4f2f394 commit ae78070

8 files changed

Lines changed: 14 additions & 23 deletions

File tree

doc/source/install/playbooks.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ In order to really get started, you must install dependencies.
122122
With the addition of ansible collections, the ``env-setup.sh`` will install
123123
the collections in the default ansible ``collections_paths`` (according to your
124124
ansible.cfg) or you can specify the location setting
125-
``ANSIBLE_COLLECTIONS_PATHS``:
125+
``ANSIBLE_COLLECTIONS_PATH``:
126126

127127
.. code-block:: bash
128128
129-
$ export ANSIBLE_COLLECTIONS_PATHS=/mydir/collections
129+
$ export ANSIBLE_COLLECTIONS_PATH=/mydir/collections
130130
131131
.. note::
132132

133-
If you are using a virtual environment ANSIBLE_COLLECTIONS_PATHS is
133+
If you are using a virtual environment ANSIBLE_COLLECTIONS_PATH is
134134
automatically set. After Ansible Collections are installed,
135135
a symbolic link to to the installation is created in the bifrost playbook
136136
directory.

doc/source/user/howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ the one Bifrost builds for you:
295295
.. code-block:: bash
296296
297297
./bifrost-cli deploy -e @baremetal-install-env.json \
298-
--config-drive '{"meta_data": {"public_keys": {"0": "'"$(cat ~/.ssh/id_rsa.pub)"'"}}}' \
298+
--configdrive '{"meta_data": {"public_keys": {"0": "'"$(cat ~/.ssh/id_rsa.pub)"'"}}}' \
299299
300300
File images do not require a checksum:
301301

playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
- name: "Set UUID from Ironic"
4040
set_fact:
41-
uuid: "{{ node_info.baremetal_nodes[0].uuid }}"
41+
uuid: "{{ node_info.baremetal_nodes[0].id }}"
4242
when:
4343
- uuid is undefined
4444
- name is defined

playbooks/roles/bifrost-ironic-install/defaults/main.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,6 @@ ansible_python_interpreter: "{{ bifrost_venv_dir + '/bin/python3' }}"
327327
# conditional statements in the playbooks.
328328
noauth_mode: false
329329

330-
# A work around for installing older releases, remove when no longer supporting
331-
# Ussuri.
332-
git_branch: master
333-
supports_http_auth: >-
334-
{{ git_branch == "master"
335-
or git_branch[7:] not in ["queens", "rocky", "stein", "train", "ussuri"] }}
336-
337330
# Keystone Support
338331
# Default parameter if keystone is enabled, or disabled.
339332
enable_keystone: false

playbooks/roles/bifrost-ironic-install/templates/ironic.conf.j2

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,6 @@ username = {{ ironic.service_catalog.username }}
236236
password = {{ ironic.service_catalog.password }}
237237
user_domain_id = default
238238
project_domain_id = default
239-
{% elif not supports_http_auth | bool %}
240-
auth_strategy = noauth
241239
{% else %}
242240
auth_strategy = http_basic
243241
auth_type = http_basic

scripts/env-setup.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919
ANSIBLE_PIP_VERSION=${ANSIBLE_PIP_VERSION:-${DEFAULT_PIP_ANSIBLE}}
2020
ANSIBLE_SOURCE_PATH=${ANSIBLE_SOURCE_PATH:-ansible${ANSIBLE_PIP_VERSION}}
2121

22-
BIFROST_COLLECTIONS_PATHS=${ANSIBLE_COLLECTIONS_PATHS:-}
22+
BIFROST_COLLECTIONS_PATHS=${ANSIBLE_COLLECTIONS_PATH:-}
2323
PLAYBOOKS_LIBRARY_PATH=$(dirname $0)/../playbooks/library
2424

2525
echo "Installing/upgrading Ansible"
@@ -33,9 +33,9 @@ ${PIP} install "${ANSIBLE_SOURCE_PATH}"
3333

3434
ANSIBLE_GALAXY="${SUDO} ${VENV}/bin/ansible-galaxy"
3535
if [[ -z $BIFROST_COLLECTIONS_PATHS ]]; then
36-
echo "Setting ANSIBLE_COLLECTIONS_PATHS to virtualenv"
37-
export ANSIBLE_COLLECTIONS_PATHS=${VENV}/collections
38-
BIFROST_COLLECTIONS_PATHS=$ANSIBLE_COLLECTIONS_PATHS
36+
echo "Setting ANSIBLE_COLLECTIONS_PATH to virtualenv"
37+
export ANSIBLE_COLLECTIONS_PATH=${VENV}/collections
38+
BIFROST_COLLECTIONS_PATHS=$ANSIBLE_COLLECTIONS_PATH
3939
fi
4040
if [[ -n "$ANSIBLE_COLLECTION_SOURCE_PATH" ]]; then
4141
${SUDO} mkdir -p "$BIFROST_COLLECTIONS_PATHS/ansible_collections/openstack"
@@ -51,10 +51,10 @@ else
5151
fi
5252

5353
# Symlink Collections to the playbook directory. This removes the need of setting
54-
# ANSIBLE_COLLECTIONS_PATHS environment variable
54+
# ANSIBLE_COLLECTIONS_PATH environment variable
5555
if [ ! -e "$(dirname $0)/../playbooks/collections" ]; then
5656
echo "Creating a symbolic link to ansible collections in bifrost playbook directory"
57-
ln -s ${ANSIBLE_COLLECTIONS_PATHS} "$(dirname $0)/../playbooks/collections"
57+
ln -s ${ANSIBLE_COLLECTIONS_PATH} "$(dirname $0)/../playbooks/collections"
5858
fi
5959

6060
if [[ "${BIFROST_HIDE_PROMPT:-false}" != true ]]; then

tools/ansible-lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rm -f "$DEST/ansible_collections/openstack/cloud"
1616

1717
ln -s "$(realpath $SOURCE)" "$DEST/ansible_collections/openstack/cloud"
1818

19-
export ANSIBLE_COLLECTIONS_PATHS="$(realpath $DEST)"
19+
export ANSIBLE_COLLECTIONS_PATH="$(realpath $DEST)"
2020
export ANSIBLE_LIBRARY="$(dirname $0)/../playbooks/library"
2121
export ANSIBLE_ROLES_PATH="$(dirname $0)/../playbooks/roles"
2222

zuul.d/bifrost-jobs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
run: playbooks/ci/upgrade.yaml
205205
timeout: 9600
206206
vars:
207-
upgrade_from: stable/2024.1
207+
upgrade_from: stable/2024.2
208208
skip_upgrade:
209209
- openstack/diskimage-builder
210210

@@ -227,7 +227,7 @@
227227
name: bifrost-slurp-upgrade
228228
parent: bifrost-upgrade
229229
vars:
230-
upgrade_from: stable/2023.1
230+
upgrade_from: stable/2024.1
231231

232232
- job:
233233
name: bifrost-slurp-upgrade-ubuntu-jammy

0 commit comments

Comments
 (0)