Public bug reported:

If `do-release-upgrade` is run in LXD VM using `lxc exec <instance>
bash` or `lxc shell <instance>` to run the upgrade command, the upgrade
process will restart lxd-agent.service during an upgrade from Jammy to
Noble, thus causing the `lxc exec` session to be disconnected abruptly.

Simple reproducer steps:

```
lxc launch ubuntu:jammy jammy-to-noble --vm
lxc shell jammy-to-noble
# now inside the VM
do-release-upgrade

[snipped]
Setting up libkeyutils1:amd64 (1.6.3-3build1) ...
Setting up lxd-agent-loader (0.7) ...
Error: websocket: close 1006 (abnormal closure): unexpected EOF
```

Reported to LXD upstream in
https://github.com/canonical/lxd/issues/14033

** Affects: lxd-agent-loader (Ubuntu)
     Importance: Undecided
     Assignee: Simon Déziel (sdeziel)
         Status: New

** Changed in: lxd-agent-loader (Ubuntu)
     Assignee: (unassigned) => Simon Déziel (sdeziel)

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

Title:
  lxd-agent restart during do-release-upgrade breaking the `lxc exec`
  connection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd-agent-loader/+bug/2078936/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to