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: "Garnizov, Ivan" <>
  • To: Kate Adams <>, Edward Colone <>
  • Cc: "" <>
  • Subject: RE: [perfsonar-user] Ansible playbook error
  • Date: Thu, 23 Mar 2023 13:05:20 +0000

Hello Kate,

 

Please note the issue with the missing “python-passlib” needed “to work with htpasswd module” is a common a requirement of Ansible for management of Linux systems.
Meaning you should be having this package on the remote host upfront. Please check the requirements section: https://github.com/perfsonar/ansible-role-perfsonar-toolkit
 
The simple solution is:
“apt-get install python-passlib”
 
 
Similar references can be found when looking for: Ansible This module requires the passlib Python library
 

Regards,

Ivan Garnizov

 

GEANT WP6T3: pS development team

GEANT WP9T1: pS deployments GN Operations

GEANT WP9T2: Software governance in GEANT

 

 

 

From: [mailto:] On Behalf Of Kate Adams
Sent: Wednesday, May 5, 2021 4:08 PM
To: Edward Colone <>
Cc:
Subject: Re: [perfsonar-user] Ansible playbook error

 

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, Garnizov, Ivan, 03/23/2023

Archive powered by MHonArc 2.6.24.

Top of Page