2024-04-22 21:03:27 |
Matt Verran |
bug |
|
|
added bug |
2024-04-22 21:03:27 |
Matt Verran |
attachment added |
|
Sunbeam inspect https://bugs.launchpad.net/bugs/2063155/+attachment/5769542/+files/sunbeam-inspection-report-20240422_215314.tar.gz |
|
2024-04-22 21:25:26 |
Matt Verran |
summary |
Unable to launch vm from sunbeam launch on any 2023/2024 release |
Unable to launch vm from sunbeam launch on any 2023 release |
|
2024-04-22 21:39:58 |
Matt Verran |
attachment added |
|
sunbeam_launch.txt https://bugs.launchpad.net/snap-openstack/+bug/2063155/+attachment/5769543/+files/sunbeam_launch.txt |
|
2024-04-22 21:40:58 |
Matt Verran |
attachment added |
|
kern.log https://bugs.launchpad.net/snap-openstack/+bug/2063155/+attachment/5769544/+files/kern.log |
|
2024-04-22 21:41:25 |
Matt Verran |
description |
As per title, once installed actually run a vm using sunbeam launch. (below is 2023.2 479)
$ sunbeam launch -n test ubuntu
Launching an OpenStack instance ...
Found sunbeam key in OpenStack!
⠏ Creating the OpenStack instance ... Instance creation request failed: Server:bf9a43c6-0d07-4e17-941b-f8975ab6cd98 transitioned to failure state ERROR
Error: Unable to request new instance. Please run `sunbeam configure` first.
I can assure you sunbeam configure has been run and the sunbeam launched tried again.
This occurs on at least 2023.2/edge and 2023.2/stable with my system. As such it points to a common component which I believe is Apparmor and openstack-hypervisor misconfiguration. I have briefly seen this before where switching channel helped, not in this case unfortunately (disabling via https://ubuntu.com/server/docs/apparmor didn't seem to help - possibly something else i'm missing?).
Example apparmor...
Apr 22 21:51:47 mz640 kernel: [19568.924893] audit: type=1107 audit(1713819107.842:5900): pid=2042 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus" member="ListActivatableNames" mask="send" name="org.freedesktop.DBus" pid=1762615 label="snap.openstack-hypervisor.libvirtd" peer_label="unconfined"
Apr 22 21:51:47 mz640 kernel: [19568.924893] exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Apr 22 21:51:47 mz640 kernel: [19568.927268] audit: type=1400 audit(1713819107.846:5901): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.927433] audit: type=1400 audit(1713819107.846:5902): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.932853] audit: type=1400 audit(1713819107.850:5903): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.932982] audit: type=1400 audit(1713819107.850:5904): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.934786] tapa7c2f8e4-17: entered promiscuous mode
Apr 22 21:51:47 mz640 kernel: [19568.967068] audit: type=1107 audit(1713819107.886:5905): pid=2042 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus" member="ListActivatableNames" mask="send" name="org.freedesktop.DBus" pid=1762615 label="snap.openstack-hypervisor.libvirtd" peer_label="unconfined"
Apr 22 21:51:47 mz640 kernel: [19568.967068] exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Apr 22 21:51:47 mz640 kernel: [19568.967982] audit: type=1400 audit(1713819107.886:5906): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.968179] audit: type=1400 audit(1713819107.886:5907): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.996062] tapa7c2f8e4-17 (unregistering): left promiscuous mode |
As per title, once installed unable to actually run a vm using sunbeam launch. (below is 2023.2 479)
$ sunbeam launch -n test ubuntu
Launching an OpenStack instance ...
Found sunbeam key in OpenStack!
⠏ Creating the OpenStack instance ... Instance creation request failed: Server:bf9a43c6-0d07-4e17-941b-f8975ab6cd98 transitioned to failure state ERROR
Error: Unable to request new instance. Please run `sunbeam configure` first.
I can assure you sunbeam configure has been run and the sunbeam launched tried again.
This occurs on at least 2023.2/edge and 2023.2/stable with my system. As such it points to a common component which I believe is Apparmor and openstack-hypervisor misconfiguration. I have briefly seen this before where switching channel helped, not in this case unfortunately (disabling via https://ubuntu.com/server/docs/apparmor didn't seem to help - possibly something else i'm missing?).
Example apparmor...
Apr 22 21:51:47 mz640 kernel: [19568.924893] audit: type=1107 audit(1713819107.842:5900): pid=2042 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus" member="ListActivatableNames" mask="send" name="org.freedesktop.DBus" pid=1762615 label="snap.openstack-hypervisor.libvirtd" peer_label="unconfined"
Apr 22 21:51:47 mz640 kernel: [19568.924893] exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Apr 22 21:51:47 mz640 kernel: [19568.927268] audit: type=1400 audit(1713819107.846:5901): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.927433] audit: type=1400 audit(1713819107.846:5902): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.932853] audit: type=1400 audit(1713819107.850:5903): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.932982] audit: type=1400 audit(1713819107.850:5904): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.934786] tapa7c2f8e4-17: entered promiscuous mode
Apr 22 21:51:47 mz640 kernel: [19568.967068] audit: type=1107 audit(1713819107.886:5905): pid=2042 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus" member="ListActivatableNames" mask="send" name="org.freedesktop.DBus" pid=1762615 label="snap.openstack-hypervisor.libvirtd" peer_label="unconfined"
Apr 22 21:51:47 mz640 kernel: [19568.967068] exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Apr 22 21:51:47 mz640 kernel: [19568.967982] audit: type=1400 audit(1713819107.886:5906): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.968179] audit: type=1400 audit(1713819107.886:5907): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.openstack-hypervisor.virtlogd" pid=1761078 comm="virtlogd" requested_mask="read" denied_mask="read" peer="snap.openstack-hypervisor.libvirtd"
Apr 22 21:51:47 mz640 kernel: [19568.996062] tapa7c2f8e4-17 (unregistering): left promiscuous mode |
|
2024-04-23 01:03:25 |
Chris Johnston |
snap-openstack: status |
New |
Confirmed |
|
2024-04-23 13:22:48 |
Matt Verran |
attachment added |
|
kubectl logs -n openstack --all-containers nova-0 https://bugs.launchpad.net/snap-openstack/+bug/2063155/+attachment/5769696/+files/kubectl-nova.txt |
|
2024-04-23 13:23:14 |
Matt Verran |
attachment added |
|
snap logs openstack-hypervisor -n=all https://bugs.launchpad.net/snap-openstack/+bug/2063155/+attachment/5769697/+files/snap-logs-openstack-hypervisor.txt |
|
2024-04-23 13:23:44 |
Matt Verran |
attachment added |
|
sunbeam -v launch --name ubuntu https://bugs.launchpad.net/snap-openstack/+bug/2063155/+attachment/5769698/+files/sunbeam_launch.txt |
|
2024-04-23 20:07:39 |
Chris Johnston |
bug |
|
|
added subscriber Chris Johnston |
2024-05-13 11:02:01 |
Matt Verran |
summary |
Unable to launch vm from sunbeam launch on any 2023 release |
Unable to launch/access vm from sunbeam launch on any 2023.2 release onwards |
|