[Bug 2055702] Re: installer crashes after importing my launchpad SSH key

Olivier Gayot 2055702 at bugs.launchpad.net
Mon Mar 4 10:06:03 UTC 2024


Hello Frank,

Yes, the SSH UI was reworked for noble, and this is what introduced the
regression, so this is why the bug did not occur on 22.04.4 (UI rework
is not part of 22.04.4).

To be clear, the root cause of the crash is in urwid (the library we use
for drawing screens in subiquity). The version of urwid in noble (i.e.
2.6.4-1) has a fix [1] (it's from 2 weeks ago). That said, in the
installer images that we ship, we use packages from core22 (so urwid
2.1.2-2build1).

I've opened a PR in subiquity to avoid using the broken feature of urwid
; until we switch to core24.

Thanks,
Olivier


[1] https://github.com/urwid/urwid/pull/813/commits/7c955f93d77723508a78d044c7552c5730244187

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

Title:
  installer crashes after importing my launchpad SSH key

Status in subiquity:
  In Progress
Status in The Ubuntu-power-systems project:
  New
Status in urwid package in Ubuntu:
  New
Status in urwid source package in Jammy:
  New
Status in urwid source package in Mantic:
  New

Bug description:
  I was trying to install noble (.ISO) on PowerVM nodes - Power9 LPAR and Power10 LPAR
  and the installer crashes after I import mey ssh key from launchpad: 
  tried with todays image `noble-live-server-ppc64el.iso	2024-03-01 09:05` 

  subiquity version `subiquity  22.02.2+git2049.f759d193  5537
  latest/stable/`

  
   File "/snap/subiquity/5537/usr/lib/python3/dist-packages/urwid/canvas.py", line 1315, in apply_text_layout
       return TextCanvas(t, a, c, maxcol=maxcol)
     File "/snap/subiquity/5537/usr/lib/python3/dist-packages/urwid/canvas.py", line 358, in __init__
       raise CanvasError("Canvas text is wider than the maxcol specified \n%r\n%r\n%r"%(maxcol,widths,text))
   urwid.canvas.CanvasError: Canvas text is wider than the maxcol specified

  2024-03-01 15:04:02,997 DEBUG subiquity/SSH/ssh_import_id:105 start: lp:patriciasd                                                                                                                                                           
   2024-03-01 15:04:04,035 DEBUG subiquity/SSH/ssh_import_id:110 finish: lp:patriciasd SUCCESS
   2024-03-01 15:04:10,486 DEBUG subiquity.common.errorreport:398 generating crash report
   2024-03-01 15:04:10,503 INFO subiquity.common.errorreport:424 saving crash report 'Installer UI crashed with CanvasError' to /var/crash/1709305450.487099409.ui.crash
   2024-03-01 15:04:10,503 INFO subiquity/ErrorReporter/1709305450.487099409.ui/add_info:105 start:
  InstallerClientLogInfo:                                                   
   2024-03-01 15:02:40,514 INFO subiquity:130 Starting Subiquity TUI revision 5537 of snap /snap/subiquity/5537
   2024-03-01 15:02:40,515 INFO subiquity:131 Arguments passed: ['/snap/subiquity/5537/usr/bin/subiquity', '--serial']
   2024-03-01 15:02:41,810 INFO subiquity/Serial:105 start: starting UI

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




More information about the Ubuntu-openstack-bugs mailing list