Fix running with SERVICE_IP_VERSION=6
- There are some locations where we need the raw IPv6 address instead of the url-quoted version enclosed in brackets. - Make nova-api-metadata service listen on IPv6 when we need that. - Use SERVICE_HOST instead of HOST_IP for TLS_IP. Change-Id: Id074be38ee95754e88b7219de7d9beb06f796fad Partial-Bug: 1656329
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ function configure_database_mysql {
|
||||
|
||||
# Change bind-address from localhost (127.0.0.1) to any (::) and
|
||||
# set default db type to InnoDB
|
||||
iniset -sudo $my_conf mysqld bind-address "$SERVICE_LISTEN_ADDRESS"
|
||||
iniset -sudo $my_conf mysqld bind-address "$(ipv6_unquote $SERVICE_LISTEN_ADDRESS)"
|
||||
iniset -sudo $my_conf mysqld sql_mode TRADITIONAL
|
||||
iniset -sudo $my_conf mysqld default-storage-engine InnoDB
|
||||
iniset -sudo $my_conf mysqld max_connections 1024
|
||||
|
||||
Reference in New Issue
Block a user