Ansible playbook failing at at
Fri Jul 29 08:49:49 UTC 2022

I don’t know this code, but the error message implies that the `nginx` user doesn’t exist on that box. is it visible (e.g in `/etc/passwd`).

Assuming that is the case, the question is ‘what changed’ since the ansible code was last run (if anything - it could be a race condition that happens randomly). I’d guess that nginx installation failed/was removed.
> On 29 Jul 2022, at 08:42, Derek O keeffe <derekokeeffe85 at> wrote:
> Hi all,
> I have ran the OSA playbooks to completion on more than one occasion but recently I'm having an issue I can't figure out so if anyone could shed some light on it it would be much appreciated.
> When running "openstack-ansible setup-openstack.yml" I get to the task named "TASK [python_venv_build : Create wheel directory on the build host]" and I get the following error:
> fatal: [infra1_gnocchi_container-7c40503c -> infra1_repo_container-017aea8f(xx.xx.xx.xx)]: FAILED! => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "msg": "chown failed: failed to look up user nginx", "owner": "root", "path": "/var/www", "size": 4096, "state": "directory", "uid": 0}
> I cannot seem to find anything about this and didn't see this error when running the playbooks previously. Thanks in advance for any suggestions.
> Regards,
> Derek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openstack-discuss mailing list