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:
parent
edb22f02a2
commit
8a84768926
|
@ -83,6 +83,7 @@ class tripleo::profile::base::ironic (
|
|||
}
|
||||
|
||||
include ironic::config
|
||||
include ironic::json_rpc
|
||||
include ironic::cors
|
||||
include ironic::logging
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue