hiera interpolation breaks services on non-controller roles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Michele Baldessari |
Bug Description
In a bunch of places we do this:
- ''
- - {get_param: [EndpointMap, MysqlInternal, protocol]}
- '://ironic:'
- {get_param: IronicPassword}
- '@'
- {get_param: [EndpointMap, MysqlInternal, host]}
- '/ironic'
- '?bind_address='
- "%{hiera(
$ grep -R client_bind_address ./* | grep hiera | cut -d: -f1 | sort | uniq
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
./puppet/
This breaks if any of these services are deployed on a different role to mysql, because the hieradata doesn't exist.
I think we need to set this to the local bind IP via the ServiceNetMap instead
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Steven Hardy (shardy) |
milestone: | none → pike-1 |
tags: | added: ocata-backport-potential |
Changed in tripleo: | |
assignee: | Steven Hardy (shardy) → Michele Baldessari (michele) |
Ok looks like this was caused by https:/ /review. openstack. org/#/q/ Ic69de63acbfb99 2314ea30a3a9b17 c0b5341c035 which aimed to fix bug #1643487