P-Q upgrade fails due to change in inventory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Critical
|
Jean-Philippe Evrard |
Bug Description
Here is an extract of my log:
xenial: System is bootstrapped and ready for use.
xenial: + echo 'System is bootstrapped and ready for use.'
xenial: /opt/openstack-
xenial: basename ${file_part} .yml
xenial: openstack-ansible /opt/openstack-
xenial: Variable files: "-e @/etc/openstack
xenial: [WARNING]: Unable to parse /opt/openstack-
xenial: inventory source
xenial: [WARNING]: No inventory was parsed, only implicit localhost is available
xenial: [WARNING]: Could not match supplied host pattern, ignoring: all
xenial: [WARNING]: provided hosts list is empty, only localhost is available
Re-running it outside my vagrant environment works, which proves there are variables still hanging around in the process, even after: https:/
Changed in openstack-ansible: | |
assignee: | nobody → Jean-Philippe Evrard (jean-philippe-evrard) |
status: | New → In Progress |
Changed in openstack-ansible: | |
status: | In Progress → New |
Changed in openstack-ansible: | |
assignee: | Jean-Philippe Evrard (jean-philippe-evrard) → nobody |
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in openstack-ansible: | |
assignee: | nobody → Jean-Philippe Evrard (jean-philippe-evrard) |
status: | Confirmed → In Progress |
Changed in openstack-ansible: | |
assignee: | Jean-Philippe Evrard (jean-philippe-evrard) → Kevin Carter (kevin-carter) |
Changed in openstack-ansible: | |
assignee: | Kevin Carter (kevin-carter) → Jean-Philippe Evrard (jean-philippe-evrard) |
Changed in openstack-ansible: | |
assignee: | Jean-Philippe Evrard (jean-philippe-evrard) → Kevin Carter (kevin-carter) |
Changed in openstack-ansible: | |
assignee: | Kevin Carter (kevin-carter) → Jean-Philippe Evrard (jean-philippe-evrard) |
Changed in openstack-ansible: | |
status: | In Progress → Fix Committed |
Changed in openstack-ansible: | |
status: | Fix Committed → Fix Released |
As you can see, the folder is /opt/openstack- ansible/ playbooks/ inventory instead of the current /opt/openstack- ansible/ inventory.
The wrapper rc file is correct: INVENTORY= "${ANSIBLE_ INVENTORY: -/opt/openstack -ansible/ inventory/ dynamic_ inventory. py,/etc/ openstack_ deploy/ inventory. ini}"
export ANSIBLE_