Change bind_host IP address
Previously octavia API was binding to 127.0.0.1 and in Keystone was specified other IP depending on the IP specified on host. Bind to the service host address to enable keystone service catalog usage. Change-Id: Iead0075c3ac4b2fbc733b8916503d0a8c68dd232
This commit is contained in:
parent
264f3b58d1
commit
3ffcbeab64
@ -67,6 +67,9 @@ function octavia_configure {
|
||||
cp $OCTAVIA_DIR/etc/octavia.conf $OCTAVIA_CONF
|
||||
fi
|
||||
|
||||
# Change bind host
|
||||
iniset $OCTAVIA_CONF DEFAULT bind_host $SERVICE_HOST
|
||||
|
||||
iniset $OCTAVIA_CONF database connection "mysql+pymysql://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:3306/octavia"
|
||||
|
||||
# Configure keystone auth_token for all users
|
||||
@ -104,6 +107,7 @@ function octavia_configure {
|
||||
|
||||
# Setting neutron request_poll_timeout
|
||||
iniset $NEUTRON_CONF octavia request_poll_timeout 3000
|
||||
iniset $NEUTRON_CONF octavia base_url http://$SERVICE_HOST:9876
|
||||
|
||||
# Uncomment other default options
|
||||
iniuncomment $OCTAVIA_CONF haproxy_amphora base_path
|
||||
|
Loading…
Reference in New Issue
Block a user