Running os_keystone stand-alone requires variables set by dynamic inventory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Jimmy McCrory |
Bug Description
I currently use the os_keystone role to setup a performance host [0] for measuring response times of keystone. My initial use case was to only define the variable required to deploy keystone inside a container as a bare metal host. This means I'm not using dynamic inventory.
When investigating a failed setup run of the OSIC Performance Bot, I noticed one of the setup playbooks [1] was failing [2]. The part that through me off was that I assumed hostvars were set when the facts were gathered from the system [3]. It turns out this is actually a variable that is set by the dynamic inventory.
I was able to work around the issue (with palendea and Apsu) by overriding the physical_host and ansible_host variables in my variable definitions [4].
For folks looking to run only specific stand-alone playbooks, would it make sense to document cases like this in an example?
[0] https:/
[1] https:/
[2] http://
[3] https:/
[4] http://
Changed in openstack-ansible: | |
assignee: | nobody → Jimmy McCrory (jimmy-mccrory) |
Fix proposed to branch: master /review. openstack. org/384133
Review: https:/