[Bug 2053016] Re: Exception on Ubuntu Core 24

Olivier Gayot 2053016 at bugs.launchpad.net
Wed Feb 14 10:17:56 UTC 2024


** Changed in: python-requests-unixsocket (Ubuntu)
     Assignee: (unassigned) => Olivier Gayot (ogayot)

** Changed in: python-requests-unixsocket (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-requests-unixsocket in Ubuntu.
https://bugs.launchpad.net/bugs/2053016

Title:
  Exception on Ubuntu Core 24

Status in subiquity:
  New
Status in python-requests-unixsocket package in Ubuntu:
  In Progress

Bug description:
  On Ubuntu Core 24 right now, we are getting the following error when
  trying to set the network. That has appeared recently.

  Traceback (most recent call last):
    File "/usr/bin/console-conf", line 33, in <module>
      sys.exit(load_entry_point('subiquity==0.0.5', 'console_scripts', 'console-conf-tui')())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/share/subiquity/console_conf/cmd/tui.py", line 103, in main
      asyncio.run(run_with_loop())
    File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
      return runner.run(main)
             ^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
      return self._loop.run_until_complete(task)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
      return future.result()
             ^^^^^^^^^^^^^^^
    File "/usr/share/subiquity/console_conf/cmd/tui.py", line 101, in run_with_loop
      await interface.run()
    File "/usr/share/subiquity/subiquitycore/tui.py", line 351, in run
      await super().run()
    File "/usr/share/subiquity/subiquitycore/core.py", line 134, in run
      raise exc
    File "/usr/share/subiquity/subiquitycore/tui.py", line 236, in move_screen
      view_or_callable = await self.wait_with_progress(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/share/subiquity/subiquitycore/tui.py", line 205, in wait_with_progress
      return await self._wait_with_indication(awaitable, self.show_progress)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/share/subiquity/subiquitycore/tui.py", line 164, in _wait_with_indication
      result = await awaitable
               ^^^^^^^^^^^^^^^
    File "/usr/share/subiquity/subiquitycore/tui.py", line 227, in _move_screen
      return await self.make_view_for_controller(new)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/share/subiquity/subiquitycore/tui.py", line 131, in make_view_for_controller
      maybe_view = new.make_ui()
                   ^^^^^^^^^^^^^
    File "/usr/share/subiquity/console_conf/controllers/identity.py", line 155, in make_ui
      if get_managed():
         ^^^^^^^^^^^^^
    File "/usr/share/subiquity/console_conf/controllers/identity.py", line 57, in get_managed
      return con.get("v2/system-info").json()["result"]["managed"]
             ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/share/subiquity/subiquitycore/snapd.py", line 49, in get
      return session.get(
             ^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/requests/sessions.py", line 602, in get
      return self.request("GET", url, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/requests/sessions.py", line 589, in request
      resp = self.send(prep, **send_kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/requests/sessions.py", line 703, in send
      r = adapter.send(request, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/requests/adapters.py", line 486, in send
      resp = conn.urlopen(
             ^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 791, in urlopen
      response = self._make_request(
                 ^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 497, in _make_request
      conn.request(
  TypeError: HTTPConnection.request() got an unexpected keyword argument 'chunked'

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2053016/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list