Comment 3 for bug 2018125

Revision history for this message
Chelmite (steve-kelem) wrote (last edit ):

######################################
# I ran apport-collect, but got undesirable results:
######################################
% apport-collect 2018125
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1343, in _conn_request
    conn.connect()
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1119, in connect
    address_info = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 962, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/apport-cli", line 436, in <module>
    if not app.run_argv():
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 966, in run_argv
    return self.run_update_report()
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 780, in run_update_report
    if not self.crashdb.can_update(self.args.update_report):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 586, in can_update
    bug = self.launchpad.bugs[crash_id]
          ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 170, in launchpad
    self.__launchpad = Launchpad.login_with(
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 700, in login_with
    return cls._authorize_token_and_login(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 451, in _authorize_token_and_login
    credentials = authorization_engine(credentials, credential_store)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 625, in __call__
    request_token_string = self.get_request_token(credentials)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 640, in get_request_token
    authorization_json = credentials.get_request_token(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 194, in get_request_token
    response, content = _http_post(url, headers, params)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 108, in _http_post
    ).request(url, method="POST", headers=headers, body=urlencode(params))
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1701, in request
    (response, content) = self._request(
                          ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1421, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1350, in _conn_request
    raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
httplib2.error.ServerNotFoundError: Unable to find the server at launchpad.net

######################################
# I am trying to get the network to work, in spite of having selected the "enable network" in the recovery console). I am getting the following error:
######################################
% netplan apply
Cannot call openvswitch: ovsdb-server.service is not running.
Failed to connect system bus: Connection refused
Falling back to a hard restart of systemd-networkd.service
Job for NetworkManager.service failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xeu NetworkManager.service" for details.
Cannot call openvswitch: ovsdb-server.service is not running.
Failed to reload network settings: Transport endpoint is not connected
Falling back to a hard restart of systemd-networkd.service
Job for NetworkManager.service failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xeu NetworkManager.service" for details.

An error occurred: Command '['systemctl', 'start', 'NetworkManager.service']' returned non-zero exit status 1.

Reverting.
%

######################################
# I tried to start the ovsdb-server, but one doesn't exist in my newly-upgraded 23.04.
######################################
% service --status-all |& grep ovsdb
%at

######################################
# It appears I need to install ovsdb, but apt search
# shows me five options.
######################################
% apt search ovsdb
Sorting...
Full Text Search...
golang-github-socketplane-libovsdb-dev/lunar,lunar 0.1+git20160503.9.d4b9e7a53548-2.1 all
  OVSDB client library written in Go

ovn-controller-vtep/lunar 23.03.0-1 amd64
  OVN vtep controller

ovn-ic-db/lunar 23.03.0-1 amd64
  Open Virtual Network interconnection controller databases

python-ovsdbapp-doc/lunar,lunar 2.2.1-0ubuntu1 all
  library for creating OVSDB applications - doc

python3-ovsdbapp/lunar,lunar 2.2.1-0ubuntu1 all
  library for creating OVSDB applications - Python 3.x

######################################
# But... I can't install any of them, because the network is not working in my newly-upgraded 23.04!
######################################