Update auth params in Nova Hypervisor-Ironic
As Nova hypervisor uses deprecated parameters when trying to authenticate to Ironic, as well as a hardcoded /v2.0 endpoint, a fatal error occurs when creating a keystone v3-only devstack. This patch updates auth parameters (ironic section in nova.conf) that Nova uses when trying to connect to Ironic to v3 parameters. Change-Id: I2d7ebf750115613aa917448f20daaece614633ef
This commit is contained in:
parent
3e4c25b6c2
commit
c527ded91b
@ -45,10 +45,12 @@ function configure_nova_hypervisor {
|
|||||||
iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0
|
iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0
|
||||||
iniset $NOVA_CONF DEFAULT reserved_host_memory_mb 0
|
iniset $NOVA_CONF DEFAULT reserved_host_memory_mb 0
|
||||||
# ironic section
|
# ironic section
|
||||||
iniset $NOVA_CONF ironic admin_username admin
|
iniset $NOVA_CONF ironic username admin
|
||||||
iniset $NOVA_CONF ironic admin_password $ADMIN_PASSWORD
|
iniset $NOVA_CONF ironic password $ADMIN_PASSWORD
|
||||||
iniset $NOVA_CONF ironic admin_url $KEYSTONE_AUTH_URI/v2.0
|
iniset $NOVA_CONF ironic auth_url $KEYSTONE_AUTH_URI/v3
|
||||||
iniset $NOVA_CONF ironic admin_tenant_name demo
|
iniset $NOVA_CONF ironic project_domain_id default
|
||||||
|
iniset $NOVA_CONF ironic user_domain_id default
|
||||||
|
iniset $NOVA_CONF ironic project_name demo
|
||||||
iniset $NOVA_CONF ironic api_endpoint $IRONIC_SERVICE_PROTOCOL://$IRONIC_HOSTPORT/v1
|
iniset $NOVA_CONF ironic api_endpoint $IRONIC_SERVICE_PROTOCOL://$IRONIC_HOSTPORT/v1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user