Thx,
But I'm still having the same results:
root@iaas-infra:/opt/openstack-ansible/scripts# bootstrap-ansible.sh bootstrap-ansible.sh: command not found
root@iaas-infra:/opt/openstack-ansible/scripts# cd .. root@iaas-infra:/opt/openstack-ansible# scripts/bootstrap-ansible.sh + export HTTP_PROXY= + HTTP_PROXY= + export HTTPS_PROXY= + HTTPS_PROXY= + export ANSIBLE_PACKAGE=ansible-base==2.10.3 + ANSIBLE_PACKAGE=ansible-base==2.10.3 + export ANSIBLE_ROLE_FILE=ansible-role-requirements.yml + ANSIBLE_ROLE_FILE=ansible-role-requirements.yml + export ANSIBLE_COLLECTION_FILE=ansible-collection-requirements.yml + ANSIBLE_COLLECTION_FILE=ansible-collection-requirements.yml + export USER_ROLE_FILE=user-role-requirements.yml + USER_ROLE_FILE=user-role-requirements.yml + export USER_COLLECTION_FILE=user-collection-requirements.yml + USER_COLLECTION_FILE=user-collection-requirements.yml + export SSH_DIR=/root/.ssh + SSH_DIR=/root/.ssh + export DEBIAN_FRONTEND=noninteractive + DEBIAN_FRONTEND=noninteractive + export SETUP_ARA=false + SETUP_ARA=false + export PIP_OPTS= + PIP_OPTS= + export OSA_WRAPPER_BIN=scripts/openstack-ansible.sh + OSA_WRAPPER_BIN=scripts/openstack-ansible.sh ++ dirname scripts/bootstrap-ansible.sh + cd scripts/.. + info_block 'Checking for required libraries.' + source scripts/scripts-library.sh ++ LINE=---------------------------------------------------------------------- ++ ANSIBLE_PARAMETERS= +++ date +%s ++ STARTTIME=1613310059 ++ COMMAND_LOGS=/openstack/log/ansible_cmd_logs ++ PIP_COMMAND=/opt/ansible-runtime/bin/pip ++ ZUUL_PROJECT= ++ GATE_EXIT_LOG_COPY=false ++ GATE_EXIT_LOG_GZIP=true ++ GATE_EXIT_RUN_ARA=true ++ GATE_EXIT_RUN_DSTAT=true ++ [[ -n '' ]] ++ '[' -z '' ']' +++ grep -c '^processor' /proc/cpuinfo ++ CPU_NUM=4 ++ '[' 4 -lt 10 ']' ++ ANSIBLE_FORKS=4 ++ trap 'exit_fail 404 0 '\''Received STOP Signal'\''' SIGHUP SIGINT SIGTERM ++ trap 'exit_fail 405 0' ERR +++ id -u ++ '[' 0 '!=' 0 ']' ++ '[' '!' -d etc -a '!' -d scripts -a '!' -d playbooks ']' ++ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin ++ export HOME=/root ++ HOME=/root ++ [[ -f /usr/local/bin/openstack-ansible.rc ]] + info_block 'Bootstrapping System with Ansible' + echo ---------------------------------------------------------------------- ---------------------------------------------------------------------- + print_info 'Bootstrapping System with Ansible' + PROC_NAME='- [ Bootstrapping System with Ansible ] -' + printf '\n%s%s\n' '- [ Bootstrapping System with Ansible ] -' -----------------------------
- [ Bootstrapping System with Ansible ] ------------------------------ + echo ---------------------------------------------------------------------- ---------------------------------------------------------------------- ++ pwd + export OSA_CLONE_DIR=/opt/openstack-ansible + OSA_CLONE_DIR=/opt/openstack-ansible ++ readlink -f ansible-role-requirements.yml + ANSIBLE_ROLE_FILE=/opt/openstack-ansible/ansible-role-requirements.yml ++ readlink -f inventory + OSA_INVENTORY_PATH=/opt/openstack-ansible/inventory ++ readlink -f playbooks + OSA_PLAYBOOK_PATH=/opt/openstack-ansible/playbooks + OSA_ANSIBLE_PYTHON_INTERPRETER=auto + ssh_key_create + key_path=/root/.ssh + key_file=/root/.ssh/id_rsa + '[' '!' -d /root/.ssh ']' + '[' '!' -f /root/.ssh/id_rsa -o '!' -f /root/.ssh/id_rsa.pub ']' ++ cat /root/.ssh/id_rsa.pub + key_content='ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx root@iaas-infra' + grep -q 'ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx root@iaas-infra' /root/.ssh/authorized_keys + determine_distro + source /etc/os-release + export DISTRO_ID=ubuntu + DISTRO_ID=ubuntu + export DISTRO_NAME=Ubuntu + DISTRO_NAME=Ubuntu + case ${DISTRO_ID} in + [[ 20.04 == \1\0 ]] + apt-get update Hit:1 http://de.archive.ubuntu.com/ubuntu focal InRelease Get:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:3 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB] Get:4 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/victoria InRelease [8,750 B] Ign:5 http://ppa.launchpad.net/chris-lea/munin-plugins/ubuntu focal InRelease Get:6 http://de.archive.ubuntu.com/ubuntu focal-security InRelease [109 kB] Err:7 http://ppa.launchpad.net/chris-lea/munin-plugins/ubuntu focal Release 404 Not Found [IP: 91.189.95.85 80] Reading package lists... Done E: The repository 'http://ppa.launchpad.net/chris-lea/munin-plugins/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. ++ exit_fail 405 0 ++ set +x Hit:1 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/victoria InRelease Ign:2 http://ppa.launchpad.net/chris-lea/munin-plugins/ubuntu focal InRelease Hit:3 http://de.archive.ubuntu.com/ubuntu focal InRelease Hit:4 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease Err:5 http://ppa.launchpad.net/chris-lea/munin-plugins/ubuntu focal Release 404 Not Found [IP: 91.189.95.85 80] Hit:6 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:7 http://de.archive.ubuntu.com/ubuntu focal-security InRelease Reading package lists... Done E: The repository 'http://ppa.launchpad.net/chris-lea/munin-plugins/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. root@iaas-infra:/opt/openstack-ansible#
Thx,
But I'm still having the same results:
root@iaas- infra:/ opt/openstack- ansible/ scripts# bootstrap- ansible. sh ansible. sh: command not found
bootstrap-
root@iaas- infra:/ opt/openstack- ansible/ scripts# cd .. infra:/ opt/openstack- ansible# scripts/ bootstrap- ansible. sh PACKAGE= ansible- base==2. 10.3 PACKAGE= ansible- base==2. 10.3 ROLE_FILE= ansible- role-requiremen ts.yml ROLE_FILE= ansible- role-requiremen ts.yml COLLECTION_ FILE=ansible- collection- requirements. yml COLLECTION_ FILE=ansible- collection- requirements. yml FILE=user- role-requiremen ts.yml FILE=user- role-requiremen ts.yml _FILE=user- collection- requirements. yml _FILE=user- collection- requirements. yml FRONTEND= noninteractive FRONTEND= noninteractive BIN=scripts/ openstack- ansible. sh BIN=scripts/ openstack- ansible. sh bootstrap- ansible. sh scripts- library. sh ------- ------- ------- ------- ------- ------- ------- ------- ------- ----- 1613310059 LOGS=/openstack /log/ansible_ cmd_logs /opt/ansible- runtime/ bin/pip LOG_COPY= false LOG_GZIP= true RUN_ARA= true RUN_DSTAT= true local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/usr/ local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/snap/ bin local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/usr/ local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/snap/ bin bin/openstack- ansible. rc ]] ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
root@iaas-
+ export HTTP_PROXY=
+ HTTP_PROXY=
+ export HTTPS_PROXY=
+ HTTPS_PROXY=
+ export ANSIBLE_
+ ANSIBLE_
+ export ANSIBLE_
+ ANSIBLE_
+ export ANSIBLE_
+ ANSIBLE_
+ export USER_ROLE_
+ USER_ROLE_
+ export USER_COLLECTION
+ USER_COLLECTION
+ export SSH_DIR=/root/.ssh
+ SSH_DIR=/root/.ssh
+ export DEBIAN_
+ DEBIAN_
+ export SETUP_ARA=false
+ SETUP_ARA=false
+ export PIP_OPTS=
+ PIP_OPTS=
+ export OSA_WRAPPER_
+ OSA_WRAPPER_
++ dirname scripts/
+ cd scripts/..
+ info_block 'Checking for required libraries.'
+ source scripts/
++ LINE=--
++ ANSIBLE_PARAMETERS=
+++ date +%s
++ STARTTIME=
++ COMMAND_
++ PIP_COMMAND=
++ ZUUL_PROJECT=
++ GATE_EXIT_
++ GATE_EXIT_
++ GATE_EXIT_
++ GATE_EXIT_
++ [[ -n '' ]]
++ '[' -z '' ']'
+++ grep -c '^processor' /proc/cpuinfo
++ CPU_NUM=4
++ '[' 4 -lt 10 ']'
++ ANSIBLE_FORKS=4
++ trap 'exit_fail 404 0 '\''Received STOP Signal'\''' SIGHUP SIGINT SIGTERM
++ trap 'exit_fail 405 0' ERR
+++ id -u
++ '[' 0 '!=' 0 ']'
++ '[' '!' -d etc -a '!' -d scripts -a '!' -d playbooks ']'
++ export PATH=/usr/
++ PATH=/usr/
++ export HOME=/root
++ HOME=/root
++ [[ -f /usr/local/
+ info_block 'Bootstrapping System with Ansible'
+ echo -------
-------
+ print_info 'Bootstrapping System with Ansible'
+ PROC_NAME='- [ Bootstrapping System with Ansible ] -'
+ printf '\n%s%s\n' '- [ Bootstrapping System with Ansible ] -' -------
- [ Bootstrapping System with Ansible ] ------- ------- ------- ------- -- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- DIR=/opt/ openstack- ansible DIR=/opt/ openstack- ansible role-requiremen ts.yml ROLE_FILE= /opt/openstack- ansible/ ansible- role-requiremen ts.yml PATH=/opt/ openstack- ansible/ inventory PATH=/opt/ openstack- ansible/ playbooks PYTHON_ INTERPRETER= auto /root/. ssh/id_ rsa ssh/id_ rsa.pub ']' ssh/id_ rsa.pub 'ssh-rsa xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxx root@iaas-infra' xxxxxxxxxxxxxxx xxxxxx root@iaas-infra' /root/. ssh/authorized_ keys de.archive. ubuntu. com/ubuntu focal InRelease de.archive. ubuntu. com/ubuntu focal-updates InRelease [114 kB] de.archive. ubuntu. com/ubuntu focal-backports InRelease [101 kB] ubuntu- cloud.archive. canonical. com/ubuntu focal-updates/ victoria InRelease [8,750 B] ppa.launchpad. net/chris- lea/munin- plugins/ ubuntu focal InRelease de.archive. ubuntu. com/ubuntu focal-security InRelease [109 kB] ppa.launchpad. net/chris- lea/munin- plugins/ ubuntu focal Release ppa.launchpad. net/chris- lea/munin- plugins/ ubuntu focal Release' does not have a Release file. ubuntu- cloud.archive. canonical. com/ubuntu focal-updates/ victoria InRelease ppa.launchpad. net/chris- lea/munin- plugins/ ubuntu focal InRelease de.archive. ubuntu. com/ubuntu focal InRelease de.archive. ubuntu. com/ubuntu focal-updates InRelease ppa.launchpad. net/chris- lea/munin- plugins/ ubuntu focal Release de.archive. ubuntu. com/ubuntu focal-backports InRelease de.archive. ubuntu. com/ubuntu focal-security InRelease ppa.launchpad. net/chris- lea/munin- plugins/ ubuntu focal Release' does not have a Release file. infra:/ opt/openstack- ansible#
+ echo -------
-------
++ pwd
+ export OSA_CLONE_
+ OSA_CLONE_
++ readlink -f ansible-
+ ANSIBLE_
++ readlink -f inventory
+ OSA_INVENTORY_
++ readlink -f playbooks
+ OSA_PLAYBOOK_
+ OSA_ANSIBLE_
+ ssh_key_create
+ key_path=/root/.ssh
+ key_file=
+ '[' '!' -d /root/.ssh ']'
+ '[' '!' -f /root/.ssh/id_rsa -o '!' -f /root/.
++ cat /root/.
+ key_content=
+ grep -q 'ssh-rsa xxxxxxxxxxxxxxx
+ determine_distro
+ source /etc/os-release
+ export DISTRO_ID=ubuntu
+ DISTRO_ID=ubuntu
+ export DISTRO_NAME=Ubuntu
+ DISTRO_NAME=Ubuntu
+ case ${DISTRO_ID} in
+ [[ 20.04 == \1\0 ]]
+ apt-get update
Hit:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Ign:5 http://
Get:6 http://
Err:7 http://
404 Not Found [IP: 91.189.95.85 80]
Reading package lists... Done
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
++ exit_fail 405 0
++ set +x
Hit:1 http://
Ign:2 http://
Hit:3 http://
Hit:4 http://
Err:5 http://
404 Not Found [IP: 91.189.95.85 80]
Hit:6 http://
Hit:7 http://
Reading package lists... Done
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@iaas-