Stop passing charset=utf8 for neutron database connection option
authorIhar Hrachyshka <ihrachys@redhat.com>
Thu, 16 Jun 2016 11:56:00 +0000 (13:56 +0200)
committerIhar Hrachyshka <ihrachys@redhat.com>
Thu, 16 Jun 2016 11:56:00 +0000 (13:56 +0200)
This option belongs to oslo.db, and oslo.db enforces UTF-8 for
client connections since I676c9c5e418905160e4ab647b8a0f2fb601e8962 that
is included since Kilo. Neutron switched to the library in Kilo too
(I1ccf896922a5a762d37a1a3b93c56c8b8ae8c085).

I guess it's time to remove this hardcoded charset and allow oslo.db to
do the right thing.

Change-Id: I7d6ffa734374aeaf6fa6a7d98048bbbdfbeb412a

puppet/services/neutron-plugin-plumgrid.yaml
puppet/services/neutron-server.yaml

index a0ac46e..6876667 100644 (file)
@@ -89,7 +89,7 @@ outputs:
               - {get_param: NeutronPassword}
               - '@'
               - {get_param: [EndpointMap, MysqlInternal, host]}
-              - '/ovs_neutron?charset=utf8'
+              - '/ovs_neutron'
         neutron::plugins::plumgrid::controller_priv_host: {get_param: [EndpointMap, KeystoneAdmin, host]}
         neutron::plugins::plumgrid::admin_password: {get_param: AdminPassword}
         neutron::plugins::plumgrid::metadata_proxy_shared_secret: {get_param: NeutronMetadataProxySharedSecret}
index 6299c39..b84958c 100644 (file)
@@ -50,7 +50,7 @@ outputs:
                   - {get_param: NeutronPassword}
                   - '@'
                   - {get_param: [EndpointMap, MysqlInternal, host]}
-                  - '/ovs_neutron?charset=utf8'
+                  - '/ovs_neutron'
             neutron::server::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
             neutron::server::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
             neutron::server::identity_uri: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix] }