instack-undercloud/elements/undercloud-stack-config/config.json.template
Jay Dobies cf33df7ca4 Added keystone host to os-apply-config
Tuskar isn't yet using puppet for its configuration, but it needs to be
configured to authenticate its APIs [1]. That change needs access to the
keystone host.

Instead of just looking up local-ip, I followed the conventions used
for configuring Ironic's auth which used keystone.host as the key.

[1] https://review.openstack.org/#/c/185117/

Change-Id: I5f78813ccea01a60fc50fef18d28b29438671bc8
2015-05-22 15:20:03 -04:00

62 lines
1.4 KiB
Plaintext

{
"hiera": {
"hierarchy": [
"puppet-stack-config"
]},
"local-ip": "{{LOCAL_IP}}",
"masquerade_networks": ["{{MASQUERADE_NETWORK}}"],
"neutron": {
"dhcp_start": "{{DHCP_START}}",
"dhcp_end": "{{DHCP_END}}",
"network_cidr": "{{NETWORK_CIDR}}",
"network_gateway": "{{NETWORK_GATEWAY}}"
},
"discovery": {
"interface": "{{DISCOVERY_INTERFACE}}",
"iprange": "{{DISCOVERY_IPRANGE}}",
"runbench": "{{DISCOVERY_RUNBENCH}}"
},
"os_net_config": {
"network_config": [
{
"type": "ovs_bridge",
"name": "br-ctlplane",
"ovs_extra": [
"br-set-external-id br-ctlplane bridge-id br-ctlplane"
],
"members": [
{
"type": "interface",
"name": "{{LOCAL_INTERFACE}}",
"primary": "true"
}
],
"addresses": [
{
"ip_netmask": "{{PUBLIC_INTERFACE_IP}}"
}
]
}
]
},
"keystone": {
"host": "{{LOCAL_IP}}"
},
"ironic": {
"service-password": "{{UNDERCLOUD_IRONIC_PASSWORD}}"
},
"tuskar": {
"service-password": "{{UNDERCLOUD_TUSKAR_PASSWORD}}",
"db": "mysql://tuskar:{{UNDERCLOUD_TUSKAR_PASSWORD}}@localhost/tuskar?charset=utf8",
"heat_keystone": {
"username": "admin",
"password": "unset",
"tenant_name": "admin"
}
},
"bootstrap_host": {
"bootstrap_nodeid": "undercloud",
"nodeid": "undercloud"
}
}