tripleo-heat-templates/extraconfig/tasks/instanceha
Michele Baldessari 9235e30c08 Fix IHA with the new region_name key
ia change f2e72352b1 we did the following
in nova-base.yaml:
- nova::placement::os_region_name: {get_param: KeystoneRegion}
+ nova::placement::region_name: {get_param: KeystoneRegion}

But in the IHA script we looked for the os_region_name config key in the
placemenet ini section of nova.conf, which is now missing.
We need to adapt that script as well. Without this fix we'll error
out like this:
Oct 16 09:08:12 overcloud-novacomputeiha-0 dockerd-current[14673]:   File "/var/lib/nova/instanceha/check-run-nova-compute", line 147, in create_nova_connection
Oct 16 09:08:12 overcloud-novacomputeiha-0 dockerd-current[14673]:     region_name=options["os_region_name"][0],
Oct 16 09:08:12 overcloud-novacomputeiha-0 dockerd-current[14673]: KeyError: 'os_region_name'

Closes-Bug: #1798560

Change-Id: I8906145955ab6c444efdfa73beca073a62c26e26
2018-10-18 18:47:27 +02:00
..
check-run-nova-compute Fix IHA with the new region_name key 2018-10-18 18:47:27 +02:00