diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-04-14 19:01:14 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-04-14 19:01:15 +0000 |
| commit | 9dafdd074f15edd4b4efcc17040c4532a3f50c38 (patch) | |
| tree | 779e180db3005173cc54dc402c8f1cd2104996c8 | |
| parent | 765e40de026722a11a6890210fcc296dd3902d77 (diff) | |
| parent | 67333e4dd16f464c758735e1b6f58f87eac53b81 (diff) | |
| download | kolla-9dafdd074f15edd4b4efcc17040c4532a3f50c38.tar.gz kolla-9dafdd074f15edd4b4efcc17040c4532a3f50c38.zip | |
Merge "Set db connection retry to infinity"
| -rw-r--r-- | ansible/roles/cinder/templates/cinder.conf.j2 | 1 | ||||
| -rw-r--r-- | ansible/roles/glance/templates/glance-api.conf.j2 | 1 | ||||
| -rw-r--r-- | ansible/roles/glance/templates/glance-registry.conf.j2 | 1 | ||||
| -rw-r--r-- | ansible/roles/heat/templates/heat.conf.j2 | 1 | ||||
| -rw-r--r-- | ansible/roles/ironic/templates/ironic.conf.j2 | 1 | ||||
| -rw-r--r-- | ansible/roles/keystone/templates/keystone.conf.j2 | 2 | ||||
| -rw-r--r-- | ansible/roles/magnum/templates/magnum.conf.j2 | 1 | ||||
| -rw-r--r-- | ansible/roles/manila/templates/manila.conf.j2 | 1 | ||||
| -rw-r--r-- | ansible/roles/mistral/templates/mistral.conf.j2 | 1 | ||||
| -rw-r--r-- | ansible/roles/murano/templates/murano.conf.j2 | 1 | ||||
| -rw-r--r-- | ansible/roles/neutron/templates/neutron.conf.j2 | 1 | ||||
| -rw-r--r-- | ansible/roles/nova/templates/nova.conf.j2 | 2 |
12 files changed, 13 insertions, 1 deletions
diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2 index d4a31dfe7..313f99ef8 100644 --- a/ansible/roles/cinder/templates/cinder.conf.j2 +++ b/ansible/roles/cinder/templates/cinder.conf.j2 @@ -45,6 +45,7 @@ auth_strategy = keystone [database] connection = mysql+pymysql://{{ cinder_database_user }}:{{ cinder_database_password }}@{{ cinder_database_address }}/{{ cinder_database_name }} +max_retries = -1 [keystone_authtoken] auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} diff --git a/ansible/roles/glance/templates/glance-api.conf.j2 b/ansible/roles/glance/templates/glance-api.conf.j2 index 9fc2026a3..3cbf5f348 100644 --- a/ansible/roles/glance/templates/glance-api.conf.j2 +++ b/ansible/roles/glance/templates/glance-api.conf.j2 @@ -18,6 +18,7 @@ cinder_catalog_info = volume:cinder:internalURL [database] connection = mysql+pymysql://{{ glance_database_user }}:{{ glance_database_password }}@{{ glance_database_address }}/{{ glance_database_name }} +max_retries = -1 [keystone_authtoken] auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} diff --git a/ansible/roles/glance/templates/glance-registry.conf.j2 b/ansible/roles/glance/templates/glance-registry.conf.j2 index a7f8f6dda..b883ea02c 100644 --- a/ansible/roles/glance/templates/glance-registry.conf.j2 +++ b/ansible/roles/glance/templates/glance-registry.conf.j2 @@ -10,6 +10,7 @@ bind_port = {{ glance_registry_port }} [database] connection = mysql+pymysql://{{ glance_database_user }}:{{ glance_database_password }}@{{ glance_database_address }}/{{ glance_database_name }} +max_retries = -1 [keystone_authtoken] auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} diff --git a/ansible/roles/heat/templates/heat.conf.j2 b/ansible/roles/heat/templates/heat.conf.j2 index 84e3a548c..e9f908826 100644 --- a/ansible/roles/heat/templates/heat.conf.j2 +++ b/ansible/roles/heat/templates/heat.conf.j2 @@ -35,6 +35,7 @@ bind_port = {{ heat_api_cfn_port }} [database] connection = mysql+pymysql://{{ heat_database_user }}:{{ heat_database_password }}@{{ heat_database_address }}/{{ heat_database_name }} +max_retries = -1 [keystone_authtoken] auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} diff --git a/ansible/roles/ironic/templates/ironic.conf.j2 b/ansible/roles/ironic/templates/ironic.conf.j2 index f19769d54..9dd1830d8 100644 --- a/ansible/roles/ironic/templates/ironic.conf.j2 +++ b/ansible/roles/ironic/templates/ironic.conf.j2 @@ -29,6 +29,7 @@ dnsmasq_interface = {{ api_interface }} [database] connection = mysql+pymysql://{{ ironic_database_user }}:{{ ironic_database_password }}@{{ ironic_database_address }}/{{ ironic_database_name }} +max_retries = -1 [keystone_authtoken] auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} diff --git a/ansible/roles/keystone/templates/keystone.conf.j2 b/ansible/roles/keystone/templates/keystone.conf.j2 index ac414b99e..512fa1dab 100644 --- a/ansible/roles/keystone/templates/keystone.conf.j2 +++ b/ansible/roles/keystone/templates/keystone.conf.j2 @@ -8,9 +8,9 @@ secure_proxy_ssl_header = HTTP_X_FORWARDED_PROTO [database] connection = mysql+pymysql://{{ keystone_database_user }}:{{ keystone_database_password }}@{{ keystone_database_address }}/{{ keystone_database_name }} +max_retries = -1 [cache] backend = oslo_cache.memcache_pool enabled = True memcache_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %} - diff --git a/ansible/roles/magnum/templates/magnum.conf.j2 b/ansible/roles/magnum/templates/magnum.conf.j2 index b147df0dc..33a250006 100644 --- a/ansible/roles/magnum/templates/magnum.conf.j2 +++ b/ansible/roles/magnum/templates/magnum.conf.j2 @@ -11,6 +11,7 @@ host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['addr [database] connection = mysql+pymysql://{{ magnum_database_user }}:{{ magnum_database_password }}@{{ magnum_database_address}}/{{ magnum_database_name }} +max_retries = -1 [heat_client] region_name = {{ openstack_region_name }} diff --git a/ansible/roles/manila/templates/manila.conf.j2 b/ansible/roles/manila/templates/manila.conf.j2 index a3e2b4b61..3bc01dd5d 100644 --- a/ansible/roles/manila/templates/manila.conf.j2 +++ b/ansible/roles/manila/templates/manila.conf.j2 @@ -109,6 +109,7 @@ lock_path = /var/lib/manila/tmp [database] connection = mysql+pymysql://{{ manila_database_user }}:{{ manila_database_password }}@{{ manila_database_address }}/{{ manila_database_name }} +max_retries = -1 [keystone_authtoken] signing_dir = /var/cache/manila diff --git a/ansible/roles/mistral/templates/mistral.conf.j2 b/ansible/roles/mistral/templates/mistral.conf.j2 index f5f2be5cb..d276cb1f7 100644 --- a/ansible/roles/mistral/templates/mistral.conf.j2 +++ b/ansible/roles/mistral/templates/mistral.conf.j2 @@ -14,6 +14,7 @@ bind_port = {{ mistral_api_port }} [database] connection = mysql+pymysql://{{ mistral_database_user }}:{{ mistral_database_password }}@{{ mistral_database_address }}/{{ mistral_database_name }} +max_retries = -1 [keystone_authtoken] auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} diff --git a/ansible/roles/murano/templates/murano.conf.j2 b/ansible/roles/murano/templates/murano.conf.j2 index b4bf592f9..822596ce2 100644 --- a/ansible/roles/murano/templates/murano.conf.j2 +++ b/ansible/roles/murano/templates/murano.conf.j2 @@ -10,6 +10,7 @@ bind_port = {{ murano_api_port }} [database] connection = mysql+pymysql://{{ murano_database_user }}:{{ murano_database_password }}@{{ murano_database_address }}/{{ murano_database_name }} +max_retries = -1 [keystone_authtoken] auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2 index 648c2dbe4..6a8d7ab73 100644 --- a/ansible/roles/neutron/templates/neutron.conf.j2 +++ b/ansible/roles/neutron/templates/neutron.conf.j2 @@ -59,6 +59,7 @@ root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf [database] connection = mysql+pymysql://{{ neutron_database_user }}:{{ neutron_database_password }}@{{ neutron_database_address }}/{{ neutron_database_name }} +max_retries = -1 [keystone_authtoken] auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2 index 08ef21e9e..91c00e5ca 100644 --- a/ansible/roles/nova/templates/nova.conf.j2 +++ b/ansible/roles/nova/templates/nova.conf.j2 @@ -122,9 +122,11 @@ password = {{ neutron_keystone_password }} connection = mysql+pymysql://{{ nova_database_user }}:{{ nova_database_password }}@{{ nova_database_address }}/{{ nova_database_name }} max_pool_size = 50 max_overflow = 1000 +max_retries = -1 [api_database] connection = mysql+pymysql://{{ nova_api_database_user }}:{{ nova_api_database_password }}@{{ nova_api_database_address }}/{{ nova_api_database_name }} +max_retries = -1 [cache] backend = oslo_cache.memcache_pool |
