Configure json_rpc/authtoken sections for ironic

Configure json_rpc section for both ironic-api and ironic-conductor.
JSON RPC service uses keystonemiddleware to authenticate with
keystone. Configure the keystone_authtoken section for
ironic-conductor as well.

Change-Id: I9fc0f27a781e6374ad52575533c099fbc23382fd
This commit is contained in:
ramishra 2021-07-29 15:47:28 +05:30
parent edb22f02a2
commit 8a84768926
2 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,7 @@ class tripleo::profile::base::ironic (
}
include ironic::config
include ironic::json_rpc
include ironic::cors
include ironic::logging
}

View File

@ -41,6 +41,7 @@ class tripleo::profile::base::ironic::conductor (
$enable_staging = false,
) {
include tripleo::profile::base::ironic
include tripleo::profile::base::ironic::authtoken
# Database is accessed by both API and conductor, hence it's here.
if $bootstrap_node and $::hostname == downcase($bootstrap_node) {
$sync_db = true