[ffwd][train-only] Run keystone endpoint configuration on FFWD
By default during FFWD we run all tasks with --limit and we never specify Undercloud. This means we never run the external_post_deployment_tasks which sets up the keystone endpoints. This is intended as we don't want to trigger most of external deployment tasks at that point. Solution to missing endpoints is to run the keystone setup during post_upgrade_tasks. Change-Id: Ic1e63ca773fb20f10f16fc3835f8f263cb3b6929 Resolves: rhbz#1944108
This commit is contained in:
@@ -774,7 +774,7 @@ outputs:
|
||||
when:
|
||||
- step|int == 4
|
||||
- not ansible_check_mode|bool
|
||||
block:
|
||||
block: &keystone_endpoints
|
||||
- name: Manage Keystone resources for OpenStack services
|
||||
include_role:
|
||||
name: tripleo-keystone-resources
|
||||
@@ -814,6 +814,13 @@ outputs:
|
||||
host_prep_tasks: {get_attr: [KeystoneLogging, host_prep_tasks]}
|
||||
metadata_settings:
|
||||
get_attr: [ApacheServiceBase, role_data, metadata_settings]
|
||||
post_upgrade_tasks:
|
||||
- name: Run the keystone endpoint creation
|
||||
when:
|
||||
- step|int == 1
|
||||
- keystone_short_bootstrap_node_name|lower == ansible_facts['hostname']|lower
|
||||
delegate_to: undercloud
|
||||
block: *keystone_endpoints
|
||||
external_upgrade_tasks:
|
||||
- when:
|
||||
- step|int == 1
|
||||
|
||||
Reference in New Issue
Block a user