------- Comment From amit.machhi...@ibm.com 2024-04-10 08:18 EDT------- (In reply to comment #12) > Hi, > > I could not reproduce this bug with the currently available ISOs below: > > https://cdimage.ubuntu.com/ubuntu-server/daily-live/, the latest being the > one > generated on 04/09: > > Found label 'Ubuntu-Server 24.04 LTS _Noble Numbat_ - Beta ppc64el > (20240409)' > > The installer is crashing every time while trying to install a guest via an > ISO > with `virt-install` command below: > > --------------------- > #!/bin/bash > > QCOW2="/home/amachhiw/images/ubuntu.qcow2" > CDROM="/home/amachhiw/images/noble-live-server-ppc64el.iso" > > virt-install --name ubuntu_1 --ram 2048 --disk path=$QCOW2,size=8 --vcpus 4 > --os-type linux --os-variant generic --network bridge=virbr0 --graphics none > --console pty,target_type=serial --cdrom $CDROM > --------------------- > > > The installer crashes with the below error: > --------------------- > connecting... > waiting for cloud-init... > generating crash report > report saved to /var/crash/1712744100.441737652.ui.crash > Traceback (most recent call last): > File "/snap/subiquity/5647/usr/bin/subiquity", line 8, in <module> > sys.exit(main()) > File > "/snap/subiquity/5647/lib/python3.10/site-packages/subiquity/cmd/tui.py", > line 158, in main > asyncio.run(run_with_loop()) > File "/snap/subiquity/5647/usr/lib/python3.10/asyncio/runners.py", line > 44, in run > return loop.run_until_complete(main) > File "/snap/subiquity/5647/usr/lib/python3.10/asyncio/base_events.py", > line 649, in run_until_complete > return future.result() > File > "/snap/subiquity/5647/lib/python3.10/site-packages/subiquity/cmd/tui.py", > line 156, in run_with_loop > await subiquity_interface.run() > File > "/snap/subiquity/5647/lib/python3.10/site-packages/subiquity/client/client. > py", line 402, in run > await super().run() > File > "/snap/subiquity/5647/lib/python3.10/site-packages/subiquitycore/tui.py", > line 351, in run > await super().run() > File > "/snap/subiquity/5647/lib/python3.10/site-packages/subiquitycore/core.py", > line 134, in run > raise exc > File "/snap/subiquity/5647/usr/lib/python3.10/asyncio/events.py", line 80, > in _run > self._context.run(self._callback, *self._args) > File > "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/main_loop.py", > line 1454, in faux_idle_callback > callback() > File > "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/main_loop.py", > line 574, in entering_idle > self.draw_screen() > File > "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/main_loop.py", > line 588, in draw_screen > canvas = self._topmost_widget.render(self.screen_size, focus=True) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/widget.py", > line 145, in cached_render > canv = fn(self, size, focus=focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/wimp.py", > line 641, in render > self._update_overlay(size, focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/wimp.py", > line 621, in _update_overlay > canv = self._original_widget.render(size, focus=focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/widget.py", > line 145, in cached_render > canv = fn(self, size, focus=focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/widget.py", > line 1761, in render > canv = get_delegate(self).render(size, focus=focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/widget.py", > line 145, in cached_render > canv = fn(self, size, focus=focus) > File > "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/decoration.py", > line 226, in render > canv = self._original_widget.render(size, focus=focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/widget.py", > line 145, in cached_render > canv = fn(self, size, focus=focus) > File > "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/container.py", > line 1565, in render > canv = w.render((maxcol, rows), focus=focus and item_focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/widget.py", > line 145, in cached_render > canv = fn(self, size, focus=focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/widget.py", > line 1761, in render > canv = get_delegate(self).render(size, focus=focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/widget.py", > line 145, in cached_render > canv = fn(self, size, focus=focus) > File > "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/decoration.py", > line 567, in render > canv = self._original_widget.render((maxcol,)+size[1:], focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/widget.py", > line 145, in cached_render > canv = fn(self, size, focus=focus) > File > "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/container.py", > line 1562, in render > item_rows = self.get_item_rows(size, focus) > File > "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/container.py", > line 1521, in get_item_rows > rows = w.rows((maxcol,), focus=focus and self.focus_item == w) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/widget.py", > line 201, in cached_rows > canv = CanvasCache.fetch(self, cls, size, focus) > File "/snap/subiquity/5647/usr/lib/python3/dist-packages/urwid/canvas.py", > line 116, in fetch > cls.hits += 1 # more stats > AttributeError: 'int' object has no attribute 'hits' > --------------------- > > After this when I retry the installation, it comes back to the same crash > eventually. > > ~Amit
I missed to mention. I saw the above crash while trying to configure a guest (L2) on an L1 pseries LPAR which was provisioned with Ubuntu: ---------------------- root@ubuntu2404:~# cat /etc/os-release PRETTY_NAME="Ubuntu Noble Numbat (development branch)" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo root@ubuntu2404lp3:~# uname -r 6.8.0-22-generic root@ubuntu2404:~# libvirtd --version libvirtd (libvirt) 10.0.0 root@ubuntu2404:~# qemu-system-ppc64 --version QEMU emulator version 8.2.1 (Debian 1:8.2.1+ds-1ubuntu9) Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers root@ubuntu2404:~# virt-install --version 4.1.0 Now, I tried the same `virt-install` command mentioned above with a slightly older ISO and the current one as well, with L1 provisioned with Fedora 39 (details below). I could bring up an L2 guest successfully with both the ISOs in this case. ---------------------- Found label 'Ubuntu-Server 24.04 LTS _Noble Numbat_ - Beta ppc64el (20240409)' Host Details ============ # uname -r 6.8.4-200.fc39.ppc64le # qemu-system-ppc64 --version QEMU emulator version 8.1.3 (qemu-8.1.3-4.fc39) Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers # libvirtd --version libvirtd (libvirt) 9.7.0 # virt-install --version 4.1.0 ---------------------- ~Amit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060020 Title: [Ubuntu-24.04]: Unable to bring up a guest with 1GB RAM using virt- install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/2060020/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs