Skip to content

ansible playbook fail #46

@midu16

Description

@midu16

Hello,

I am facing the following issue on a Fedora 34:

TASK [runplaybooks : Run Setup Hosts Playbook] *********************************
fatal: [controller-01]: FAILED! => {"changed": true, "cmd": "openstack-ansible --forks 2 setup-hosts.yml > /vagrant/logs/setup-hosts.log", "delta": "0:01:07.373003", "end": "2021-07-06 12:16:44.966819", "msg": "non-zero return code", "rc": 2, "start": "2021-07-06 12:15:37.593816", "stderr": " [WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory\nsource\n [WARNING]: Invalid request to find a file that matches a \"null\" value\n [WARNING]: Consider using 'become', 'become_method', and 'become_user' rather\nthan running machinectl", "stderr_lines": [" [WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory", "source", " [WARNING]: Invalid request to find a file that matches a \"null\" value", " [WARNING]: Consider using 'become', 'become_method', and 'become_user' rather", "than running machinectl"], "stdout": "", "stdout_lines": []}

TASK [runplaybooks : Running openstack-ansible setup-hosts.yml] ****************
fatal: [controller-01]: FAILED! => {"changed": true, "cmd": "openstack-ansible --forks 1 setup-hosts.yml -v > /vagrant/logs/setup-hosts-fallback.log", "delta": "0:00:46.030336", "end": "2021-07-06 12:17:31.150826", "msg": "non-zero return code", "rc": 2, "start": "2021-07-06 12:16:45.120490", "stderr": " [WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory\nsource\n [WARNING]: Invalid request to find a file that matches a \"null\" value\n [WARNING]: Consider using 'become', 'become_method', and 'become_user' rather\nthan running machinectl", "stderr_lines": [" [WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory", "source", " [WARNING]: Invalid request to find a file that matches a \"null\" value", " [WARNING]: Consider using 'become', 'become_method', and 'become_user' rather", "than running machinectl"], "stdout": "", "stdout_lines": []}

THank you,
M

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions