Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Ansible playbook error

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Ansible playbook error


Chronological Thread 
  • From: Kate Adams <>
  • To: Edward Colone <>
  • Cc:
  • Subject: Re: [perfsonar-user] Ansible playbook error
  • Date: Wed, 5 May 2021 09:08:08 -0500

Hello Ed,

Do you have any updates on this? 

Kate

On Fri, Apr 23, 2021 at 8:00 AM Edward Colone <> wrote:
Hi Kate, I will take a look at this.

Thanks,

-Ed


On Fri, Apr 23, 2021 at 8:54 AM Kate Adams <> wrote:
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


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


--
Kate Adams ()
Cyberinfrastructure Technologist
Great Plains Network
--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user


--
Kate Adams ()
Cyberinfrastructure Technologist
Great Plains Network


  • Re: [perfsonar-user] Ansible playbook error, Kate Adams, 05/05/2021

Archive powered by MHonArc 2.6.24.

Top of Page