Always set DEFAULT/host in devstack.
This patch always set DEFAULT/host option to local machine hostname. When mutinode setup is used conductors should have different host values. Change-Id: I54056d163c06f0afb3702c3af98d85342c6e8232
This commit is contained in:
parent
e0dbcf4ae7
commit
bbfd59a637
@ -537,6 +537,8 @@ function configure_ironic {
|
||||
iniset $IRONIC_CONF_FILE database connection `database_connection_url ironic`
|
||||
iniset $IRONIC_CONF_FILE DEFAULT state_path $IRONIC_STATE_PATH
|
||||
iniset $IRONIC_CONF_FILE DEFAULT use_syslog $SYSLOG
|
||||
# NOTE(vsaienko) with multinode each conductor should have its own host.
|
||||
iniset $IRONIC_CONF_FILE DEFAULT host $LOCAL_HOSTNAME
|
||||
# Configure Ironic conductor, if it was enabled.
|
||||
if is_service_enabled ir-cond; then
|
||||
configure_ironic_conductor
|
||||
|
Loading…
Reference in New Issue
Block a user