diff --git a/.editorconfig-checker.json b/.editorconfig-checker.json new file mode 100644 index 000000000..5f286606e --- /dev/null +++ b/.editorconfig-checker.json @@ -0,0 +1,18 @@ +{ + "Verbose": false, + "Debug": false, + "IgnoreDefaults": false, + "SpacesAfterTabs": false, + "NoColor": false, + "Exclude": [], + "AllowedContentTypes": [], + "PassedFiles": [], + "Disable": { + "EndOfLine": false, + "Indentation": false, + "IndentSize": false, + "InsertFinalNewline": false, + "TrimTrailingWhitespace": false, + "MaxLineLength": false + } +} diff --git a/.github/actions/docker-image/action.yml b/.github/actions/docker-image/action.yml index a7f76ede7..e37443637 100644 --- a/.github/actions/docker-image/action.yml +++ b/.github/actions/docker-image/action.yml @@ -16,11 +16,11 @@ runs: using: "composite" steps: - name: Get Docker Image layer contents - uses: MaxymVlasov/dive-action@43dafd0015826beaca5110157c9262c5dc10672a # 1.4.0 + uses: MaxymVlasov/dive-action@b08c8287e603d028c986d7044e83fa76bcca6a65 # 1.5.0 with: image: ${{ inputs.image }} - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5 # 0.30.0 + uses: aquasecurity/trivy-action@dc5a429b52fcf669ce959baa2c2dd26090d2a6c4 # 0.32.0 with: image-ref: "${{ inputs.image }}" format: sarif diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 2be240c6c..39a685a82 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - name: Setup Go - uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # 5.4.0 + uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # 5.5.0 with: go-version: ">=1.20.0" - name: Install dependencies @@ -33,17 +33,17 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - name: Check broken links - uses: gaurav-nelson/github-action-markdown-link-check@636e17b35a5803e014b7272d9e46a8262705416a # 1.0.16 + uses: gaurav-nelson/github-action-markdown-link-check@4a1af151f4d7cf4d8f8ac5780597672a3671b88b # 1.0.17 check-super-linter: name: Check syntax (super-linter) runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - - uses: super-linter/super-linter@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # 7.3.0 + - uses: super-linter/super-linter@12150456a73e248bdc94d0794898f94e23127c88 # 7.4.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} LINTER_RULES_PATH: / - EDITORCONFIG_FILE_NAME: .editorconfig + EDITORCONFIG_FILE_NAME: .editorconfig-checker.json FILTER_REGEX_EXCLUDE: "requirements/.*" VALIDATE_SHELL_SHFMT: false check-tox: diff --git a/.github/workflows/spell.yml b/.github/workflows/spell.yml index 45d9b91d5..88222109a 100644 --- a/.github/workflows/spell.yml +++ b/.github/workflows/spell.yml @@ -32,5 +32,5 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - - uses: igsekor/pyspelling-any@155eb06641bb9259cab59b5126a40be943ecb4f7 # 1.0.4 + - uses: igsekor/pyspelling-any@44278deea34ea69d8f0d5179ac409c140b0a2f5a # 1.0.5 name: Spellcheck diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index dcf9b3fe0..2721bc25b 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -31,20 +31,24 @@ jobs: "docker.io/library/ubuntu:22.04", "docker.io/library/rockylinux:9", ] - os_release: ["2023.1", "2023.2", "2024.1", "2024.2"] + os_release: ["2023.2", "2024.1", "2024.2"] include: - - image: "docker.io/library/debian:11" - os_release: "2023.1" - image: "docker.io/library/debian:11" os_release: "2023.2" - image: "docker.io/library/debian:11" os_release: "2024.1" + - image: "docker.io/library/debian:12" + os_release: "2025.1" + - image: "docker.io/library/rockylinux:9" + os_release: "2025.1" + - image: "docker.io/library/ubuntu:24.04" + os_release: "2025.1" container: image: ${{ matrix.image }} runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - - uses: astral-sh/setup-uv@22695119d769bdb6f7032ad67b9bca0ef8c4a174 # 5.4.0 + - uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # 6.3.1 with: enable-cache: true - name: install dependencies diff --git a/Makefile b/Makefile index d442fef2e..d0651bc3f 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ lint: -e RUN_LOCAL=true \ -e LINTER_RULES_PATH=/ \ -e FILTER_REGEX_EXCLUDE="requirements/.*" \ - -e EDITORCONFIG_FILE_NAME=.editorconfig \ + -e EDITORCONFIG_FILE_NAME=.editorconfig-checker.json \ -e VALIDATE_SHELL_SHFMT=false \ ghcr.io/super-linter/super-linter tox -e lint diff --git a/ci/check_aio.sh b/ci/check_aio.sh index 9bb997105..4cd7d22e0 100755 --- a/ci/check_aio.sh +++ b/ci/check_aio.sh @@ -11,7 +11,7 @@ set -o errexit set -o pipefail if [[ ${OS_DEBUG:-false} == "true" ]]; then - set -o xtrace + set -o xtrace fi export OS_DISTRO="${OS_DISTRO:-ubuntu_22}" @@ -22,65 +22,65 @@ export OS_KOLLA_ENABLE_HORIZON="no" export OS_KOLLA_KOLLA_INSTALL_TYPE="source" function info { - _print_msg "INFO" "$1" - echo "::notice::$1" + _print_msg "INFO" "$1" + echo "::notice::$1" } function warn { - _print_msg "WARN" "$1" - echo "::warning::$1" + _print_msg "WARN" "$1" + echo "::warning::$1" } function _print_msg { - echo "$(date +%H:%M:%S) - $1: $2" + echo "$(date +%H:%M:%S) - $1: $2" } function get_release { - local release_pointer=${CI_INITIAL_RELEASE_POINTER:-3} + local release_pointer=${CI_INITIAL_RELEASE_POINTER:-3} - until [ -f "./requirements/$(sed -n "${release_pointer}p" releases.txt)/${OS_DISTRO}.txt" ]; do - release_pointer=$((release_pointer - 1)) - if [[ $release_pointer -lt "0" ]]; then - return - fi - done + until [ -f "./requirements/$(sed -n "${release_pointer}p" releases.txt)/${OS_DISTRO}.txt" ]; do + release_pointer=$((release_pointer - 1)) + if [[ $release_pointer -lt "0" ]]; then + return + fi + done - sed -n "${release_pointer}p" releases.txt + sed -n "${release_pointer}p" releases.txt } function upgrade { - local initial_release=$1 + local initial_release=$1 - release_pointer=$(cat -n releases.txt | grep "$initial_release" | awk '{print $1}') - release_pointer=$((release_pointer - 1)) + release_pointer=$(cat -n releases.txt | grep "$initial_release" | awk '{print $1}') + release_pointer=$((release_pointer - 1)) - while [[ $release_pointer -gt "0" ]]; do - release_name="$(sed -n "${release_pointer}p" releases.txt)" + while [[ $release_pointer -gt "0" ]]; do + release_name="$(sed -n "${release_pointer}p" releases.txt)" - if [ -f "./requirements/${release_name}/${OS_DISTRO}.txt" ]; then - pushd samples/aio/ >/dev/null - info "Upgrading ${OS_DISTRO} distro to OpenStack ${release_name} release" - vagrant ssh -- "cd /vagrant; OPENSTACK_RELEASE=$release_name OS_DEBUG=true ./upgrade.sh" - print_hw_stats - popd >/dev/null - else - warn "There is no more releases for ${OS_DISTRO} distro" - break - fi - release_pointer=$((release_pointer - 1)) - done + if [ -f "./requirements/${release_name}/${OS_DISTRO}.txt" ]; then + pushd samples/aio/ >/dev/null + info "Upgrading ${OS_DISTRO} distro to OpenStack ${release_name} release" + vagrant ssh -- "cd /vagrant; OPENSTACK_RELEASE=$release_name OS_DEBUG=true ./upgrade.sh" + print_hw_stats + popd >/dev/null + else + warn "There is no more releases for ${OS_DISTRO} distro" + break + fi + release_pointer=$((release_pointer - 1)) + done } function print_hw_stats { - ! command -v vm_stat >/dev/null || vm_stat - ! command -v VBoxManage >/dev/null || VBoxManage list runningvms --long - ! command -v virsh >/dev/null || virsh list + ! command -v vm_stat >/dev/null || vm_stat + ! command -v VBoxManage >/dev/null || VBoxManage list runningvms --long + ! command -v virsh >/dev/null || virsh list } initial_release=$(get_release) if [[ -z $initial_release ]]; then - warn "There is no OpenStack release supported for ${OS_DISTRO}" - exit + warn "There is no OpenStack release supported for ${OS_DISTRO}" + exit fi pushd samples/aio/ >/dev/null info "Deploying ${OS_DISTRO} distro with OpenStack ${initial_release} release" diff --git a/ci/update_distros.sh b/ci/update_distros.sh index 47f9bff0d..7fb20a2cc 100755 --- a/ci/update_distros.sh +++ b/ci/update_distros.sh @@ -11,59 +11,59 @@ set -o errexit set -o pipefail if [[ ${OS_DEBUG:-false} == "true" ]]; then - set -o xtrace + set -o xtrace fi PROVIDER=${PROVIDER:-virtualbox} msg="" function _get_box_current_version { - version="" - attempt_counter=0 - max_attempts=5 - name="$1" + version="" + attempt_counter=0 + max_attempts=5 + name="$1" - if [ -f ./ci/pinned_vagrant_boxes.txt ] && grep -q "^${name} .*$PROVIDER" ./ci/pinned_vagrant_boxes.txt; then - version=$(grep "^${name} .*$PROVIDER" ./ci/pinned_vagrant_boxes.txt | awk '{ print $2 }') - else - until [ "$version" ]; do - metadata="$(curl -s "https://app.vagrantup.com/api/v1/box/$name")" - if [ "$metadata" ]; then - version="$(echo "$metadata" | python -c 'import json,sys;print(json.load(sys.stdin)["current_version"]["version"])')" - break - elif [ ${attempt_counter} -eq ${max_attempts} ]; then - echo "Max attempts reached" - exit 1 - fi - attempt_counter=$((attempt_counter + 1)) - sleep $((attempt_counter * 2)) - done - fi + if [ -f ./ci/pinned_vagrant_boxes.txt ] && grep -q "^${name} .*$PROVIDER" ./ci/pinned_vagrant_boxes.txt; then + version=$(grep "^${name} .*$PROVIDER" ./ci/pinned_vagrant_boxes.txt | awk '{ print $2 }') + else + until [ "$version" ]; do + metadata="$(curl -s "https://app.vagrantup.com/api/v1/box/$name")" + if [ "$metadata" ]; then + version="$(echo "$metadata" | python -c 'import json,sys;print(json.load(sys.stdin)["current_version"]["version"])')" + break + elif [ ${attempt_counter} -eq ${max_attempts} ]; then + echo "Max attempts reached" + exit 1 + fi + attempt_counter=$((attempt_counter + 1)) + sleep $((attempt_counter * 2)) + done + fi - echo "${version#*v}" + echo "${version#*v}" } function _vagrant_pull { - local alias="$1" - local name="$2" - local project_id="$3" - local family="$4" - local vb_controller="${5:-IDE Controller}" + local alias="$1" + local name="$2" + local project_id="$3" + local family="$4" + local vb_controller="${5:-IDE Controller}" - version=$(_get_box_current_version "$name") + version=$(_get_box_current_version "$name") - if [ "$(curl "https://app.vagrantup.com/${name%/*}/boxes/${name#*/}/versions/$version/providers/$PROVIDER.box" -o /dev/null -w '%{http_code}\n' -s)" == "302" ] && [ "$(vagrant box list | grep -c "$name .*$PROVIDER, $version")" != "1" ]; then - vagrant box remove --provider "$PROVIDER" --all --force "$name" || : - vagrant box add --provider "$PROVIDER" --box-version "$version" "$name" - elif [ "$(vagrant box list | grep -c "$name .*$PROVIDER, $version")" == "1" ]; then - echo "$name($version, $PROVIDER) box is already present in the host" - else - msg+="$name($version, $PROVIDER) box doesn't exist\n" - return - fi - # editorconfig-checker-disable - # prettier-ignore-start - cat <>.distros_supported.yml + if [ "$(curl "https://app.vagrantup.com/${name%/*}/boxes/${name#*/}/versions/$version/providers/$PROVIDER.box" -o /dev/null -w '%{http_code}\n' -s)" == "302" ] && [ "$(vagrant box list | grep -c "$name .*$PROVIDER, $version")" != "1" ]; then + vagrant box remove --provider "$PROVIDER" --all --force "$name" || : + vagrant box add --provider "$PROVIDER" --box-version "$version" "$name" + elif [ "$(vagrant box list | grep -c "$name .*$PROVIDER, $version")" == "1" ]; then + echo "$name($version, $PROVIDER) box is already present in the host" + else + msg+="$name($version, $PROVIDER) box doesn't exist\n" + return + fi + # editorconfig-checker-disable + # prettier-ignore-start + cat <>.distros_supported.yml $alias: name: $name vb_controller: $vb_controller @@ -71,13 +71,13 @@ $alias: project_id: $project_id family: $family EOT - # prettier-ignore-end - # editorconfig-checker-enable + # prettier-ignore-end + # editorconfig-checker-enable } if ! command -v vagrant >/dev/null; then - # NOTE: Shorten link -> https://raw.githubusercontent.com/electrocucaracha/pkg-mgr_scripts/master/install.sh - curl -fsSL http://bit.ly/install_pkg | PKG=vagrant bash + # NOTE: Shorten link -> https://raw.githubusercontent.com/electrocucaracha/pkg-mgr_scripts/master/install.sh + curl -fsSL http://bit.ly/install_pkg | PKG=vagrant bash fi cat <.distros_supported.yml @@ -98,8 +98,8 @@ _vagrant_pull "debian_11" "debian/bullseye64" "debian-cloud" "debian-11" "SATA C _vagrant_pull "debian_12" "debian/bookworm64" "debian-cloud" "debian-12" "SATA Controller" if [ "$msg" ]; then - echo -e "$msg" - rm .distros_supported.yml + echo -e "$msg" + rm .distros_supported.yml else - mv .distros_supported.yml distros_supported.yml + mv .distros_supported.yml distros_supported.yml fi diff --git a/ci/update_versions.sh b/ci/update_versions.sh index 1f42b7d6b..50fbe92ae 100755 --- a/ci/update_versions.sh +++ b/ci/update_versions.sh @@ -11,7 +11,7 @@ set -o errexit set -o pipefail if [[ ${OS_DEBUG:-false} == "true" ]]; then - set -o xtrace + set -o xtrace fi trap "make fmt" EXIT @@ -19,7 +19,7 @@ trap "make fmt" EXIT # Update GitHub Action commit hashes gh_actions=$(grep -r "uses: [a-zA-Z\-]*/[\_a-z\-]*@" .github/ | sed 's/@.*//' | awk -F ': ' '{ print $3 }' | sort -u) for action in $gh_actions; do - commit_hash=$(git ls-remote "https://github.com/$action" | grep 'refs/tags/[v]\?[0-9][0-9\.]*$' | sed 's|refs/tags/[vV]\?[\.]\?||g' | sort -u -k2 -V | tail -1 | awk '{ printf "%s # %s\n",$1,$2 }') - # shellcheck disable=SC2267 - grep -ElRZ "uses: $action@" .github/ | xargs -0 -l sed -i -e "s|uses: $action@.*|uses: $action@$commit_hash|g" + commit_hash=$(git ls-remote "https://github.com/$action" | grep 'refs/tags/[v]\?[0-9][0-9\.]*$' | sed 's|refs/tags/[vV]\?[\.]\?||g' | sort -u -k2 -V | tail -1 | awk '{ printf "%s # %s\n",$1,$2 }') + # shellcheck disable=SC2267 + grep -ElRZ "uses: $action@" .github/ | xargs -0 -l sed -i -e "s|uses: $action@.*|uses: $action@$commit_hash|g" done diff --git a/commons.sh b/commons.sh index a089afeb5..fb3d5d19b 100755 --- a/commons.sh +++ b/commons.sh @@ -12,22 +12,22 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - export PKG_DEBUG=true - set -o xtrace + export PKG_DEBUG=true + set -o xtrace fi function setup_ansible { - # Setup Mitogen - mitogen_ansible_cfg="" - if pip freeze | grep -q mitogen; then - mitogen_ansible_cfg=" + # Setup Mitogen + mitogen_ansible_cfg="" + if pip freeze | grep -q mitogen; then + mitogen_ansible_cfg=" strategy = mitogen_linear strategy_plugins = $(dirname "$(sudo find / -name mitogen_linear.py | head -n 1)") " - fi + fi - sudo tee /etc/ansible/ansible.cfg <") - [ "$v1" != "$v2" ] && [ "$result" = "$v2" ] - return - ;; - "<") - [ "$v1" != "$v2" ] && [ "$result" = "$v1" ] - return - ;; - ">=") - [ "$result" = "$v2" ] - return - ;; - "<=") - [ "$result" = "$v1" ] - return - ;; - *) - echo "unrecognised op: $op" - exit 1 - ;; - esac + case $op in + "==") + [ "$v1" = "$v2" ] + return + ;; + ">") + [ "$v1" != "$v2" ] && [ "$result" = "$v2" ] + return + ;; + "<") + [ "$v1" != "$v2" ] && [ "$result" = "$v1" ] + return + ;; + ">=") + [ "$result" = "$v2" ] + return + ;; + "<=") + [ "$result" = "$v1" ] + return + ;; + *) + echo "unrecognised op: $op" + exit 1 + ;; + esac } function run_kolla_actions { - for action in "$@"; do - ./run_kaction.sh "$action" | tee "$HOME/$action.log" - echo "Kolla Action statistics:" - grep ': .* -* .*s$' "$HOME/$action.log" || : - done + for action in "$@"; do + ./run_kaction.sh "$action" | tee "$HOME/$action.log" + echo "Kolla Action statistics:" + grep ': .* -* .*s$' "$HOME/$action.log" || : + done } diff --git a/compute.sh b/compute.sh index 04216895d..1bdc37fc8 100755 --- a/compute.sh +++ b/compute.sh @@ -12,8 +12,8 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - export PKG_DEBUG=true - set -o xtrace + export PKG_DEBUG=true + set -o xtrace fi _start=$(date +%s) @@ -21,14 +21,14 @@ trap 'printf "Compute installation process: %s secs\n" "$(($(date +%s)-_start))" # Install dependencies if ! command -v curl; then - # shellcheck disable=SC1091 - source /etc/os-release || source /usr/lib/os-release - case ${ID,,} in - ubuntu | debian) - sudo apt-get update - sudo apt-get install -y -qq -o=Dpkg::Use-Pty=0 --no-install-recommends curl - ;; - esac + # shellcheck disable=SC1091 + source /etc/os-release || source /usr/lib/os-release + case ${ID,,} in + ubuntu | debian) + sudo apt-get update + sudo apt-get install -y -qq -o=Dpkg::Use-Pty=0 --no-install-recommends curl + ;; + esac fi # NOTE: Shorten link -> https://github.com/electrocucaracha/pkg-mgr_scripts diff --git a/controller.sh b/controller.sh index e67e1f195..2e8533731 100755 --- a/controller.sh +++ b/controller.sh @@ -12,8 +12,8 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - export PKG_DEBUG=true - set -o xtrace + export PKG_DEBUG=true + set -o xtrace fi _start=$(date +%s) diff --git a/distros_supported.yml b/distros_supported.yml index 1de39d108..16dfc6740 100644 --- a/distros_supported.yml +++ b/distros_supported.yml @@ -28,6 +28,6 @@ debian_11: debian_12: name: debian/bookworm64 vb_controller: SATA Controller - version: "12.20241217.1" + version: "12.20250126.1" project_id: debian-cloud family: debian-12 diff --git a/etc/kolla/kolla-build.conf b/etc/kolla/kolla-build.conf deleted file mode 100644 index 4a2bb3d3f..000000000 --- a/etc/kolla/kolla-build.conf +++ /dev/null @@ -1,3934 +0,0 @@ -[DEFAULT] - -# -# From kolla -# - -# The distro type of the base image. (string value) -# Possible values: -# centos - -# debian - -# rocky - -# ubuntu - -#base = rocky - -# The base distro image tag (string value) -#base_tag = latest - -# The base image name. Default is the same with base. (string value) -#base_image = - -# The base architecture. Default is same as host. (string value) -# Possible values: -# x86_64 - -# aarch64 - -#base_arch = x86_64 - -# The base architecture used for downloading external packages. -# Default is derived from base-arch. (string value) -# Possible values: -# amd64 - -# arm64 - -#debian_arch = amd64 - -# Use dumb-init as init system in containers (boolean value) -#use_dumb_init = true - -# Turn on debugging log level (boolean value) -#debug = false - -# Do not rebuild parents of matched images (boolean value) -#skip_parents = false - -# Do not rebuild images present in the container engine cache (boolean -# value) -#skip_existing = false - -# Set docker build time variables (dict value) -#build_args = - -# Keep failed intermediate containers (boolean value) -#keep = false - -# Show image dependencies (filtering supported) (boolean value) -#list_dependencies = - -# Show all available images (filtering supported) (boolean value) -#list_images = - -# Base directory for local source resolution (string value) -#locals_base = ./ - -# The Docker namespace name (string value) -#namespace = kolla - -# The network mode for Docker build. Example: host (string value) -#network_mode = host - -# Use the container engine cache when building (boolean value) -#cache = true - -# The platform to use for a cross-compile build. Should be set in -# conjunction with "--base-arch" argument. Example: "--platform -# linux/arm64 --base-arch aarch64" (string value) -#platform = - -# Build a pre-defined set of images, see [profiles] section in config. -# The default profiles are: infra, main, aux, default (string value) -#profile = - -# Push images after building (boolean value) -#push = false - -# The number of threads to use while pushing images. Note: Docker -# cannot handle threaded pushing properly (integer value) -# Minimum value: 1 -#push_threads = 1 - -# The number of times to retry while building (integer value) -# Minimum value: 0 -#retries = 3 - -# Build only images matching regex and its dependencies (string value) -#regex = - -# The container image registry host. The default registry host is -# Docker Hub (string value) -#registry = - -# Path to the file to store the docker image dependency in Graphviz -# dot format (string value) -#save_dependency = - -# Format to write the final results in. (string value) -# Possible values: -# json - -# none - -#format = json - -# Name of a file to write the build summary to when format is json. If -# unset, the summary will be written to standard output (string value) -#summary_json_file = - -# Base url to OpenStack tarballs (string value) -#tarballs_base = https://tarballs.opendev.org - -# The number of threads to use while building. (Note: setting to one -# will allow real time logging) (integer value) -# Minimum value: 1 -#threads = 8 - -# The container image tag (string value) -#tag = 19.0.0 - -# Don't build images. Generate Dockerfile only (boolean value) -#template_only = false - -# Time in seconds after which any operation times out (integer value) -#timeout = 120 - -# Path to template override file (string value) -#template_override = - -# Path to additional docker file template directory, can be specified -# multiple times (string value) -#docker_dir = - -# Path to logs directory (string value) -#logs_dir = - -# Attempt to pull a newer version of the base image (boolean value) -#pull = true - -# Path to be used as working directory. By default, a temporary dir is -# created (string value) -#work_dir = - -# Squash the image layers. WARNING: it will consume lots of disk IO. -# "docker-squash" tool is required, install it by "pip install docker- -# squash" (boolean value) -#squash = false - -# OpenStack release for building kolla source images and kolla-toolbox -# image (string value) -#openstack_release = 2024.2 - -# Branch for source images (internal; with a dash; please set -# openstack-release instead) (string value) -#openstack_branch = - -# Branch for source images (internal; with a slash; please set -# openstack-release instead) (string value) -#openstack_branch_slashed = - -# Add Kolla docker healthcheck scripts in the image (boolean value) -#docker_healthchecks = true - -# Do not print image logs (boolean value) -#quiet = false - -# Enable images marked as unbuildable (boolean value) -#enable_unbuildable = false - -# Show summary at the end of build (boolean value) -#summary = true - -# Prefix prepended to image names (string value) -#image_name_prefix = - -# Path to alternative repos.yaml file (string value) -#repos_yaml = - -# Container engine to build images on. (string value) -# Possible values: -# docker - -# podman - -#engine = docker - -# Path to podman socket. (string value) -#podman_base_url = unix:///run/podman/podman.sock - -# Content of the maintainer label (string value) -#maintainer = Kolla Project (https://launchpad.net/kolla) - -# Use this parameter to override the default package manager used by -# kolla. For example, if you want to use yum on a system with dnf, set -# this to yum which will use yum command in the build process (string -# value) -#distro_package_manager = - -# Set the package type of the distro. If not set then the packaging -# type is set to "rpm" if a RHEL based distro and "deb" if a Debian -# based distro. (string value) -#base_package_type = - -# Comma separated list of .rpm or .repo file(s) or URL(s) to install -# before building containers (list value) -#rpm_setup_config = - -# Path to custom sources.list (string value) -#apt_sources_list = - -# Path to custom apt/preferences (string value) -#apt_preferences = - -# Remove source image from Docker after squashing (boolean value) -#squash_cleanup = true - -# Temporary directory to be used during squashing (string value) -#squash_tmp_dir = - -# Clean all package cache. (boolean value) -#clean_package_cache = true - -# Images which are allowed to fail (list value) -#allowed_to_fail = - - -[almanach-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42475 - -# The group id (integer value) -#gid = 42475 - -# The group name (string value) -#group = almanach - - -[ansible-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42401 - -# The group id (integer value) -#gid = 42401 - -# The group name (string value) -#group = ansible - - -[aodh-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/aodh/aodh-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[aodh-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42402 - -# The group id (integer value) -#gid = 42402 - -# The group name (string value) -#group = aodh - - -[barbican-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/barbican/barbican-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[barbican-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42403 - -# The group id (integer value) -#gid = 42403 - -# The group name (string value) -#group = barbican - - -[bifrost-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/bifrost/bifrost-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[bifrost-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42404 - -# The group id (integer value) -#gid = 42404 - -# The group name (string value) -#group = bifrost - - -[blazar-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/blazar/blazar-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[blazar-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42471 - -# The group id (integer value) -#gid = 42471 - -# The group name (string value) -#group = blazar - - -[ceilometer-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/ceilometer/ceilometer-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[ceilometer-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42405 - -# The group id (integer value) -#gid = 42405 - -# The group name (string value) -#group = ceilometer - - -[cinder-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/cinder/cinder-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[cinder-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42407 - -# The group id (integer value) -#gid = 42407 - -# The group name (string value) -#group = cinder - - -[cloudkitty-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/cloudkitty/cloudkitty-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[cloudkitty-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42408 - -# The group id (integer value) -#gid = 42408 - -# The group name (string value) -#group = cloudkitty - - -[collectd-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42409 - -# The group id (integer value) -#gid = 42409 - -# The group name (string value) -#group = collectd - - -[congress-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42410 - -# The group id (integer value) -#gid = 42410 - -# The group name (string value) -#group = congress - - -[cyborg-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/cyborg/cyborg-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[cyborg-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42483 - -# The group id (integer value) -#gid = 42483 - -# The group name (string value) -#group = cyborg - - -[designate-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/designate/designate-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[designate-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42411 - -# The group id (integer value) -#gid = 42411 - -# The group name (string value) -#group = designate - - -[dragonflow-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42464 - -# The group id (integer value) -#gid = 42464 - -# The group name (string value) -#group = dragonflow - - -[ec2api-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42466 - -# The group id (integer value) -#gid = 42466 - -# The group name (string value) -#group = ec2api - - -[elasticsearch-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42412 - -# The group id (integer value) -#gid = 42412 - -# The group name (string value) -#group = elasticsearch - - -[etcd] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/etcd-io/etcd/releases/download/v${version}/etcd-v${version}-linux-${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 3.5.16 - -# (dict value) -#sha256 = amd64:b414b27a5ad05f7cb01395c447c85d3227e3fb1c176e51757a283b817f645ccc,arm64:8e68c55e6d72b791a9e98591c755af36f6f55aa9eca63767822cd8a3817fdb23 - - -[etcd-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42413 - -# The group id (integer value) -#gid = 42413 - -# The group name (string value) -#group = etcd - - -[fluentd-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42474 - -# The group id (integer value) -#gid = 42474 - -# The group name (string value) -#group = fluentd - - -[freezer-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42414 - -# The group id (integer value) -#gid = 42414 - -# The group name (string value) -#group = freezer - - -[glance-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/glance/glance-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[glance-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42415 - -# The group id (integer value) -#gid = 42415 - -# The group name (string value) -#group = glance - - -[gnocchi-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = git - -# The location for source install (string value) -#location = https://github.com/gnocchixyz/gnocchi.git - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = 4.6.4 - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[gnocchi-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42416 - -# The group id (integer value) -#gid = 42416 - -# The group name (string value) -#group = gnocchi - - -[grafana-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42417 - -# The group id (integer value) -#gid = 42417 - -# The group name (string value) -#group = grafana - - -[hacluster-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42486 - -# The group id (integer value) -#gid = 42486 - -# The group name (string value) -#group = haclient - - -[haproxy-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42454 - -# The group id (integer value) -#gid = 42454 - -# The group name (string value) -#group = haproxy - - -[heat-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/heat/heat-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[heat-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42418 - -# The group id (integer value) -#gid = 42418 - -# The group name (string value) -#group = heat - - -[horizon] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/horizon/horizon-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-blazar-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/blazar-dashboard/blazar-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-cloudkitty-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/cloudkitty-dashboard/cloudkitty-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-designate-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/designate-dashboard/designate-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-fwaas-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/neutron-fwaas-dashboard/neutron-fwaas-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-heat-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/heat-dashboard/heat-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-ironic-ui] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/ironic-ui/ironic-ui-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-magnum-ui] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/magnum-ui/magnum-ui-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-manila-ui] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/manila-ui/manila-ui-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-masakari-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/masakari-dashboard/masakari-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-mistral-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/mistral-dashboard/mistral-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-neutron-vpnaas-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/neutron-vpnaas-dashboard/neutron-vpnaas-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-octavia-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/octavia-dashboard/octavia-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-tacker-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/tacker-horizon/tacker-horizon-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-trove-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/trove-dashboard/trove-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-venus-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/venus-dashboard/venus-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-watcher-dashboard] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/watcher-dashboard/watcher-dashboard-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-plugin-zun-ui] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/zun-ui/zun-ui-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[horizon-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42420 - -# The group id (integer value) -#gid = 42420 - -# The group name (string value) -#group = horizon - - -[hugetlbfs-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42477 - -# The group id (integer value) -#gid = 42477 - -# The group name (string value) -#group = hugetlbfs - - -[influxdb-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42421 - -# The group id (integer value) -#gid = 42421 - -# The group name (string value) -#group = influxdb - - -[ironic-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/ironic/ironic-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[ironic-conductor-plugin-prometheus-exporter] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/ironic-prometheus-exporter/ironic-prometheus-exporter-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[ironic-inspector] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/ironic-inspector/ironic-inspector-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[ironic-inspector-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42461 - -# The group id (integer value) -#gid = 42461 - -# The group name (string value) -#group = ironic-inspector - - -[ironic-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42422 - -# The group id (integer value) -#gid = 42422 - -# The group name (string value) -#group = ironic - - -[kafka-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42423 - -# The group id (integer value) -#gid = 42423 - -# The group name (string value) -#group = kafka - - -[keystone-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/keystone/keystone-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[keystone-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42425 - -# The group id (integer value) -#gid = 42425 - -# The group name (string value) -#group = keystone - - -[kibana-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42426 - -# The group id (integer value) -#gid = 42426 - -# The group name (string value) -#group = kibana - - -[kolla-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42400 - -# The group id (integer value) -#gid = 42400 - -# The group name (string value) -#group = kolla - - -[kuryr-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/kuryr/kuryr-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[kuryr-libnetwork] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/kuryr-libnetwork/kuryr-libnetwork-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[kuryr-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42469 - -# The group id (integer value) -#gid = 42469 - -# The group name (string value) -#group = kuryr - - -[letsencrypt-lego] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/go-acme/lego/releases/download/${version}/lego_${version}_linux_${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = v4.15.0 - -# (dict value) -#sha256 = amd64:b26cdc57462124a7aa877f58ad59015ba90fa0b2d8f40e6cbd34408af1e9b607,arm64:0bfb5e245a78e7e20c759c491ecb05aa68ad89024ed5cf710e6e7f4eab90e190 - - -[letsencrypt-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42488 - -# The group id (integer value) -#gid = 42488 - -# The group name (string value) -#group = letsencrypt - - -[libvirt-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42473 - -# The group id (integer value) -#gid = 42473 - -# The group name (string value) -#group = libvirt - - -[logstash-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42478 - -# The group id (integer value) -#gid = 42478 - -# The group name (string value) -#group = logstash - - -[magnum-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/magnum/magnum-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[magnum-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42428 - -# The group id (integer value) -#gid = 42428 - -# The group name (string value) -#group = magnum - - -[manila-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/manila/manila-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[manila-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42429 - -# The group id (integer value) -#gid = 42429 - -# The group name (string value) -#group = manila - - -[masakari-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/masakari/masakari-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[masakari-monitors] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/masakari-monitors/masakari-monitors-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[masakari-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42485 - -# The group id (integer value) -#gid = 42485 - -# The group name (string value) -#group = masakari - - -[memcached-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42457 - -# The group id (integer value) -#gid = 42457 - -# The group name (string value) -#group = memcached - - -[mistral-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/mistral/mistral-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[mistral-base-plugin-tacker] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/tacker/tacker-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[mistral-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42430 - -# The group id (integer value) -#gid = 42430 - -# The group name (string value) -#group = mistral - - -[monasca-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42431 - -# The group id (integer value) -#gid = 42431 - -# The group name (string value) -#group = monasca - - -[mongodb-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42432 - -# The group id (integer value) -#gid = 42432 - -# The group name (string value) -#group = mongodb - - -[murano-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42433 - -# The group id (integer value) -#gid = 42433 - -# The group name (string value) -#group = murano - - -[mysql-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42434 - -# The group id (integer value) -#gid = 42434 - -# The group name (string value) -#group = mysql - - -[neutron-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/neutron/neutron-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[neutron-base-plugin-networking-baremetal] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/networking-baremetal/networking-baremetal-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[neutron-base-plugin-networking-generic-switch] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/networking-generic-switch/networking-generic-switch-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[neutron-base-plugin-networking-sfc] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/networking-sfc/networking-sfc-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[neutron-base-plugin-neutron-fwaas] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/neutron-fwaas/neutron-fwaas-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[neutron-base-plugin-vpnaas-agent] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/neutron-vpnaas/neutron-vpnaas-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[neutron-bgp-dragent] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/neutron-dynamic-routing/neutron-dynamic-routing-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[neutron-server-plugin-neutron-dynamic-routing] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/neutron-dynamic-routing/neutron-dynamic-routing-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[neutron-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42435 - -# The group id (integer value) -#gid = 42435 - -# The group name (string value) -#group = neutron - - -[neutron-vpnaas-agent] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/neutron-vpnaas/neutron-vpnaas-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[nfast-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42481 - -# The group id (integer value) -#gid = 42481 - -# The group name (string value) -#group = nfast - - -[nova-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/nova/nova-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[nova-base-plugin-blazar] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/blazar-nova/blazar-nova-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[nova-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42436 - -# The group id (integer value) -#gid = 42436 - -# The group name (string value) -#group = nova - - -[octavia-api-plugin-ovn-octavia-provider] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/ovn-octavia-provider/ovn-octavia-provider-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[octavia-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/octavia/octavia-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[octavia-driver-agent-plugin-ovn-octavia-provider] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/ovn-octavia-provider/ovn-octavia-provider-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[octavia-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42437 - -# The group id (integer value) -#gid = 42437 - -# The group name (string value) -#group = octavia - - -[odl-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42462 - -# The group id (integer value) -#gid = 42462 - -# The group name (string value) -#group = odl - - -[opensearch-dashboards-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42492 - -# The group id (integer value) -#gid = 42492 - -# The group name (string value) -#group = opensearch-dashboards - - -[opensearch-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42490 - -# The group id (integer value) -#gid = 42490 - -# The group name (string value) -#group = opensearch - - -[openstack-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/requirements/requirements-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[openstack-base-plugin-pycadf] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/pycadf/pycadf-3.1.1.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[openvswitch-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42476 - -# The group id (integer value) -#gid = 42476 - -# The group name (string value) -#group = openvswitch - - -[placement-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/placement/placement-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[placement-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42482 - -# The group id (integer value) -#gid = 42482 - -# The group name (string value) -#group = placement - - -[profiles] - -# -# From kolla -# - -# Infra images (list value) -#infra = cron,etcd,fluentd,haproxy,hacluster,keepalived,kolla-toolbox,letsencrypt,mariadb,memcached,opensearch,openvswitch,proxysql,rabbitmq,redis,storm,tgtd - -# Main images (list value) -#main = ceilometer,cinder,glance,heat,horizon,iscsi,keystone,neutron,nova-,placement,swift - -# Aux Images (list value) -#aux = aodh,blazar,cloudkitty,designate,gnocchi,influxdb,ironic,kafka,kuryr,magnum,manila,masakari,mistral,octavia,redis,tacker,telegraf,trove,zookeeper,zun - -# Default images (list value) -#default = cron,kolla-toolbox,fluentd,glance,haproxy,heat,horizon,keepalived,keystone,mariadb,memcached,neutron,nova-,placement,proxysql,openvswitch,rabbitmq - - -[prometheus-alertmanager] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/prometheus/alertmanager/releases/download/v${version}/alertmanager-${version}.linux-${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 0.27.0 - -# (dict value) -#sha256 = amd64:23c3f5a3c73de91dbaec419f3c492bef636deb02680808e5d842e6553aa16074,arm64:a754304b682cec61f4bd5cfc029b451a30134554b3a2f21a9c487e12814ff8f3 - - -[prometheus-blackbox-exporter] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/prometheus/blackbox_exporter/releases/download/v${version}/blackbox_exporter-${version}.linux-${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 0.24.0 - -# (dict value) -#sha256 = amd64:81b36cece040491ac0d9995db2a0964c40e24838a03a151c3333a7dc3eef94ff,arm64:acbbedf03de862fa833bc4dd810e63f105cb44e47abf493192fce3451852dc58 - - -[prometheus-cadvisor] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/google/cadvisor/releases/download/v${version}/cadvisor-v${version}-linux-${debian_arch} - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 0.49.1 - -# (dict value) -#sha256 = amd64:1d5cc701a3fcdf1e8ed1c86da5304b896a6997d9e6673139e78a6f87812495b0,arm64:c535f46d789599f25c7c680af193d4402da27a98d9828eb2ec916af6256e0c0c - - -[prometheus-elasticsearch-exporter] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/prometheus-community/elasticsearch_exporter/releases/download/v${version}/elasticsearch_exporter-${version}.linux-${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 1.7.0 - -# (dict value) -#sha256 = amd64:45aff83bcea639dc977e34eaa6ad7b1453be96be469f570b39c2d4fc69bf5ffc,arm64:0cf7828f3da1aba73ebef6192ee885345ecd628df782b23aee9c81fa311b92ad - - -[prometheus-libvirt-exporter] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/inovex/prometheus-libvirt-exporter/releases/download/v${version}/prometheus-libvirt-exporter-${version}.linux-${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 1.6.0 - -# (dict value) -#sha256 = amd64:57f1e71ac5bd87f18a40b9089e9fb513dec44ced58328b3065879b279f967596,arm64:8f474fbb515caf19fda92c839eece761738138c7c676d12d10aa0b8c29b3ef9d - - -[prometheus-memcached-exporter] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/prometheus/memcached_exporter/releases/download/v${version}/memcached_exporter-${version}.linux-${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 0.14.2 - -# (dict value) -#sha256 = amd64:11219035ad3cf63b174d04f52df7188fad8cd7a271631fba97a0e61b4d5e597f,arm64:1790f7c87aa950b5c3d87c7db998be797087699290f5c1dccb16b1b4611056bc - - -[prometheus-mtail] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/google/mtail/releases/download/v${version}/mtail_${version}_linux_${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 3.0.0-rc54 - -# (dict value) -#sha256 = amd64:6f6cb9c5f2eec6494ecbec9e3f6f0ab9444ef57844143749d7a5b2d2ab1819d6,arm64:6b7049bc44cfe5e90ffeb3ff6cbd2176a3dc7cd9df32ff9e10e1d303d38389e1 - - -[prometheus-mysqld-exporter] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/prometheus/mysqld_exporter/releases/download/v${version}/mysqld_exporter-${version}.linux-${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 0.15.1 - -# (dict value) -#sha256 = amd64:85ea5bc68e1b9f466c1df10ff016652dd210371d42245e012b876265e89ae29d,arm64:8f55c2dcc41aab5998c1e22a2e78e5a940c6894b462736b129fd7bf9b48f8f60 - - -[prometheus-node-exporter] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/prometheus/node_exporter/releases/download/v${version}/node_exporter-${version}.linux-${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 1.7.0 - -# (dict value) -#sha256 = amd64:a550cd5c05f760b7934a2d0afad66d2e92e681482f5f57a917465b1fba3b02a6,arm64:e386c7b53bc130eaf5e74da28efc6b444857b77df8070537be52678aefd34d96 - - -[prometheus-openstack-exporter] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/openstack-exporter/openstack-exporter/releases/download/v${version}/openstack-exporter_${version}_linux_${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 1.7.0 - -# (dict value) -#sha256 = amd64:dfaa0d3dcff22e882d3f61c56bb9ac6f70790df9d67361464159bbb4c7223192,arm64:d6e0b23fe755732a93796255e3a2be8ec5a699b0a64c21afd377c60ccf60cd55 - - -[prometheus-ovn-exporter] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/greenpau/ovn_exporter/releases/download/v${version}/ovn-exporter_${version}_linux_${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 1.0.7 - -# (dict value) -#sha256 = amd64:38d9874ddca1581574a7fa0a28ea53447a57dada37bb1385adeb766e6e819de0,arm64:e03f6a5ab4cf2855a498697026981273ce3c9ff16bd9bb6c97fd7f1344ec2067 - - -[prometheus-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42472 - -# The group id (integer value) -#gid = 42472 - -# The group name (string value) -#group = prometheus - - -[prometheus-v2-server] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = https://github.com/prometheus/prometheus/releases/download/v${version}/prometheus-${version}.linux-${debian_arch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = 2.50.1 - -# (dict value) -#sha256 = amd64:936f3777f8c3a4a90d3c58a6f410350d5932c79367b99771d002bd36e48bd05b,arm64:9f1a65cf08cef3dcd5f0d38d8673ecfaf1054aa9e1e5c18c94efd8546c1fdd96 - - -[proxysql-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42487 - -# The group id (integer value) -#gid = 42487 - -# The group name (string value) -#group = proxysql - - -[qdrouterd-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42465 - -# The group id (integer value) -#gid = 42465 - -# The group name (string value) -#group = qdrouterd - - -[qemu-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42427 - -# The group id (integer value) -#gid = 42427 - -# The group name (string value) -#group = qemu - - -[rabbitmq-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42439 - -# The group id (integer value) -#gid = 42439 - -# The group name (string value) -#group = rabbitmq - - -[rally-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42440 - -# The group id (integer value) -#gid = 42440 - -# The group name (string value) -#group = rally - - -[redis-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42460 - -# The group id (integer value) -#gid = 42460 - -# The group name (string value) -#group = redis - - -[sahara-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42441 - -# The group id (integer value) -#gid = 42441 - -# The group name (string value) -#group = sahara - - -[senlin-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42443 - -# The group id (integer value) -#gid = 42443 - -# The group name (string value) -#group = senlin - - -[sensu-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42467 - -# The group id (integer value) -#gid = 42467 - -# The group name (string value) -#group = sensu - - -[skydive-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42468 - -# The group id (integer value) -#gid = 42468 - -# The group name (string value) -#group = skydive - - -[skyline-apiserver] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/skyline-apiserver/skyline-apiserver-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[skyline-console] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/skyline-console/skyline-console-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[skyline-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42491 - -# The group id (integer value) -#gid = 42491 - -# The group name (string value) -#group = skyline - - -[solum-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42444 - -# The group id (integer value) -#gid = 42444 - -# The group name (string value) -#group = solum - - -[storm-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42479 - -# The group id (integer value) -#gid = 42479 - -# The group name (string value) -#group = storm - - -[swift-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/swift/swift-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[swift-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42445 - -# The group id (integer value) -#gid = 42445 - -# The group name (string value) -#group = swift - - -[tacker-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/tacker/tacker-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[tacker-base-plugin-networking-sfc] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/networking-sfc/networking-sfc-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[tacker-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42446 - -# The group id (integer value) -#gid = 42446 - -# The group name (string value) -#group = tacker - - -[td-agent-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42447 - -# The group id (integer value) -#gid = 42447 - -# The group name (string value) -#group = td-agent - - -[telegraf-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42448 - -# The group id (integer value) -#gid = 42448 - -# The group name (string value) -#group = telegraf - - -[tempest-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42480 - -# The group id (integer value) -#gid = 42480 - -# The group name (string value) -#group = tempest - - -[trove-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/trove/trove-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[trove-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42449 - -# The group id (integer value) -#gid = 42449 - -# The group name (string value) -#group = trove - - -[venus-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/venus/venus-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[venus-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42489 - -# The group id (integer value) -#gid = 42489 - -# The group name (string value) -#group = venus - - -[vitrage-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42459 - -# The group id (integer value) -#gid = 42459 - -# The group name (string value) -#group = vitrage - - -[vmtp-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42450 - -# The group id (integer value) -#gid = 42450 - -# The group name (string value) -#group = vmtp - - -[watcher-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/watcher/watcher-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[watcher-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42451 - -# The group id (integer value) -#gid = 42451 - -# The group name (string value) -#group = watcher - - -[zookeeper-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42453 - -# The group id (integer value) -#gid = 42453 - -# The group name (string value) -#group = zookeeper - - -[zun-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/zun/zun-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - -[zun-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42463 - -# The group id (integer value) -#gid = 42463 - -# The group name (string value) -#group = zun diff --git a/etc/kolla/kolla-build.ini b/etc/kolla/kolla-build.ini index f01815d91..77bf42af2 100644 --- a/etc/kolla/kolla-build.ini +++ b/etc/kolla/kolla-build.ini @@ -44,7 +44,7 @@ base = centos # value) skip_existing = true -# Set docker build time variables (dict value) +# Set docker build time variables Dictionary of sha256 sums for GitHub sources (dict value) #build_args = # Keep failed intermediate containers (boolean value) @@ -68,6 +68,9 @@ skip_existing = true # Use the container engine cache when building (boolean value) #cache = true +# The path where patch files to be applied are located (string value) +#patches_path = + # The platform to use for a cross-compile build. Should be set in # conjunction with "--base-arch" argument. Example: "--platform # linux/arm64 --base-arch aarch64" (string value) @@ -151,7 +154,7 @@ work_dir = /tmp/kolla/work_dir # OpenStack release for building kolla source images and kolla-toolbox # image (string value) -#openstack_release = 2024.2 +#openstack_release = 2025.1 # Branch for source images (internal; with a dash; please set # openstack-release instead) (string value) @@ -204,7 +207,7 @@ quiet = true # Comma separated list of .rpm or .repo file(s) or URL(s) to install # before building containers (list value) -#rpm_setup_config = +#rpm_setup_config = https://trunk.rdoproject.org/centos9-epoxy/delorean-deps.repo # Path to custom sources.list (string value) #apt_sources_list = @@ -282,7 +285,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -327,7 +330,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -372,7 +375,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -417,7 +420,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -462,7 +465,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -507,7 +510,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -552,7 +555,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -629,7 +632,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -674,7 +677,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -767,7 +770,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = 3.5.16 -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = amd64:b414b27a5ad05f7cb01395c447c85d3227e3fb1c176e51757a283b817f645ccc,arm64:8e68c55e6d72b791a9e98591c755af36f6f55aa9eca63767822cd8a3817fdb23 @@ -844,7 +847,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -889,7 +892,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -982,7 +985,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1027,7 +1030,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1056,7 +1059,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1085,7 +1088,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1114,7 +1117,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1143,7 +1146,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1172,7 +1175,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1201,7 +1204,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1230,7 +1233,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1259,7 +1262,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1288,7 +1291,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1317,7 +1320,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1346,7 +1349,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1375,7 +1378,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1404,7 +1407,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1433,7 +1436,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1462,7 +1465,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1491,7 +1494,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1520,7 +1523,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1540,6 +1543,22 @@ quiet = true #group = horizon +[hsmusers-user] + +# +# From kolla +# + +# The user id (integer value) +#uid = 42493 + +# The group id (integer value) +#gid = 42493 + +# The group name (string value) +#group = hsmusers + + [hugetlbfs-user] # @@ -1597,7 +1616,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1626,7 +1645,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1655,7 +1674,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1732,7 +1751,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1809,7 +1828,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1838,7 +1857,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -1881,10 +1900,10 @@ quiet = true #enabled = true # Package version to download for GitHub sources (string value) -#version = v4.15.0 +#version = v4.20.4 -# (dict value) -#sha256 = amd64:b26cdc57462124a7aa877f58ad59015ba90fa0b2d8f40e6cbd34408af1e9b607,arm64:0bfb5e245a78e7e20c759c491ecb05aa68ad89024ed5cf710e6e7f4eab90e190 +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:fed2cd32fa0042feda44a4a81d73e76f51d692a779f689d3df8082dcadcc73ba,arm64:6bde708d9c8b2e914120772bb6491d7c3dccb7f98746e171ff4c435948f599e1 [letsencrypt-user] @@ -1960,10 +1979,39 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = +[magnum-conductor-plugin-helm] + +# +# From kolla +# + +# Source location type (string value) +# Possible values: +# local - +# git - +# url - +#type = url + +# The location for source install (string value) +#location = https://get.helm.sh/helm-${version}-linux-${debian_arch}.tar.gz + +# Git reference to pull, commit sha, tag or branch name (string value) +#reference = + +# Whether the source is enabled (boolean value) +#enabled = true + +# Package version to download for GitHub sources (string value) +#version = v3.16.3 + +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:f5355c79190951eed23c5432a3b920e071f4c00a64f75e077de0dd4cb7b294ea,arm64:5bd34ed774df6914b323ff84a0a156ea6ff2ba1eaf0113962fa773f3f9def798 + + [magnum-user] # @@ -2005,7 +2053,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2050,7 +2098,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2079,7 +2127,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2140,7 +2188,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2169,7 +2217,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2278,7 +2326,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2307,7 +2355,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2336,7 +2384,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2365,7 +2413,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2394,7 +2442,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2423,7 +2471,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2452,7 +2500,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2481,7 +2529,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2526,7 +2574,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2571,7 +2619,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2600,7 +2648,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2645,7 +2693,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2674,7 +2722,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2703,7 +2751,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2796,36 +2844,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) -#sha256 = - - -[openstack-base-plugin-pycadf] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/pycadf/pycadf-3.1.1.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2870,7 +2889,7 @@ quiet = true # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -2900,7 +2919,7 @@ quiet = true infra = cron,etcd,fluentd,haproxy,hacluster,keepalived,kolla-toolbox,letsencrypt,mariadb,memcached,opensearch,openvswitch,proxysql,rabbitmq,redis,storm,tgtd # Main images (list value) -main = ceilometer,cinder,glance,heat,horizon,iscsi,keystone,neutron,nova-,placement,swift +main = ceilometer,cinder,glance,heat,horizon,iscsi,keystone,neutron,nova-,placement # Aux Images (list value) aux = aodh,blazar,cloudkitty,designate,gnocchi,influxdb,ironic,kafka,kuryr,magnum,manila,masakari,mistral,octavia,redis,tacker,telegraf,trove,zookeeper,zun @@ -2938,10 +2957,10 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- #enabled = true # Package version to download for GitHub sources (string value) -#version = 0.27.0 +#version = 0.28.1 -# (dict value) -#sha256 = amd64:23c3f5a3c73de91dbaec419f3c492bef636deb02680808e5d842e6553aa16074,arm64:a754304b682cec61f4bd5cfc029b451a30134554b3a2f21a9c487e12814ff8f3 +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:5ac7ab5e4b8ee5ce4d8fb0988f9cb275efcc3f181b4b408179fafee121693311,arm64:d8832540e5b9f613d2fd759e31d603173b9c61cc7bb5e3bc7ae2f12038b1ce4f [prometheus-blackbox-exporter] @@ -2967,10 +2986,10 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- #enabled = true # Package version to download for GitHub sources (string value) -#version = 0.24.0 +#version = 0.25.0 -# (dict value) -#sha256 = amd64:81b36cece040491ac0d9995db2a0964c40e24838a03a151c3333a7dc3eef94ff,arm64:acbbedf03de862fa833bc4dd810e63f105cb44e47abf493192fce3451852dc58 +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:c651ced6405c5e0cd292a400f47ae9b34f431f16c7bb098afbcd38f710144640,arm64:46ec5a54a41dc1ea8a8cecee637e117de4807d3b0976482a16596e82e79ac484 [prometheus-cadvisor] @@ -2996,10 +3015,10 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- #enabled = true # Package version to download for GitHub sources (string value) -#version = 0.49.1 +#version = 0.49.2 -# (dict value) -#sha256 = amd64:1d5cc701a3fcdf1e8ed1c86da5304b896a6997d9e6673139e78a6f87812495b0,arm64:c535f46d789599f25c7c680af193d4402da27a98d9828eb2ec916af6256e0c0c +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:e8273ebfd18bac96834de3eb74a86bda4c2c6d6e9b4c924bdbf1f93e4e0bc24f,arm64:5b852edb911cfe3df7448b03ccbdc6538b6ff00299527864234127cc54f8080f [prometheus-elasticsearch-exporter] @@ -3025,10 +3044,10 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- #enabled = true # Package version to download for GitHub sources (string value) -#version = 1.7.0 +#version = 1.8.0 -# (dict value) -#sha256 = amd64:45aff83bcea639dc977e34eaa6ad7b1453be96be469f570b39c2d4fc69bf5ffc,arm64:0cf7828f3da1aba73ebef6192ee885345ecd628df782b23aee9c81fa311b92ad +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:a03a19d015c45ccc9e35f3a99c6a202b347a521a494cff0e404f9038e426135a,arm64:493ceef304a54e60dfcd0c477d4f0ddad02cfbbb975532f1cb3a169e662f4eea [prometheus-libvirt-exporter] @@ -3056,7 +3075,7 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = 1.6.0 -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = amd64:57f1e71ac5bd87f18a40b9089e9fb513dec44ced58328b3065879b279f967596,arm64:8f474fbb515caf19fda92c839eece761738138c7c676d12d10aa0b8c29b3ef9d @@ -3083,10 +3102,10 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- #enabled = true # Package version to download for GitHub sources (string value) -#version = 0.14.2 +#version = 0.15.0 -# (dict value) -#sha256 = amd64:11219035ad3cf63b174d04f52df7188fad8cd7a271631fba97a0e61b4d5e597f,arm64:1790f7c87aa950b5c3d87c7db998be797087699290f5c1dccb16b1b4611056bc +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:d628bd8119b8e69696f61bdf6736490962d5abd52d35207b58a547447aa4e74f,arm64:1ec401184ed207c40e8ab8323f46d116f6ff7654ea4040fe0d786af237c5df8d [prometheus-mtail] @@ -3112,10 +3131,10 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- #enabled = true # Package version to download for GitHub sources (string value) -#version = 3.0.0-rc54 +#version = 3.0.8 -# (dict value) -#sha256 = amd64:6f6cb9c5f2eec6494ecbec9e3f6f0ab9444ef57844143749d7a5b2d2ab1819d6,arm64:6b7049bc44cfe5e90ffeb3ff6cbd2176a3dc7cd9df32ff9e10e1d303d38389e1 +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:123c2ee5f48c3eff12ebccee38befd2233d715da736000ccde49e3d5607724e4,arm64:aa04811c0929b6754408676de520e050c45dddeb3401881888a092c9aea89cae [prometheus-mysqld-exporter] @@ -3141,10 +3160,10 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- #enabled = true # Package version to download for GitHub sources (string value) -#version = 0.15.1 +#version = 0.16.0 -# (dict value) -#sha256 = amd64:85ea5bc68e1b9f466c1df10ff016652dd210371d42245e012b876265e89ae29d,arm64:8f55c2dcc41aab5998c1e22a2e78e5a940c6894b462736b129fd7bf9b48f8f60 +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:32fe0b59ef3f52624a1958aaf6b8855f27c2b492a7026d62a975bbd251be209d,arm64:9ffc6e107bd122e68a95fa5c194bc3fc257104fef6ed720a26a240cd608c777b [prometheus-node-exporter] @@ -3170,10 +3189,10 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- #enabled = true # Package version to download for GitHub sources (string value) -#version = 1.7.0 +#version = 1.8.2 -# (dict value) -#sha256 = amd64:a550cd5c05f760b7934a2d0afad66d2e92e681482f5f57a917465b1fba3b02a6,arm64:e386c7b53bc130eaf5e74da28efc6b444857b77df8070537be52678aefd34d96 +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:6809dd0b3ec45fd6e992c19071d6b5253aed3ead7bf0686885a51d85c6643c66,arm64:627382b9723c642411c33f48861134ebe893e70a63bcc8b3fc0619cd0bfac4be [prometheus-openstack-exporter] @@ -3201,7 +3220,7 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = 1.7.0 -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = amd64:dfaa0d3dcff22e882d3f61c56bb9ac6f70790df9d67361464159bbb4c7223192,arm64:d6e0b23fe755732a93796255e3a2be8ec5a699b0a64c21afd377c60ccf60cd55 @@ -3230,27 +3249,11 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = 1.0.7 -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = amd64:38d9874ddca1581574a7fa0a28ea53447a57dada37bb1385adeb766e6e819de0,arm64:e03f6a5ab4cf2855a498697026981273ce3c9ff16bd9bb6c97fd7f1344ec2067 -[prometheus-user] - -# -# From kolla -# - -# The user id (integer value) -#uid = 42472 - -# The group id (integer value) -#gid = 42472 - -# The group name (string value) -#group = prometheus - - -[prometheus-v2-server] +[prometheus-server] # # From kolla @@ -3273,10 +3276,26 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- #enabled = true # Package version to download for GitHub sources (string value) -#version = 2.50.1 +#version = 3.2.1 + +# Dictionary of sha256 sums for GitHub sources (dict value) +#sha256 = amd64:a622e3007c9109a7f470e1433cbd29bf392596715cf7eea8b81b37fa9d26b7be,arm64:f2dec3178f1181c1b795b275750d056e71ead13f7fbfe08b76834c4ec20b748e -# (dict value) -#sha256 = amd64:936f3777f8c3a4a90d3c58a6f410350d5932c79367b99771d002bd36e48bd05b,arm64:9f1a65cf08cef3dcd5f0d38d8673ecfaf1054aa9e1e5c18c94efd8546c1fdd96 + +[prometheus-user] + +# +# From kolla +# + +# The user id (integer value) +#uid = 42472 + +# The group id (integer value) +#gid = 42472 + +# The group name (string value) +#group = prometheus [proxysql-user] @@ -3464,7 +3483,7 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -3493,7 +3512,7 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -3545,35 +3564,6 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- #group = storm -[swift-base] - -# -# From kolla -# - -# Source location type (string value) -# Possible values: -# local - -# git - -# url - -#type = url - -# The location for source install (string value) -#location = $tarballs_base/openstack/swift/swift-${openstack_branch}.tar.gz - -# Git reference to pull, commit sha, tag or branch name (string value) -#reference = - -# Whether the source is enabled (boolean value) -#enabled = true - -# Package version to download for GitHub sources (string value) -#version = - -# (dict value) -#sha256 = - - [swift-user] # @@ -3615,7 +3605,7 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -3644,7 +3634,7 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -3737,7 +3727,7 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -3782,7 +3772,7 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -3859,7 +3849,7 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = @@ -3920,7 +3910,7 @@ all=openstack-base,openstack-base-plugin-pycadf,aodh-base,barbican-base,bifrost- # Package version to download for GitHub sources (string value) #version = -# (dict value) +# Dictionary of sha256 sums for GitHub sources (dict value) #sha256 = diff --git a/install.sh b/install.sh index 2d9031f3b..795f90686 100755 --- a/install.sh +++ b/install.sh @@ -12,8 +12,8 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - export PKG_DEBUG=true - set -o xtrace + export PKG_DEBUG=true + set -o xtrace fi ##################### @@ -46,13 +46,13 @@ mgmt_ip=$(ip route get 8.8.8.8 | grep "^8." | awk '{ print $7 }') # than the full range of IP addresses in an IP block. This network is # considered the Public Security Domain. if ip route | grep -q "^10.10"; then - public_nic=$(ip route | grep "^10.10" | awk '{ print $3 }') + public_nic=$(ip route | grep "^10.10" | awk '{ print $3 }') else - if [ -z "${OS_KOLLA_NEUTRON_EXTERNAL_INTERFACE-}" ]; then - echo "ERROR: Using the management network interface as Neutron External can result in losing external connectivity" - exit 1 - fi - public_nic=${mgmt_nic} + if [ -z "${OS_KOLLA_NEUTRON_EXTERNAL_INTERFACE-}" ]; then + echo "ERROR: Using the management network interface as Neutron External can result in losing external connectivity" + exit 1 + fi + public_nic=${mgmt_nic} fi public_ip=$(ip addr | awk "/${public_nic}\$/ { sub(/\/[0-9]*/, \"\","' $2); print $2}') @@ -61,7 +61,7 @@ OS_FOLDER=${OS_FOLDER:-/opt/openstack-multinode} export OS_KOLLA_KOLLA_INTERNAL_VIP_ADDRESS=${OS_KOLLA_KOLLA_INTERNAL_VIP_ADDRESS:-$mgmt_ip} export OS_KOLLA_NETWORK_INTERFACE=$mgmt_nic if [ -z "${OS_KOLLA_NEUTRON_EXTERNAL_INTERFACE-}" ]; then - export OS_KOLLA_NEUTRON_EXTERNAL_INTERFACE=$public_nic + export OS_KOLLA_NEUTRON_EXTERNAL_INTERFACE=$public_nic fi ###################### @@ -70,41 +70,41 @@ fi # Validating passwordless sudo if ! sudo -n "true"; then - echo "" - echo "passwordless sudo is needed for '$(id -nu)' user." - echo "Please fix your /etc/sudoers file. You likely want an" - echo "entry like the following one..." - echo "" - echo "$(id -nu) ALL=(ALL) NOPASSWD: ALL" - exit 1 + echo "" + echo "passwordless sudo is needed for '$(id -nu)' user." + echo "Please fix your /etc/sudoers file. You likely want an" + echo "entry like the following one..." + echo "" + echo "$(id -nu) ALL=(ALL) NOPASSWD: ALL" + exit 1 fi # Validating local IP addresses in no_proxy environment variable if [ -n "${NO_PROXY-}" ]; then - for ip in $(hostname --ip-address || hostname -i) ${mgmt_ip} ${public_ip}; do - if [[ $ip =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ && $NO_PROXY != *"$ip"* ]]; then - echo "The $ip IP address is not defined in NO_PROXY env" - exit 1 - fi - done + for ip in $(hostname --ip-address || hostname -i) ${mgmt_ip} ${public_ip}; do + if [[ $ip =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ && $NO_PROXY != *"$ip"* ]]; then + echo "The $ip IP address is not defined in NO_PROXY env" + exit 1 + fi + done fi # Validating SELinux if command -v sestatus && [[ $(sestatus | grep Current) != *permissive* ]]; then - echo "" - echo "SELinux requires to be configured as Permissive mode." - echo "Please fix your /etc/selinux/config file." - exit 1 + echo "" + echo "SELinux requires to be configured as Permissive mode." + echo "Please fix your /etc/selinux/config file." + exit 1 fi # Ensuring project's source code if [ ! -d "${OS_FOLDER}" ]; then - # NOTE: Shorten link -> https://github.com/electrocucaracha/pkg-mgr_scripts - curl -fsSL http://bit.ly/install_pkg | PKG_COMMANDS_LIST="git" bash + # NOTE: Shorten link -> https://github.com/electrocucaracha/pkg-mgr_scripts + curl -fsSL http://bit.ly/install_pkg | PKG_COMMANDS_LIST="git" bash - echo "Cloning and configuring openstack-multinode project..." - sudo -E git clone --depth 1 https://github.com/electrocucaracha/openstack-multinode "${OS_FOLDER:-/opt/openstack-multinode}" - sudo chown -R "$USER" "${OS_FOLDER}" + echo "Cloning and configuring openstack-multinode project..." + sudo -E git clone --depth 1 https://github.com/electrocucaracha/openstack-multinode "${OS_FOLDER:-/opt/openstack-multinode}" + sudo chown -R "$USER" "${OS_FOLDER}" fi cd "${OS_FOLDER}" || exit sudo mkdir -p /etc/kolla/config @@ -112,7 +112,7 @@ sudo cp -R etc/kolla/* /etc/kolla/ sudo chown "$USER" /etc/kolla/passwords.yml for os_var in $(printenv | grep OS_); do - echo "export $os_var" | sudo tee --append /etc/environment + echo "export $os_var" | sudo tee --append /etc/environment done ############################### @@ -120,9 +120,9 @@ done ############################### if [ "${OS_ENABLE_LOCAL_REGISTRY:-false}" == "true" ]; then - export DOCKER_REGISTRY_IP=${mgmt_ip} - export DOCKER_REGISTRY_PORT=${DOCKER_REGISTRY_PORT} - ./registry.sh + export DOCKER_REGISTRY_IP=${mgmt_ip} + export DOCKER_REGISTRY_PORT=${DOCKER_REGISTRY_PORT} + ./registry.sh fi ################################ @@ -133,22 +133,22 @@ fi # Post-Install actions if [ "${OS_KOLLA_RUN_INIT:-true}" == "true" ]; then - python -m pip install --ignore-installed --no-warn-script-location python-openstackclient - - # PEP 370 -- Per user site-packages directory - [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin - openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion >/dev/null - - sudo chown "$USER:" /etc/kolla/admin-openrc.sh - # https://docs.openstack.org/openstacksdk/latest/user/guides/connect_from_config.html - sudo chown "$USER:" /etc/kolla/clouds.yaml || : - # shellcheck disable=SC1091 - source /etc/kolla/admin-openrc.sh - curl -fsSL "https://raw.githubusercontent.com/openstack/kolla-ansible/${OS_KOLLA_VERSION:-stable/2024.2}/tools/init-runonce" | bash - - [ "${OS_KOLLA_ENABLE_CINDER:-yes}" == "yes" ] && ./scripts/cinder.sh - [ "${OS_KOLLA_ENABLE_MAGNUM:-no}" == "yes" ] && ./scripts/magnum.sh - [ "${OS_KOLLA_ENABLE_NEUTRON_TRUNK:-yes}" == "yes" ] && ./scripts/neutron_trunk.sh + python -m pip install --ignore-installed --no-warn-script-location python-openstackclient + + # PEP 370 -- Per user site-packages directory + [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin + openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion >/dev/null + + sudo chown "$USER:" /etc/kolla/admin-openrc.sh + # https://docs.openstack.org/openstacksdk/latest/user/guides/connect_from_config.html + sudo chown "$USER:" /etc/kolla/clouds.yaml || : + # shellcheck disable=SC1091 + source /etc/kolla/admin-openrc.sh + curl -fsSL "https://raw.githubusercontent.com/openstack/kolla-ansible/${OS_KOLLA_VERSION:-stable/2025.1}/tools/init-runonce" | bash + + [ "${OS_KOLLA_ENABLE_CINDER:-yes}" == "yes" ] && ./scripts/cinder.sh + [ "${OS_KOLLA_ENABLE_MAGNUM:-no}" == "yes" ] && ./scripts/magnum.sh + [ "${OS_KOLLA_ENABLE_NEUTRON_TRUNK:-yes}" == "yes" ] && ./scripts/neutron_trunk.sh fi echo "Statistics:" diff --git a/node.sh b/node.sh index 11bbb25c1..f2231273f 100755 --- a/node.sh +++ b/node.sh @@ -12,8 +12,8 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - export PKG_DEBUG=true - set -o xtrace + export PKG_DEBUG=true + set -o xtrace fi # shellcheck disable=SC1091 @@ -24,7 +24,7 @@ trap 'printf "Node setup process: %s secs\n" "$(($(date +%s)-_start))"' EXIT # usage() - Prints the usage of the program function usage { - cat </dev/null; then - case ${ID,,} in - ubuntu | debian) - sudo apt-get update -qq >/dev/null - sudo apt-get install -y -qq -o=Dpkg::Use-Pty=0 fdisk - ;; - esac - fi + if ! command -v sfdisk >/dev/null; then + case ${ID,,} in + ubuntu | debian) + sudo apt-get update -qq >/dev/null + sudo apt-get install -y -qq -o=Dpkg::Use-Pty=0 fdisk + ;; + esac + fi - sudo sfdisk "$dev_name" --no-reread </dev/null; then - case ${ID,,} in - ubuntu | debian) - sudo apt-get -y -qq purge cloud-init - ;; - esac + case ${ID,,} in + ubuntu | debian) + sudo apt-get -y -qq purge cloud-init + ;; + esac fi if [ -n "${dict_volumes-}" ]; then - for kv in ${dict_volumes//,/ }; do - mount_external_partition "${kv%=*}" "${kv#*=}" - done + for kv in ${dict_volumes//,/ }; do + mount_external_partition "${kv%=*}" "${kv#*=}" + done fi if [ -n "${cinder_volumes-}" ]; then - if ! command -v vgs; then - curl -fsSL http://bit.ly/install_pkg | PKG="lvm2" bash - fi - # Creation of cinder LVM - sudo vgcreate cinder-volumes "$cinder_volumes" -f - sudo vgs - sudo pvdisplay + if ! command -v vgs; then + curl -fsSL http://bit.ly/install_pkg | PKG="lvm2" bash + fi + # Creation of cinder LVM + sudo vgcreate cinder-volumes "$cinder_volumes" -f + sudo vgs + sudo pvdisplay - # Configure LVM to only scan devices that contain the cinder-volumes volume group - filter_string="" - for pv_info in $(sudo pvs --noheadings -o name); do - filter_string+="\"a|${pv_info##*/}|\", " - done - # shellcheck disable=SC1003 - sudo sed -i -e '/# global_filter = \[.*\]/a\' -e "\tglobal_filter = [ $filter_string \"r|.*|\" ]" /etc/lvm/lvm.conf + # Configure LVM to only scan devices that contain the cinder-volumes volume group + filter_string="" + for pv_info in $(sudo pvs --noheadings -o name); do + filter_string+="\"a|${pv_info##*/}|\", " + done + # shellcheck disable=SC1003 + sudo sed -i -e '/# global_filter = \[.*\]/a\' -e "\tglobal_filter = [ $filter_string \"r|.*|\" ]" /etc/lvm/lvm.conf - sudo modprobe dm_thin_pool - echo "dm_thin_pool" | sudo tee /etc/modules-load.d/dm_thin_pool.conf - sudo modprobe target_core_mod - echo "target_core_mod" | sudo tee /etc/modules-load.d/target_core_mod.conf + sudo modprobe dm_thin_pool + echo "dm_thin_pool" | sudo tee /etc/modules-load.d/dm_thin_pool.conf + sudo modprobe target_core_mod + echo "target_core_mod" | sudo tee /etc/modules-load.d/target_core_mod.conf fi if [[ -n ${OPENSTACK_NODE_ROLES+x} ]]; then - for role in $OPENSTACK_NODE_ROLES; do - if [ -f "$role.sh" ]; then - bash "$role.sh" | sudo tee "$HOME/$role.log" - fi - done + for role in $OPENSTACK_NODE_ROLES; do + if [ -f "$role.sh" ]; then + bash "$role.sh" | sudo tee "$HOME/$role.log" + fi + done fi curl -fsSL http://bit.ly/install_bin | PKG_BINDEP_PROFILE=node bash diff --git a/registry.sh b/registry.sh index e6966eaa0..7e74d14b9 100755 --- a/registry.sh +++ b/registry.sh @@ -12,8 +12,8 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - export PKG_DEBUG=true - set -o xtrace + export PKG_DEBUG=true + set -o xtrace fi _start=$(date +%s) trap 'printf "Registry creation process: %s secs\n" "$(($(date +%s)-_start))"' EXIT @@ -22,19 +22,19 @@ trap 'printf "Registry creation process: %s secs\n" "$(($(date +%s)-_start))"' E curl -fsSL http://bit.ly/install_pkg | PKG_COMMANDS_LIST="skopeo,docker,jq,git,crudini" bash if ! command -v uv; then - curl -LsSf https://astral.sh/uv/install.sh | sh - PATH="$HOME/.local/bin:$PATH" + curl -LsSf https://astral.sh/uv/install.sh | sh + PATH="$HOME/.local/bin:$PATH" fi if ! command -v kolla-build; then - sudo $(command -v uv) pip install "git+https://github.com/openstack/kolla.git@${OS_KOLLA_VERSION:-stable/2024.2}" --system - sudo $(command -v uv) pip install docker-squash --system + sudo "$(command -v uv)" pip install "git+https://github.com/openstack/kolla.git@${OS_KOLLA_VERSION:-stable/2024.2}" --system + sudo "$(command -v uv)" pip install docker-squash --system fi # Start local registry if [[ -z $(sudo docker ps -aqf "name=registry") ]]; then - sudo -E docker run -d --name registry --restart=always \ - -p "${DOCKER_REGISTRY_PORT:-5000}":5000 -v registry:/var/lib/registry registry:2 + sudo -E docker run -d --name registry --restart=always \ + -p "${DOCKER_REGISTRY_PORT:-5000}":5000 -v registry:/var/lib/registry registry:2 fi # Configure custom values @@ -45,28 +45,28 @@ source /etc/os-release || source /usr/lib/os-release num_cpus=$(lscpu | grep "^CPU(s):" | awk '{ print $2 }') for kv in "tag=${OPENSTACK_TAG:-"2024.2-${ID,,}-${VERSION_CODENAME:-${VERSION_ID%%.*}}"}" \ - "profile=${OS_KOLLA_PROFILE:-custom}" \ - "registry=${DOCKER_REGISTRY_IP:-127.0.0.1}:${DOCKER_REGISTRY_PORT:-5000}" \ - "openstack_release=${OPENSTACK_RELEASE:-2024.2}" \ - "base=${OS_KOLLA_BASE:-${ID,,}}" \ - "threads=$((num_cpus * 2))" \ - "push_threads=$((num_cpus * 4))"; do - sudo -E "$(command -v crudini)" --set /etc/kolla/kolla-build.ini DEFAULT "${kv%=*}" "${kv#*=}" + "profile=${OS_KOLLA_PROFILE:-custom}" \ + "registry=${DOCKER_REGISTRY_IP:-127.0.0.1}:${DOCKER_REGISTRY_PORT:-5000}" \ + "openstack_release=${OPENSTACK_RELEASE:-2024.2}" \ + "base=${OS_KOLLA_BASE:-${ID,,}}" \ + "threads=$((num_cpus * 2))" \ + "push_threads=$((num_cpus * 4))"; do + sudo -E "$(command -v crudini)" --set /etc/kolla/kolla-build.ini DEFAULT "${kv%=*}" "${kv#*=}" done bifrost_header="" bifrost_footer="" if [ -n "${HTTP_PROXY-}" ]; then - bifrost_header+="ENV http_proxy=$HTTP_PROXY\n" - bifrost_footer+="ENV http_proxy=\"\"\n" + bifrost_header+="ENV http_proxy=$HTTP_PROXY\n" + bifrost_footer+="ENV http_proxy=\"\"\n" fi if [ -n "${HTTPS_PROXY-}" ]; then - bifrost_header+="ENV https_proxy=$HTTPS_PROXY\n" - bifrost_footer+="ENV https_proxy=\"\"\n" + bifrost_header+="ENV https_proxy=$HTTPS_PROXY\n" + bifrost_footer+="ENV https_proxy=\"\"\n" fi if [ -n "${NO_PROXY-}" ]; then - bifrost_header+="ENV no_proxy=$NO_PROXY\n" - bifrost_footer+="ENV no_proxy=\"\"\n" + bifrost_header+="ENV no_proxy=$NO_PROXY\n" + bifrost_footer+="ENV no_proxy=\"\"\n" fi cat <"$HOME/template-overrides.j2" @@ -91,18 +91,18 @@ newgrp docker <=6,<8", # GPLv3 - "ansible-core>2.10,<=2.13", # GPLv3 - "kolla-ansible<17.0", # Apache-2.0 - "mitogen", # BSD -] diff --git a/requirements/2023.1/rocky_9.txt b/requirements/2023.1/rocky_9.txt deleted file mode 100644 index 8976959be..000000000 --- a/requirements/2023.1/rocky_9.txt +++ /dev/null @@ -1,92 +0,0 @@ -# This file was autogenerated by uv via the following command: -# uv pip compile --output-file=/__w/openstack-multinode/openstack-multinode/requirements/2023.1/rocky_9.txt /__w/openstack-multinode/openstack-multinode/requirements/2023.1/pyproject.toml -ansible==6.0.0 - # via antelope (requirements/2023.1/pyproject.toml) -ansible-core==2.13.0 - # via - # antelope (requirements/2023.1/pyproject.toml) - # ansible -certifi==2025.1.31 - # via requests -cffi==1.17.1 - # via cryptography -charset-normalizer==3.4.1 - # via requests -cryptography==44.0.2 - # via - # ansible-core - # kolla-ansible -debtcollector==3.0.0 - # via - # oslo-config - # oslo-utils -hvac==2.3.0 - # via kolla-ansible -idna==3.10 - # via requests -iso8601==2.1.0 - # via oslo-utils -jinja2==3.1.6 - # via - # ansible-core - # kolla-ansible -jmespath==1.0.1 - # via kolla-ansible -kolla-ansible==16.7.0 - # via antelope (requirements/2023.1/pyproject.toml) -markupsafe==3.0.2 - # via jinja2 -mitogen==0.3.22 - # via antelope (requirements/2023.1/pyproject.toml) -netaddr==1.3.0 - # via - # oslo-config - # oslo-utils -oslo-config==9.7.1 - # via kolla-ansible -oslo-i18n==6.5.1 - # via - # oslo-config - # oslo-utils -oslo-utils==8.2.0 - # via kolla-ansible -packaging==24.2 - # via - # ansible-core - # oslo-utils -pbr==6.1.1 - # via - # kolla-ansible - # oslo-i18n - # oslo-utils - # stevedore -psutil==7.0.0 - # via oslo-utils -pycparser==2.22 - # via cffi -pyparsing==3.2.1 - # via oslo-utils -pyyaml==6.0.2 - # via - # ansible-core - # kolla-ansible - # oslo-config - # oslo-utils -requests==2.32.3 - # via - # hvac - # oslo-config -resolvelib==0.5.4 - # via ansible-core -rfc3986==2.0.0 - # via oslo-config -setuptools==77.0.3 - # via pbr -stevedore==5.4.1 - # via oslo-config -tzdata==2025.1 - # via oslo-utils -urllib3==2.3.0 - # via requests -wrapt==1.17.2 - # via debtcollector diff --git a/requirements/2023.2/rocky_9.txt b/requirements/2023.2/rocky_9.txt index 28e71f0df..5d5328332 100644 --- a/requirements/2023.2/rocky_9.txt +++ b/requirements/2023.2/rocky_9.txt @@ -6,13 +6,13 @@ bcrypt==4.3.0 # via # kolla-ansible # passlib -certifi==2025.1.31 +certifi==2025.6.15 # via requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.1 +charset-normalizer==3.4.2 # via requests -cryptography==44.0.2 +cryptography==45.0.5 # via # ansible-core # kolla-ansible @@ -42,15 +42,15 @@ netaddr==1.3.0 # via # oslo-config # oslo-utils -oslo-config==9.7.1 +oslo-config==9.8.0 # via kolla-ansible oslo-i18n==6.5.1 # via # oslo-config # oslo-utils -oslo-utils==8.2.0 +oslo-utils==9.0.0 # via kolla-ansible -packaging==24.2 +packaging==25.0 # via # ansible-core # oslo-utils @@ -66,7 +66,7 @@ psutil==7.0.0 # via oslo-utils pycparser==2.22 # via cffi -pyparsing==3.2.1 +pyparsing==3.2.3 # via oslo-utils pyyaml==6.0.2 # via @@ -74,7 +74,7 @@ pyyaml==6.0.2 # kolla-ansible # oslo-config # oslo-utils -requests==2.32.3 +requests==2.32.4 # via # hvac # oslo-config @@ -82,13 +82,13 @@ resolvelib==1.0.1 # via ansible-core rfc3986==2.0.0 # via oslo-config -setuptools==77.0.3 +setuptools==80.9.0 # via pbr stevedore==5.4.1 # via oslo-config -tzdata==2025.1 +tzdata==2025.2 # via oslo-utils -urllib3==2.3.0 +urllib3==2.5.0 # via requests wrapt==1.17.2 # via debtcollector diff --git a/requirements/2024.1/rocky_9.txt b/requirements/2024.1/rocky_9.txt index ccb38715f..e377ebdec 100644 --- a/requirements/2024.1/rocky_9.txt +++ b/requirements/2024.1/rocky_9.txt @@ -6,13 +6,13 @@ bcrypt==4.3.0 # via # kolla-ansible # passlib -certifi==2025.1.31 +certifi==2025.6.15 # via requests cffi==1.17.1 # via cryptography -charset-normalizer==3.4.1 +charset-normalizer==3.4.2 # via requests -cryptography==44.0.2 +cryptography==45.0.5 # via # ansible-core # kolla-ansible @@ -34,7 +34,7 @@ jinja2==3.1.6 # kolla-ansible jmespath==1.0.1 # via kolla-ansible -kolla-ansible==18.6.0 +kolla-ansible==18.7.0 # via caracal (requirements/2024.1/pyproject.toml) markupsafe==3.0.2 # via jinja2 @@ -42,15 +42,15 @@ netaddr==1.3.0 # via # oslo-config # oslo-utils -oslo-config==9.7.1 +oslo-config==9.8.0 # via kolla-ansible oslo-i18n==6.5.1 # via # oslo-config # oslo-utils -oslo-utils==8.2.0 +oslo-utils==9.0.0 # via kolla-ansible -packaging==24.2 +packaging==25.0 # via # ansible-core # oslo-utils @@ -66,7 +66,7 @@ psutil==7.0.0 # via oslo-utils pycparser==2.22 # via cffi -pyparsing==3.2.1 +pyparsing==3.2.3 # via oslo-utils pyyaml==6.0.2 # via @@ -74,7 +74,7 @@ pyyaml==6.0.2 # kolla-ansible # oslo-config # oslo-utils -requests==2.32.3 +requests==2.32.4 # via # hvac # oslo-config @@ -82,13 +82,13 @@ resolvelib==1.0.1 # via ansible-core rfc3986==2.0.0 # via oslo-config -setuptools==77.0.3 +setuptools==80.9.0 # via pbr stevedore==5.4.1 # via oslo-config -tzdata==2025.1 +tzdata==2025.2 # via oslo-utils -urllib3==2.3.0 +urllib3==2.5.0 # via requests wrapt==1.17.2 # via debtcollector diff --git a/requirements/2023.1/debian_12.txt b/requirements/2025.1/debian_12.txt similarity index 71% rename from requirements/2023.1/debian_12.txt rename to requirements/2025.1/debian_12.txt index 6253270f4..632816b0d 100644 --- a/requirements/2023.1/debian_12.txt +++ b/requirements/2025.1/debian_12.txt @@ -2,20 +2,28 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --output-file=requirements/2023.1/debian_12.txt requirements/2023.1/debian_12.in +# pip-compile --output-file=requirements/2024.2/debian_12.txt requirements/2024.2/debian_12.in # -ansible==6.0.0 - # via -r requirements/2023.1/debian_12.in -ansible-core==2.13.0 +ansible-core==2.17.8 # via - # -r requirements/2023.1/debian_12.in - # ansible + # -r requirements/2024.2/debian_12.in + # kolla-ansible +autopage==0.5.2 + # via cliff +bcrypt==4.2.1 + # via + # kolla-ansible + # passlib certifi==2025.1.31 # via requests cffi==1.17.1 # via cryptography charset-normalizer==3.4.1 # via requests +cliff==4.8.0 + # via kolla-ansible +cmd2==2.5.11 + # via cliff cryptography==44.0.1 # via # ansible-core @@ -36,12 +44,10 @@ jinja2==3.1.5 # kolla-ansible jmespath==1.0.1 # via kolla-ansible -kolla-ansible==16.7.0 - # via -r requirements/2023.1/debian_12.in +kolla-ansible==19.3.0 + # via -r requirements/2024.2/debian_12.in markupsafe==3.0.2 # via jinja2 -mitogen==0.3.22 - # via -r requirements/2023.1/debian_12.in netaddr==1.3.0 # via # oslo-config @@ -58,38 +64,49 @@ packaging==24.2 # via # ansible-core # oslo-utils +passlib[bcrypt]==1.7.4 + # via kolla-ansible pbr==6.1.1 # via - # kolla-ansible # oslo-i18n # oslo-utils # stevedore +prettytable==3.14.0 + # via cliff psutil==7.0.0 # via oslo-utils pycparser==2.22 # via cffi pyparsing==3.2.1 # via oslo-utils +pyperclip==1.9.0 + # via cmd2 pyyaml==6.0.2 # via # ansible-core - # kolla-ansible + # cliff # oslo-config # oslo-utils requests==2.32.3 # via # hvac # oslo-config -resolvelib==0.5.4 +resolvelib==1.0.1 # via ansible-core rfc3986==2.0.0 # via oslo-config stevedore==5.4.0 - # via oslo-config + # via + # cliff + # oslo-config tzdata==2025.1 # via oslo-utils urllib3==2.3.0 # via requests +wcwidth==0.2.13 + # via + # cmd2 + # prettytable wrapt==1.17.2 # via debtcollector diff --git a/requirements/2025.1/pyproject.toml b/requirements/2025.1/pyproject.toml new file mode 100644 index 000000000..c21e0f83c --- /dev/null +++ b/requirements/2025.1/pyproject.toml @@ -0,0 +1,7 @@ +[project] +name ="Epoxy" +version= "2025.1" +dependencies = [ + "ansible-core>=2.16,<2.17.99", # GPLv3 + "kolla-ansible<21.0", # Apache-2.0 +] diff --git a/requirements/2023.1/debian_11.txt b/requirements/2025.1/rocky_9.txt similarity index 68% rename from requirements/2023.1/debian_11.txt rename to requirements/2025.1/rocky_9.txt index 217a45b2e..6bac44e0c 100644 --- a/requirements/2023.1/debian_11.txt +++ b/requirements/2025.1/rocky_9.txt @@ -1,21 +1,29 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # -# pip-compile --output-file=requirements/2023.1/debian_11.txt requirements/2023.1/debian_11.in +# pip-compile --output-file=requirements/2024.2/rocky_9.txt requirements/2024.2/rocky_9.in # -ansible==6.0.0 - # via -r requirements/2023.1/debian_11.in -ansible-core==2.13.0 +ansible-core==2.17.8 # via - # -r requirements/2023.1/debian_11.in - # ansible + # -r requirements/2024.2/rocky_9.in + # kolla-ansible +autopage==0.5.2 + # via cliff +bcrypt==4.2.1 + # via + # kolla-ansible + # passlib certifi==2025.1.31 # via requests cffi==1.17.1 # via cryptography charset-normalizer==3.4.1 # via requests +cliff==4.8.0 + # via kolla-ansible +cmd2==2.5.11 + # via cliff cryptography==44.0.1 # via # ansible-core @@ -36,12 +44,10 @@ jinja2==3.1.5 # kolla-ansible jmespath==1.0.1 # via kolla-ansible -kolla-ansible==16.7.0 - # via -r requirements/2023.1/debian_11.in +kolla-ansible==19.3.0 + # via -r requirements/2024.2/rocky_9.in markupsafe==3.0.2 # via jinja2 -mitogen==0.3.22 - # via -r requirements/2023.1/debian_11.in netaddr==1.3.0 # via # oslo-config @@ -58,38 +64,49 @@ packaging==24.2 # via # ansible-core # oslo-utils +passlib[bcrypt]==1.7.4 + # via kolla-ansible pbr==6.1.1 # via - # kolla-ansible # oslo-i18n # oslo-utils # stevedore +prettytable==3.14.0 + # via cliff psutil==7.0.0 # via oslo-utils pycparser==2.22 # via cffi pyparsing==3.2.1 # via oslo-utils +pyperclip==1.9.0 + # via cmd2 pyyaml==6.0.2 # via # ansible-core - # kolla-ansible + # cliff # oslo-config # oslo-utils requests==2.32.3 # via # hvac # oslo-config -resolvelib==0.5.4 +resolvelib==1.0.1 # via ansible-core rfc3986==2.0.0 # via oslo-config stevedore==5.4.0 - # via oslo-config + # via + # cliff + # oslo-config tzdata==2025.1 # via oslo-utils urllib3==2.3.0 # via requests +wcwidth==0.2.13 + # via + # cmd2 + # prettytable wrapt==1.17.2 # via debtcollector diff --git a/requirements/2023.1/ubuntu_22.txt b/requirements/2025.1/ubuntu_24.txt similarity index 71% rename from requirements/2023.1/ubuntu_22.txt rename to requirements/2025.1/ubuntu_24.txt index 9e39a910c..c9b05c5b2 100644 --- a/requirements/2023.1/ubuntu_22.txt +++ b/requirements/2025.1/ubuntu_24.txt @@ -2,20 +2,28 @@ # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --output-file=requirements/2023.1/ubuntu_22.txt requirements/2023.1/ubuntu_22.in +# pip-compile --output-file=requirements/2024.2/ubuntu_22.txt requirements/2024.2/ubuntu_22.in # -ansible==6.0.0 - # via -r requirements/2023.1/ubuntu_22.in -ansible-core==2.13.0 +ansible-core==2.17.8 # via - # -r requirements/2023.1/ubuntu_22.in - # ansible + # -r requirements/2024.2/ubuntu_22.in + # kolla-ansible +autopage==0.5.2 + # via cliff +bcrypt==4.2.1 + # via + # kolla-ansible + # passlib certifi==2025.1.31 # via requests cffi==1.17.1 # via cryptography charset-normalizer==3.4.1 # via requests +cliff==4.8.0 + # via kolla-ansible +cmd2==2.5.11 + # via cliff cryptography==44.0.1 # via # ansible-core @@ -36,12 +44,10 @@ jinja2==3.1.5 # kolla-ansible jmespath==1.0.1 # via kolla-ansible -kolla-ansible==16.7.0 - # via -r requirements/2023.1/ubuntu_22.in +kolla-ansible==19.3.0 + # via -r requirements/2024.2/ubuntu_22.in markupsafe==3.0.2 # via jinja2 -mitogen==0.3.22 - # via -r requirements/2023.1/ubuntu_22.in netaddr==1.3.0 # via # oslo-config @@ -58,38 +64,49 @@ packaging==24.2 # via # ansible-core # oslo-utils +passlib[bcrypt]==1.7.4 + # via kolla-ansible pbr==6.1.1 # via - # kolla-ansible # oslo-i18n # oslo-utils # stevedore +prettytable==3.14.0 + # via cliff psutil==7.0.0 # via oslo-utils pycparser==2.22 # via cffi pyparsing==3.2.1 # via oslo-utils +pyperclip==1.9.0 + # via cmd2 pyyaml==6.0.2 # via # ansible-core - # kolla-ansible + # cliff # oslo-config # oslo-utils requests==2.32.3 # via # hvac # oslo-config -resolvelib==0.5.4 +resolvelib==1.0.1 # via ansible-core rfc3986==2.0.0 # via oslo-config stevedore==5.4.0 - # via oslo-config + # via + # cliff + # oslo-config tzdata==2025.1 # via oslo-utils urllib3==2.3.0 # via requests +wcwidth==0.2.13 + # via + # cmd2 + # prettytable wrapt==1.17.2 # via debtcollector diff --git a/requirements/base.sh b/requirements/base.sh index e8265ee09..82e6c5525 100755 --- a/requirements/base.sh +++ b/requirements/base.sh @@ -13,24 +13,24 @@ set -o nounset set -o pipefail if [ -f /etc/netplan/01-netcfg.yaml ]; then - sudo sed -i "s/addresses: .*/addresses: [1.1.1.1, 8.8.8.8, 8.8.4.4]/g" /etc/netplan/01-netcfg.yaml - sudo netplan apply + sudo sed -i "s/addresses: .*/addresses: [1.1.1.1, 8.8.8.8, 8.8.4.4]/g" /etc/netplan/01-netcfg.yaml + sudo netplan apply fi # shellcheck disable=SC1091 source /etc/os-release || source /usr/lib/os-release case ${ID,,} in ubuntu | debian) - nic="$(ip route get 1.1.1.1 | grep "^1." | awk '{ print $5 }' || :)" - if [ "${ID,,}" == "ubuntu" ] && [ -n "$nic" ] && command -v systemd-resolve && (! systemd-resolve --status | grep -q 1.1.1.1); then - sudo systemd-resolve --interface "$nic" --set-dns 1.1.1.1 - fi - if ! command -v curl; then - sudo apt-get update -qq >/dev/null - sudo apt-get install -y -qq -o=Dpkg::Use-Pty=0 curl - fi - if ! command -v dpkg-reconfigure; then - sudo dpkg-reconfigure --frontend=noninteractive locales - fi - ;; + nic="$(ip route get 1.1.1.1 | grep "^1." | awk '{ print $5 }' || :)" + if [ "${ID,,}" == "ubuntu" ] && [ -n "$nic" ] && command -v systemd-resolve && (! systemd-resolve --status | grep -q 1.1.1.1); then + sudo systemd-resolve --interface "$nic" --set-dns 1.1.1.1 + fi + if ! command -v curl; then + sudo apt-get update -qq >/dev/null + sudo apt-get install -y -qq -o=Dpkg::Use-Pty=0 curl + fi + if ! command -v dpkg-reconfigure; then + sudo dpkg-reconfigure --frontend=noninteractive locales + fi + ;; esac diff --git a/run_kaction.sh b/run_kaction.sh index fe12bed99..5214938ef 100755 --- a/run_kaction.sh +++ b/run_kaction.sh @@ -12,7 +12,7 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - set -o xtrace + set -o xtrace fi # NOTE: PYTHONPATH helps to pass the kolla_ansible module verification using Ansible's python @@ -21,20 +21,20 @@ EXTRA_OPTS="--extra ansible_user=$USER --extra ansible_become=true --extra ansib export PYTHONPATH EXTRA_OPTS function _get_kolla_ansible_cmd { - local kolla_action=$1 + local kolla_action=$1 - cmd="$(command -v kolla-ansible || echo kolla-ansible) $kolla_action --inventory ${OS_INVENTORY_FILE:-./samples/aio/hosts.ini}" - if [[ ${OS_DEBUG:-false} == "true" ]]; then - cmd+=" --verbose" - fi - if [[ $1 == "destroy" ]]; then - cmd+=" --yes-i-really-really-mean-it" - fi + cmd="$(command -v kolla-ansible || echo kolla-ansible) $kolla_action --inventory ${OS_INVENTORY_FILE:-./samples/aio/hosts.ini}" + if [[ ${OS_DEBUG:-false} == "true" ]]; then + cmd+=" --verbose" + fi + if [[ $1 == "destroy" ]]; then + cmd+=" --yes-i-really-really-mean-it" + fi - echo "$cmd" + echo "$cmd" } if [[ ${__name__:-"__main__"} == "__main__" ]]; then - ansible_cmd=$(_get_kolla_ansible_cmd "$1") - $ansible_cmd + ansible_cmd=$(_get_kolla_ansible_cmd "$1") + $ansible_cmd fi diff --git a/samples/aio/Vagrantfile b/samples/aio/Vagrantfile index 76778d85c..5beb149f7 100644 --- a/samples/aio/Vagrantfile +++ b/samples/aio/Vagrantfile @@ -20,7 +20,7 @@ no_proxy = ENV["NO_PROXY"] || ENV["no_proxy"] || "127.0.0.1,localhost" no_proxy += ",10.0.2.#{i}" end socks_proxy = ENV["socks_proxy"] || ENV["SOCKS_PROXY"] || "" -os_distro = ENV["OS_DISTRO"] || "debian_11" +os_distro = ENV["OS_DISTRO"] || "debian_12" box = vagrant_boxes[os_distro] enable_magnum = ENV["OS_KOLLA_ENABLE_MAGNUM"] || "no" diff --git a/samples/aio/hosts.ini b/samples/aio/hosts.ini index 8d5c22344..51ee06b80 100644 --- a/samples/aio/hosts.ini +++ b/samples/aio/hosts.ini @@ -94,9 +94,6 @@ control [horizon:children] control -[swift:children] -control - [barbican:children] control @@ -211,6 +208,9 @@ nova [nova-conductor:children] nova +[nova-metadata:children] +nova + [nova-super-conductor:children] nova @@ -303,19 +303,6 @@ network [manila-data:children] manila -# Swift -[swift-proxy-server:children] -swift - -[swift-account-server:children] -storage - -[swift-container-server:children] -storage - -[swift-object-server:children] -storage - # Barbican [barbican-api:children] barbican @@ -589,6 +576,9 @@ ovn-database [ovn-sb-db:children] ovn-database +[ovn-sb-db-relay:children] +ovn-database + [venus-api:children] venus diff --git a/samples/noha/tail.ini b/samples/noha/tail.ini index 61e7cbd99..71f34dfa9 100644 --- a/samples/noha/tail.ini +++ b/samples/noha/tail.ini @@ -6,28 +6,28 @@ [deployment] localhost ansible_connection=local -# You can explicitly specify which hosts run each project by updating the -# groups in the sections below. Common services are grouped together. - -[common:children] +[baremetal:children] control network compute storage monitoring -[collectd:children] -compute +[tls-backend:children] +control -[baremetal:children] +# You can explicitly specify which hosts run each project by updating the +# groups in the sections below. Common services are grouped together. + +[common:children] control network compute storage monitoring -[tls-backend:children] -control +[collectd:children] +compute [grafana:children] monitoring @@ -35,6 +35,12 @@ monitoring [etcd:children] control +[influxdb:children] +monitoring + +[prometheus:children] +monitoring + [telegraf:children] compute control @@ -86,9 +92,6 @@ control [horizon:children] control -[swift:children] -control - [barbican:children] control @@ -98,12 +101,6 @@ control [ironic:children] control -[influxdb:children] -monitoring - -[prometheus:children] -monitoring - [magnum:children] control @@ -113,9 +110,6 @@ control [manila:children] control -[gnocchi:children] -control - [ceilometer:children] control @@ -126,6 +120,9 @@ control control compute +[gnocchi:children] +control + [tacker:children] control @@ -203,6 +200,9 @@ nova [nova-conductor:children] nova +[nova-metadata:children] +nova + [nova-super-conductor:children] nova @@ -238,9 +238,6 @@ neutron compute network -[neutron-ovn-agent:children] -compute - [neutron-bgp-dragent:children] neutron @@ -253,6 +250,10 @@ neutron [ironic-neutron-agent:children] neutron +[neutron-ovn-agent:children] +compute +network + # Cinder [cinder-api:children] cinder @@ -295,19 +296,6 @@ network [manila-data:children] manila -# Swift -[swift-proxy-server:children] -swift - -[swift-account-server:children] -storage - -[swift-container-server:children] -storage - -[swift-object-server:children] -storage - # Barbican [barbican-api:children] barbican @@ -318,16 +306,6 @@ barbican [barbican-worker:children] barbican -# Trove -[trove-api:children] -trove - -[trove-conductor:children] -trove - -[trove-taskmanager:children] -trove - # Heat [heat-api:children] heat @@ -374,6 +352,19 @@ mistral [mistral-event-engine:children] mistral +# Ceilometer +[ceilometer-central:children] +ceilometer + +[ceilometer-notification:children] +ceilometer + +[ceilometer-compute:children] +compute + +[ceilometer-ipmi:children] +compute + # Aodh [aodh-api:children] aodh @@ -407,18 +398,15 @@ gnocchi [gnocchi-metricd:children] gnocchi -# Ceilometer -[ceilometer-central:children] -ceilometer - -[ceilometer-notification:children] -ceilometer +# Trove +[trove-api:children] +trove -[ceilometer-compute:children] -compute +[trove-conductor:children] +trove -[ceilometer-ipmi:children] -compute +[trove-taskmanager:children] +trove # Multipathd [multipathd:children] @@ -581,6 +569,9 @@ ovn-database [ovn-sb-db:children] ovn-database +[ovn-sb-db-relay:children] +ovn-database + [venus-api:children] venus diff --git a/scripts/cinder.sh b/scripts/cinder.sh index 6ac834a26..8c438a185 100755 --- a/scripts/cinder.sh +++ b/scripts/cinder.sh @@ -12,13 +12,13 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - export PKG_DEBUG=true - set -o xtrace + export PKG_DEBUG=true + set -o xtrace fi os_cinder_volume_type="lvm-1" if ! openstack volume type list | grep -q "$os_cinder_volume_type"; then - openstack volume type create "$os_cinder_volume_type" \ - --property volume_backend_name="$os_cinder_volume_type" + openstack volume type create "$os_cinder_volume_type" \ + --property volume_backend_name="$os_cinder_volume_type" fi diff --git a/scripts/magnum.sh b/scripts/magnum.sh index 27ffd895a..08aff483a 100755 --- a/scripts/magnum.sh +++ b/scripts/magnum.sh @@ -12,8 +12,8 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - export PKG_DEBUG=true - set -o xtrace + export PKG_DEBUG=true + set -o xtrace fi fedora_image_file="$HOME/Fedora-Cloud.qcow2" @@ -28,32 +28,32 @@ os_magnum_cluster=${1:-kubernetes-cluster} curl -fsSL http://bit.ly/install_pkg | PKG_COMMANDS_LIST="pip,kubectl" bash if ! command -v magnum; then - python -m pip install python-magnumclient + python -m pip install python-magnumclient fi if [ ! -f "$fedora_image_file" ]; then - curl -o "$fedora_image_file" -sL https://download.fedoraproject.org/pub/fedora/linux/releases/32/Cloud/x86_64/images/Fedora-Cloud-Base-32-1.6.x86_64.qcow2 + curl -o "$fedora_image_file" -sL https://download.fedoraproject.org/pub/fedora/linux/releases/32/Cloud/x86_64/images/Fedora-Cloud-Base-32-1.6.x86_64.qcow2 fi if ! openstack image list --name "$os_glance_image" | grep -q "$os_glance_image"; then - openstack image create --disk-format=qcow2 --container-format=bare \ - --file="$fedora_image_file" --property os_distro='fedora-atomic' \ - "$os_glance_image" + openstack image create --disk-format=qcow2 --container-format=bare \ + --file="$fedora_image_file" --property os_distro='fedora-atomic' \ + "$os_glance_image" fi if ! openstack coe cluster template list | grep -q "$os_magnum_template"; then - openstack coe cluster template create "$os_magnum_template" \ - --image "$os_glance_image" --external-network public1 \ - --dns-nameserver 8.8.8.8 --master-flavor m1.small \ - --flavor m1.small --coe kubernetes --docker-volume-size 3 + openstack coe cluster template create "$os_magnum_template" \ + --image "$os_glance_image" --external-network public1 \ + --dns-nameserver 8.8.8.8 --master-flavor m1.small \ + --flavor m1.small --coe kubernetes --docker-volume-size 3 fi if ! openstack coe cluster list | grep -q "$os_magnum_cluster"; then - openstack coe cluster create "$os_magnum_cluster" \ - --cluster-template "$os_magnum_template" \ - --master-count 1 \ - --node-count 1 \ - --keypair mykey + openstack coe cluster create "$os_magnum_cluster" \ + --cluster-template "$os_magnum_template" \ + --master-count 1 \ + --node-count 1 \ + --keypair mykey fi mkdir -p ~/clusters/kubernetes-cluster diff --git a/scripts/neutron_trunk.sh b/scripts/neutron_trunk.sh index 771c2373c..b517e90c3 100755 --- a/scripts/neutron_trunk.sh +++ b/scripts/neutron_trunk.sh @@ -12,8 +12,8 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - export PKG_DEBUG=true - set -o xtrace + export PKG_DEBUG=true + set -o xtrace fi net_prefix=demo-net @@ -24,39 +24,39 @@ port_prefix=demo-port [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin if ! command -v neutron >/dev/null; then - python -m pip install python-neutronclient + python -m pip install python-neutronclient fi # Create networks and subnets for the trunk and subports for i in $(seq 1 5); do - if ! openstack network list -c Name | grep -q "$net_prefix$i"; then - openstack network create "$net_prefix$i" - fi - if ! openstack subnet list -c Name | grep -q "$subnet_prefix$i"; then - openstack subnet create --network "$net_prefix$i" --subnet-range "10.0.$i.0/24" "$subnet_prefix$i" - fi - if ! openstack port list -c name | grep -q "$port_prefix$i"; then - openstack port create --network "$net_prefix$i" "$port_prefix$i" - fi + if ! openstack network list -c Name | grep -q "$net_prefix$i"; then + openstack network create "$net_prefix$i" + fi + if ! openstack subnet list -c Name | grep -q "$subnet_prefix$i"; then + openstack subnet create --network "$net_prefix$i" --subnet-range "10.0.$i.0/24" "$subnet_prefix$i" + fi + if ! openstack port list -c name | grep -q "$port_prefix$i"; then + openstack port create --network "$net_prefix$i" "$port_prefix$i" + fi done if ! openstack port list -c name | grep -q "trunk-parent"; then - openstack port create --network demo-net trunk-parent + openstack port create --network demo-net trunk-parent fi # Create the trunk and add subports to the trunk if ! openstack network trunk list -c Name | grep -q "trunk1"; then - openstack network trunk create --parent-port trunk-parent trunk1 + openstack network trunk create --parent-port trunk-parent trunk1 fi for i in $(seq 1 5); do - openstack network trunk set \ - --subport port="$port_prefix$i,segmentation-type=vlan,segmentation-id=$i" \ - trunk1 + openstack network trunk set \ + --subport port="$port_prefix$i,segmentation-type=vlan,segmentation-id=$i" \ + trunk1 done openstack network trunk show trunk1 if ! openstack server list -c Name | grep -q "demo1"; then - openstack server create --image cirros --flavor m1.tiny \ - --key-name mykey --port trunk-parent --use-config-drive \ - demo1 + openstack server create --image cirros --flavor m1.tiny \ + --key-name mykey --port trunk-parent --use-config-drive \ + demo1 fi diff --git a/undercloud.sh b/undercloud.sh index b46cf6d97..8c1435cee 100755 --- a/undercloud.sh +++ b/undercloud.sh @@ -12,8 +12,8 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - export PKG_DEBUG=true - set -o xtrace + export PKG_DEBUG=true + set -o xtrace fi source defaults.env @@ -22,123 +22,123 @@ source commons.sh source /etc/os-release || source /usr/lib/os-release function _setup_proxy { - if [ -n "${HTTP_PROXY-}" ]; then - sed -i "s|^container_http_proxy: .*$|container_http_proxy: \"${HTTP_PROXY}\"|g" ~/.local/share/kolla-ansible/ansible/group_vars/all.yml - echo "[Service]" | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf - echo "Environment=\"HTTP_PROXY=$HTTP_PROXY\"" | sudo tee --append /etc/systemd/system/docker.service.d/http-proxy.conf - fi - if [ -n "${HTTPS_PROXY-}" ]; then - sed -i "s|^container_https_proxy: .*$|container_https_proxy: \"${HTTPS_PROXY}\"|g" ~/.local/share/kolla-ansible/ansible/group_vars/all.yml - echo "[Service]" | sudo tee /etc/systemd/system/docker.service.d/https-proxy.conf - echo "Environment=\"HTTPS_PROXY=$HTTPS_PROXY\"" | sudo tee --append /etc/systemd/system/docker.service.d/https-proxy.conf - fi - if [ -n "${NO_PROXY-}" ]; then - sed -i "s|^container_no_proxy: .*$|container_no_proxy: \"${NO_PROXY}\"|g" ~/.local/share/kolla-ansible/ansible/group_vars/all.yml - echo "[Service]" | sudo tee /etc/systemd/system/docker.service.d/no-proxy.conf - echo "Environment=\"NO_PROXY=$NO_PROXY\"" | sudo tee --append /etc/systemd/system/docker.service.d/no-proxy.conf - fi + if [ -n "${HTTP_PROXY-}" ]; then + sed -i "s|^container_http_proxy: .*$|container_http_proxy: \"${HTTP_PROXY}\"|g" ~/.local/share/kolla-ansible/ansible/group_vars/all.yml + echo "[Service]" | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf + echo "Environment=\"HTTP_PROXY=$HTTP_PROXY\"" | sudo tee --append /etc/systemd/system/docker.service.d/http-proxy.conf + fi + if [ -n "${HTTPS_PROXY-}" ]; then + sed -i "s|^container_https_proxy: .*$|container_https_proxy: \"${HTTPS_PROXY}\"|g" ~/.local/share/kolla-ansible/ansible/group_vars/all.yml + echo "[Service]" | sudo tee /etc/systemd/system/docker.service.d/https-proxy.conf + echo "Environment=\"HTTPS_PROXY=$HTTPS_PROXY\"" | sudo tee --append /etc/systemd/system/docker.service.d/https-proxy.conf + fi + if [ -n "${NO_PROXY-}" ]; then + sed -i "s|^container_no_proxy: .*$|container_no_proxy: \"${NO_PROXY}\"|g" ~/.local/share/kolla-ansible/ansible/group_vars/all.yml + echo "[Service]" | sudo tee /etc/systemd/system/docker.service.d/no-proxy.conf + echo "Environment=\"NO_PROXY=$NO_PROXY\"" | sudo tee --append /etc/systemd/system/docker.service.d/no-proxy.conf + fi } function _get_kolla_actions { - local kolla_ansible_version="$1" - local kolla_deploy_profile="${2:-$OS_KOLLA_DEPLOY_PROFILE}" - - kolla_actions=(bootstrap-servers) - # Install Ansible Galaxy dependencies (Yoga release onwards) - if vercmp "$kolla_ansible_version" '>=' '14'; then - kolla_actions=(install-deps "${kolla_actions[@]}") - fi - if [ "${kolla_deploy_profile}" == "complete" ]; then - kolla_actions=("${kolla_actions[@]}" prechecks pull) - fi - kolla_actions=("${kolla_actions[@]}" deploy) - if [ "${kolla_deploy_profile}" == "complete" ] && vercmp "$kolla_ansible_version" '<' '15'; then - # NOTE: Smoke tests have been removed in Zed release (https://github.com/openstack/kolla-ansible/commit/591f366ed736977664e899bd834e363191a9472d#diff-707286526f137598948e03470854d542446836f5dd83cbfcb30caab67bb6c7bb) - kolla_actions=("${kolla_actions[@]}" check) - fi - kolla_actions=("${kolla_actions[@]}" post-deploy) - - echo "${kolla_actions[@]}" + local kolla_ansible_version="$1" + local kolla_deploy_profile="${2:-$OS_KOLLA_DEPLOY_PROFILE}" + + kolla_actions=(bootstrap-servers) + # Install Ansible Galaxy dependencies (Yoga release onwards) + if vercmp "$kolla_ansible_version" '>=' '14'; then + kolla_actions=(install-deps "${kolla_actions[@]}") + fi + if [ "${kolla_deploy_profile}" == "complete" ]; then + kolla_actions=("${kolla_actions[@]}" prechecks pull) + fi + kolla_actions=("${kolla_actions[@]}" deploy) + if [ "${kolla_deploy_profile}" == "complete" ] && vercmp "$kolla_ansible_version" '<' '15'; then + # NOTE: Smoke tests have been removed in Zed release (https://github.com/openstack/kolla-ansible/commit/591f366ed736977664e899bd834e363191a9472d#diff-707286526f137598948e03470854d542446836f5dd83cbfcb30caab67bb6c7bb) + kolla_actions=("${kolla_actions[@]}" check) + fi + kolla_actions=("${kolla_actions[@]}" post-deploy) + + echo "${kolla_actions[@]}" } function _remove_conflicting_python_pkgs { - case ${ID,,} in - ubuntu | debian) - sanity_pkgs="" - for pkg in python-cryptography python3-cryptography python3-distro-info python3-debian python3-openssl python3-docker python3-urllib3; do - if sudo dpkg -l "$pkg" >/dev/null; then - sanity_pkgs+="$pkg " - fi - done - eval "sudo apt remove -y $sanity_pkgs" - ;; - esac + case ${ID,,} in + ubuntu | debian) + sanity_pkgs="" + for pkg in python-cryptography python3-cryptography python3-distro-info python3-debian python3-openssl python3-docker python3-urllib3; do + if sudo dpkg -l "$pkg" >/dev/null; then + sanity_pkgs+="$pkg " + fi + done + eval "sudo apt remove -y $sanity_pkgs" + ;; + esac } function _install_deps { - _remove_conflicting_python_pkgs - - # Install dependencies - curl -fsSL http://bit.ly/install_bin | PKG_BINDEP_PROFILE=undercloud PKG_COMMANDS_LIST="yq" PKG_UPDATE=true bash - - # Install Kolla-Ansible dependencies - sudo ln -s "$(command -v pip3)" /usr/bin/pip3 || : - python -m pip install --ignore-installed --no-warn-script-location --requirement "requirements/${OPENSTACK_RELEASE}/${ID,,}_${VERSION_ID%.*}.txt" - # PEP 370 -- Per user site-packages directory - [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin - # https://review.opendev.org/c/openstack/kolla-ansible/+/584427/17/ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j2#6 - sudo find / -name rabbitmq-env.conf.j2 -exec sed -i '/export ERL_EPMD_ADDRESS/d' {} \; + _remove_conflicting_python_pkgs + + # Install dependencies + curl -fsSL http://bit.ly/install_bin | PKG_BINDEP_PROFILE=undercloud PKG_COMMANDS_LIST="yq" PKG_UPDATE=true bash + + # Install Kolla-Ansible dependencies + sudo ln -s "$(command -v pip3)" /usr/bin/pip3 || : + python -m pip install --ignore-installed --no-warn-script-location --requirement "requirements/${OPENSTACK_RELEASE}/${ID,,}_${VERSION_ID%.*}.txt" + # PEP 370 -- Per user site-packages directory + [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin + # https://review.opendev.org/c/openstack/kolla-ansible/+/584427/17/ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j2#6 + sudo find / -name rabbitmq-env.conf.j2 -exec sed -i '/export ERL_EPMD_ADDRESS/d' {} \; } function _cleanup_docker_services { - # Remove docker source list to avoid update conflicts - [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin - ansible control -i "${OS_INVENTORY_FILE:-./samples/aio/hosts.ini}" -m file \ - -a 'path=/etc/apt/sources.list.d/docker.list state=absent' -b \ - -e "ansible_user=$USER" - sudo rm -f /etc/docker/daemon.json + # Remove docker source list to avoid update conflicts + [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin + ansible control -i "${OS_INVENTORY_FILE:-./samples/aio/hosts.ini}" -m file \ + -a 'path=/etc/apt/sources.list.d/docker.list state=absent' -b \ + -e "ansible_user=$USER" + sudo rm -f /etc/docker/daemon.json } function _run_kolla_ansible { - # PEP 370 -- Per user site-packages directory - [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin - kolla-genpwd - kolla_ansible_version="$(pip freeze | grep kolla-ansible | sed 's/^.*=//')" - # shellcheck disable=SC2046 - run_kolla_actions $(_get_kolla_actions "$kolla_ansible_version") - sudo chown "$USER" /etc/kolla/admin-openrc.sh - # shellcheck disable=SC2002 - cat /etc/kolla/admin-openrc.sh | sudo tee --append /etc/environment + # PEP 370 -- Per user site-packages directory + [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin + kolla-genpwd + kolla_ansible_version="$(pip freeze | grep kolla-ansible | sed 's/^.*=//')" + # shellcheck disable=SC2046 + run_kolla_actions $(_get_kolla_actions "$kolla_ansible_version") + sudo chown "$USER" /etc/kolla/admin-openrc.sh + # shellcheck disable=SC2002 + cat /etc/kolla/admin-openrc.sh | sudo tee --append /etc/environment } function main { - sudo touch /etc/timezone + sudo touch /etc/timezone - _start=$(date +%s) - trap 'printf "Provisioning process: %s secs\n" "$(($(date +%s)-_start))"' EXIT + _start=$(date +%s) + trap 'printf "Provisioning process: %s secs\n" "$(($(date +%s)-_start))"' EXIT - _install_deps - sudo mkdir -p /etc/{kolla,ansible,systemd/system/docker.service.d} + _install_deps + sudo mkdir -p /etc/{kolla,ansible,systemd/system/docker.service.d} - # Setup configuration values - if [ "${OS_ENABLE_LOCAL_REGISTRY:-false}" == "true" ]; then - export OS_KOLLA_DOCKER_REGISTRY="${DOCKER_REGISTRY_IP:-127.0.0.1}:${DOCKER_REGISTRY_PORT:-5000}" - export OS_KOLLA_DOCKER_REGISTRY_INSECURE="yes" - export OS_KOLLA_DOCKER_NAMESPACE="kolla" - fi - set_values - _setup_proxy - setup_ansible + # Setup configuration values + if [ "${OS_ENABLE_LOCAL_REGISTRY:-false}" == "true" ]; then + export OS_KOLLA_DOCKER_REGISTRY="${DOCKER_REGISTRY_IP:-127.0.0.1}:${DOCKER_REGISTRY_PORT:-5000}" + export OS_KOLLA_DOCKER_REGISTRY_INSECURE="yes" + export OS_KOLLA_DOCKER_NAMESPACE="kolla" + fi + set_values + _setup_proxy + setup_ansible - _cleanup_docker_services + _cleanup_docker_services - _run_kolla_ansible + _run_kolla_ansible - if groups | grep -q docker && (! getent group docker | grep -q "$USER"); then - sudo usermod -aG docker "$USER" - fi + if groups | grep -q docker && (! getent group docker | grep -q "$USER"); then + sudo usermod -aG docker "$USER" + fi } if [[ ${__name__:-"__main__"} == "__main__" ]]; then - main + main fi diff --git a/upgrade.sh b/upgrade.sh index d1985e5a1..9264eeeff 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -12,7 +12,7 @@ set -o nounset set -o pipefail set -o errexit if [[ ${OS_DEBUG:-false} == "true" ]]; then - set -o xtrace + set -o xtrace fi source defaults.env @@ -21,46 +21,46 @@ source commons.sh source /etc/os-release || source /usr/lib/os-release function _print_state { - # PEP 370 -- Per user site-packages directory - [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin - if command -v openstack; then - echo "OpenStack client version" - openstack --version + # PEP 370 -- Per user site-packages directory + [[ $PATH != *.local/bin* ]] && export PATH=$PATH:$HOME/.local/bin + if command -v openstack; then + echo "OpenStack client version" + openstack --version - echo "OpenStack service versions" - openstack versions show - fi + echo "OpenStack service versions" + openstack versions show + fi - echo "OpenStack Kolla version" - pip freeze | grep kolla + echo "OpenStack Kolla version" + pip freeze | grep kolla - if command -v docker; then - echo "OpenStack Kolla services" - sudo docker ps - fi + if command -v docker; then + echo "OpenStack Kolla services" + sudo docker ps + fi } function _install_deps { - if ! command -v pip; then - # NOTE: Shorten link -> https://github.com/electrocucaracha/pkg-mgr_scripts - curl -fsSL http://bit.ly/install_pkg | PKG=pip bash - fi - echo "Upgrade OpenStack services to ${OPENSTACK_RELEASE} release" - # NOTE: Uninstall mitogen given that it's only supported in some Ansible versions (2.13.x) - pip uninstall mitogen --yes - python -m pip install --ignore-installed --no-warn-script-location --requirement "requirements/${OPENSTACK_RELEASE}/${ID,,}_${VERSION_ID%.*}.txt" - setup_ansible + if ! command -v pip; then + # NOTE: Shorten link -> https://github.com/electrocucaracha/pkg-mgr_scripts + curl -fsSL http://bit.ly/install_pkg | PKG=pip bash + fi + echo "Upgrade OpenStack services to ${OPENSTACK_RELEASE} release" + # NOTE: Uninstall mitogen given that it's only supported in some Ansible versions (2.13.x) + pip uninstall mitogen --yes + python -m pip install --ignore-installed --no-warn-script-location --requirement "requirements/${OPENSTACK_RELEASE}/${ID,,}_${VERSION_ID%.*}.txt" + setup_ansible } function main { - _print_state - trap _print_state EXIT + _print_state + trap _print_state EXIT - _install_deps - set_values - run_kolla_actions pull upgrade + _install_deps + set_values + run_kolla_actions pull upgrade } if [[ ${__name__:-"__main__"} == "__main__" ]]; then - main + main fi