[Bug 1847032] Re: metadata agent unable to connect to Southbound DB using TLS

James Page james.page at ubuntu.com
Thu Oct 10 13:03:28 UTC 2019


This bug was fixed in the package networking-ovn - 7.0.0~rc1-0ubuntu2~cloud0
---------------

 networking-ovn (7.0.0~rc1-0ubuntu2~cloud0) bionic-train; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 networking-ovn (7.0.0~rc1-0ubuntu2) eoan; urgency=medium
 .
   * d/p/initialize-TLS-prior-to-retrieving-OVSDB-schema.patch: Cherry
     pick inflight fix to ensure that SSL configuration is setup prior to
     accessing the OVN SB and NB databases (LP: #1847032).


** Changed in: cloud-archive
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1847032

Title:
  metadata agent unable to connect to Southbound DB using TLS

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive stein series:
  Fix Released
Status in Ubuntu Cloud Archive train series:
  Fix Released
Status in networking-ovn:
  In Progress
Status in networking-ovn package in Ubuntu:
  Fix Released
Status in networking-ovn source package in Disco:
  Triaged
Status in networking-ovn source package in Eoan:
  Fix Released

Bug description:
  2019-10-07 07:49:22.234 752648 INFO networking_ovn.agent.metadata.agent [-] DEBUG: 0
  2019-10-07 07:49:22.234 752648 INFO networking_ovn.agent.metadata.ovsdb [-] DEBUG: connection_string="ssl:10.246.114.19:6642,ssl:10.246.114.26:6642,ssl:10.246.114.10:6642"
  2019-10-07 07:49:22.235 752648 CRITICAL neutron [-] Unhandled error: TypeError: Path must be represented as bytes or unicode string
  2019-10-07 07:49:22.235 752648 ERROR neutron Traceback (most recent call last):
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/bin/networking-ovn-metadata-agent", line 10, in <module>
  2019-10-07 07:49:22.235 752648 ERROR neutron     sys.exit(main())
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/lib/python3/dist-packages/networking_ovn/cmd/eventlet/agents/metadata.py", line 17, in main
  2019-10-07 07:49:22.235 752648 ERROR neutron     metadata_agent.main()
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/lib/python3/dist-packages/networking_ovn/agent/metadata_agent.py", line 38, in main
  2019-10-07 07:49:22.235 752648 ERROR neutron     agt.start()
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/lib/python3/dist-packages/networking_ovn/agent/metadata/agent.py", line 163, in start
  2019-10-07 07:49:22.235 752648 ERROR neutron     SbGlobalUpdateEvent(self)]).start()
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/lib/python3/dist-packages/networking_ovn/agent/metadata/ovsdb.py", line 38, in __init__
  2019-10-07 07:49:22.235 752648 ERROR neutron     helper = self._get_ovsdb_helper(connection_string)
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/lib/python3/dist-packages/networking_ovn/agent/metadata/ovsdb.py", line 52, in _get_ovsdb_helper
  2019-10-07 07:49:22.235 752648 ERROR neutron     return idlutils.get_schema_helper(connection_string, self.SCHEMA)
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 123, in get_schema_helper
  2019-10-07 07:49:22.235 752648 ERROR neutron     stream.Stream.open(c))
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/lib/python3/dist-packages/ovs/stream.py", line 190, in open
  2019-10-07 07:49:22.235 752648 ERROR neutron     error, sock = cls._open(suffix, dscp)
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/lib/python3/dist-packages/ovs/stream.py", line 786, in _open
  2019-10-07 07:49:22.235 752648 ERROR neutron     ctx.use_privatekey_file(Stream._SSL_private_key_file)
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 957, in use_privatekey_file
  2019-10-07 07:49:22.235 752648 ERROR neutron     keyfile = _path_string(keyfile)
  2019-10-07 07:49:22.235 752648 ERROR neutron   File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 107, in path_string
  2019-10-07 07:49:22.235 752648 ERROR neutron     raise TypeError("Path must be represented as bytes or unicode string")
  2019-10-07 07:49:22.235 752648 ERROR neutron TypeError: Path must be represented as bytes or unicode string
  2019-10-07 07:49:22.235 752648 ERROR neutron

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1847032/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list