os_ironic mysql password variable not updated
Ironic in OSA is currently broken as the ironic database user isn't created, and consequently the ironic services can't connect to the database. It broke back in patch 91deb13. This patch corrects the os_ironic side of the problem. Another patch will fix the openstack-ansible side. Change-Id: I30b04756258a3241bb2444fd98f3a6624c0d2309 Partial-Bug: #1625081 Signed-off-by: Michael Davies <michael@the-davies.net>
This commit is contained in:
parent
5ee8b16437
commit
f24f266208
@ -108,7 +108,7 @@ ironic_openstack_auth_strategy: keystone
|
||||
ironic_openstack_api_url: '' # Not required when we have keystone
|
||||
ironic_openstack_dhcp_provider: neutron
|
||||
ironic_openstack_sync_power_state_interval: 60
|
||||
ironic_openstack_db_connection_string: "mysql+pymysql://{{ ironic_galera_user }}:{{ ironic_galera_password }}@{{ ironic_galera_address }}/ironic"
|
||||
ironic_openstack_db_connection_string: "mysql+pymysql://{{ ironic_galera_user }}:{{ ironic_container_mysql_password }}@{{ ironic_galera_address }}/ironic"
|
||||
|
||||
# Standalone Ironic configuration
|
||||
ironic_standalone_driver_list: agent_ipmitool
|
||||
@ -116,7 +116,7 @@ ironic_standalone_auth_strategy: noauth
|
||||
ironic_standalone_api_url: "api_url={{ ironic_service_internaluri }}/"
|
||||
ironic_standalone_dhcp_provider: none
|
||||
ironic_standalone_sync_power_state_interval: -1
|
||||
ironic_standalone_db_connection_string: "mysql+pymysql://{{ ironic_galera_user }}:{{ ironic_galera_password }}@{{ ironic_galera_address }}/ironic"
|
||||
ironic_standalone_db_connection_string: "mysql+pymysql://{{ ironic_galera_user }}:{{ ironic_container_mysql_password }}@{{ ironic_galera_address }}/ironic"
|
||||
|
||||
# Ironic db tuning
|
||||
ironic_db_max_overflow: 10
|
||||
|
@ -47,7 +47,7 @@
|
||||
login_password: "{{ galera_root_password }}"
|
||||
login_host: "localhost"
|
||||
name: "{{ ironic_galera_user }}"
|
||||
password: "{{ ironic_galera_password }}"
|
||||
password: "{{ ironic_container_mysql_password }}"
|
||||
host: "{{ item }}"
|
||||
state: "present"
|
||||
priv: "{{ ironic_galera_database }}.*:ALL"
|
||||
|
@ -24,7 +24,7 @@ ironic_service_password: "secrete"
|
||||
ironic_galera_address: 10.100.100.101
|
||||
ironic_galera_database: ironic
|
||||
ironic_galera_user: ironic
|
||||
ironic_galera_password: "secrete"
|
||||
ironic_container_mysql_password: "secrete"
|
||||
ironic_rabbitmq_password: "secrete"
|
||||
ironic_rabbitmq_userid: ironic
|
||||
ironic_rabbitmq_vhost: /ironic
|
||||
|
Loading…
Reference in New Issue
Block a user