tripleo-heat-templates/deployment/aodh
Damien Ciabrini f2015da4b5 Simplify mysql users creation
Openstack users are configured with openstacklib, which in turns
drive puppet-mysql to create several DB user for each db service:
<service>@'%' <service>@<ip> and <service>@<mysql_vip>.

We create several users because we use two different parameters
host and allowed_hosts in openstacklib, which only has the effect
of creating a list of users per openstack service.

However since we always create a user '%', this wildcard host
will always allow connection to the DB, so the other users are
currently not useful as they don't get any additional grants or
restrictions.

Simplify the entire mysql user creation to only generate one
user per service, with a wildcard host.

Change-Id: I928b03f06c702a13f4bd957eaa79153aa711cee4
Closes-Bug: #1943440
Closes-Bug: #1943330
2021-09-15 12:23:30 +02:00
..
aodh-api-container-puppet.yaml Merge "Add support for keystone_authtoken/memcache_use_advanced_pool" 2021-06-12 13:40:31 +00:00
aodh-base.yaml Simplify mysql users creation 2021-09-15 12:23:30 +02:00
aodh-evaluator-container-puppet.yaml Use server side env merging for ServiceNetMap/VipSubnetMap 2021-05-19 10:16:58 +05:30
aodh-listener-container-puppet.yaml Use server side env merging for ServiceNetMap/VipSubnetMap 2021-05-19 10:16:58 +05:30
aodh-notifier-container-puppet.yaml Use server side env merging for ServiceNetMap/VipSubnetMap 2021-05-19 10:16:58 +05:30