[Trivial] Fix ironic when proxysql is enabled
This patch adds missing ironic_database_shard_id which is used by proxysql-config role to generate proxysql configuration. Change-Id: I11ddfe73c79cc59a97d119091c8b9a3f5eda001d
This commit is contained in:
parent
7a9b0db708
commit
323f10a7cc
@ -116,6 +116,7 @@ ironic_inspector_database_address: "{{ database_address | put_address_in_context
|
||||
# Database sharding
|
||||
####################
|
||||
ironic_database_shard_root_user: "{% if enable_proxysql | bool %}root_shard_{{ ironic_database_shard_id }}{% else %}{{ database_user }}{% endif %}"
|
||||
ironic_database_shard_id: "{{ mariadb_default_database_shard_id | int }}"
|
||||
ironic_database_shard:
|
||||
users:
|
||||
- user: "{{ ironic_database_user }}"
|
||||
|
Loading…
Reference in New Issue
Block a user