perfsonar-user - [perfsonar-user] Ansible playbook error
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Kate Adams <>
- To:
- Subject: [perfsonar-user] Ansible playbook error
- Date: Fri, 23 Apr 2021 07:54:04 -0500
Hello All,
I'm setting up an ansible deployment of perfsonar. The playbook runs and deploys enough of the perfsonar toolkit to install a webserver. However, the ansible playbook command has an error and some things are not running on the perfsonar instance.
ansible-playbook perfsonar.yml
PLAY [perfSONAR archives] ****************************************************************************************
skipping: no hosts matched
PLAY [perfSONAR MadDash] *****************************************************************************************
skipping: no hosts matched
PLAY [perfSONAR testpoints] **************************************************************************************
skipping: no hosts matched
PLAY [perfSONAR toolkit] *****************************************************************************************
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key
(-username). Using last defined value only.
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key
(-fullname). Using last defined value only.
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key (-email).
Using last defined value only.
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key
(-password). Using last defined value only.
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key
(-password_reset). Using last defined value only.
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key (-scope).
Using last defined value only.
TASK [Gathering Facts] *******************************************************************************************
ok: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : RedHat Install] *********************************************************
included: /home/kate/ansible-playbook-perfsonar/roles/ansible-role-perfsonar-installer/tasks/RedHat.yml for tuls.ps.greatplains.net
TASK [ansible-role-perfsonar-installer : (RedHat) Add EPEL repository] *******************************************
ok: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : (RedHat) Add perfSONAR repository] **************************************
ok: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : (RedHat) Use perfSONAR staging or nightly repository] *******************
skipping: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : (RedHat) Install system updates] ****************************************
ok: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : Install perfSONAR bundle perfsonar-toolkit] *****************************
ok: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : Install perfSONAR additional packages] **********************************
ok: [tuls.ps.greatplains.net] => (item=python-passlib)
failed: [tuls.ps.greatplains.net] (item=python3-passlib) => {"ansible_loop_var": "item", "changed": false, "item": "python3-passlib", "msg": "No package matching 'python3-passlib' found available, installed or updated", "rc": 126, "results": ["No package matching 'python3-passlib' found available, installed or updated"]}
PLAY RECAP *******************************************************************************************************
tuls.ps.greatplains.net : ok=6 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
skipping: no hosts matched
PLAY [perfSONAR MadDash] *****************************************************************************************
skipping: no hosts matched
PLAY [perfSONAR testpoints] **************************************************************************************
skipping: no hosts matched
PLAY [perfSONAR toolkit] *****************************************************************************************
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key
(-username). Using last defined value only.
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key
(-fullname). Using last defined value only.
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key (-email).
Using last defined value only.
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key
(-password). Using last defined value only.
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key
(-password_reset). Using last defined value only.
[WARNING]: While constructing a mapping from /home/kate/ansible-playbook-
perfsonar/inventory/group_vars/ps_psconfig_web_admin.yml, line 5, column 1, found a duplicate dict key (-scope).
Using last defined value only.
TASK [Gathering Facts] *******************************************************************************************
ok: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : RedHat Install] *********************************************************
included: /home/kate/ansible-playbook-perfsonar/roles/ansible-role-perfsonar-installer/tasks/RedHat.yml for tuls.ps.greatplains.net
TASK [ansible-role-perfsonar-installer : (RedHat) Add EPEL repository] *******************************************
ok: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : (RedHat) Add perfSONAR repository] **************************************
ok: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : (RedHat) Use perfSONAR staging or nightly repository] *******************
skipping: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : (RedHat) Install system updates] ****************************************
ok: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : Install perfSONAR bundle perfsonar-toolkit] *****************************
ok: [tuls.ps.greatplains.net]
TASK [ansible-role-perfsonar-installer : Install perfSONAR additional packages] **********************************
ok: [tuls.ps.greatplains.net] => (item=python-passlib)
failed: [tuls.ps.greatplains.net] (item=python3-passlib) => {"ansible_loop_var": "item", "changed": false, "item": "python3-passlib", "msg": "No package matching 'python3-passlib' found available, installed or updated", "rc": 126, "results": ["No package matching 'python3-passlib' found available, installed or updated"]}
PLAY RECAP *******************************************************************************************************
tuls.ps.greatplains.net : ok=6 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
On the website lsregistration, owamp, and twamp are not running. None of the information in lsregistration.yml was imported, either.
None of the users listed in ps_psconfig_web_admin.yml were created, either.
Any suggestions on how to fix this?
ansible-playbook-perfsonar/inventory/hosts file:
[all:vars]
ansible_become=True
ansible_become_user=root
#ansible_become_method=su
[ps_testpoint]
[ps_toolkit]
tuls.ps.greatplains.net
[ps_archive]
[ps_maddash]
[ps_psconfig_publisher]
[ps_psconfig_web_admin]
tuls.ps.greatplains.net
ansible_become=True
ansible_become_user=root
#ansible_become_method=su
[ps_testpoint]
[ps_toolkit]
tuls.ps.greatplains.net
[ps_archive]
[ps_maddash]
[ps_psconfig_publisher]
[ps_psconfig_web_admin]
tuls.ps.greatplains.net
Kate Adams ()
Cyberinfrastructure Technologist
Great Plains Network
- [perfsonar-user] Ansible playbook error, Kate Adams, 04/23/2021
- Re: [perfsonar-user] Ansible playbook error, Edward Colone, 04/23/2021
Archive powered by MHonArc 2.6.24.