[Bug 1907650] Re: Snapd stuck forever on refresh if services starting indefinitely

2020-12-10 Thread Stéphane Graber
In this case, LXD was halfway started but stuck in early initialization,
so everything hanging is actually somewhat reasonable.

The service didn't fail but also didn't finish starting, so failing
activate would have potentially caused another attempt making things
worse.

The issue in this case is qmp hanging for some existing VMs. We have a
potential fix in the upcoming LXD 4.9 (due today) so hopefully that will
help. For the snap, I don't think we should change anything there. It's
really a bug we should sort out on the LXD side (and hopefully did).

** Changed in: snapd
   Status: New => Invalid

** Changed in: lxd (Ubuntu)
   Status: New => Fix Released

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

Title:
  Snapd stuck forever  on refresh if services starting indefinitely

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

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

[Bug 1907650] Re: Snapd stuck forever on refresh if services starting indefinitely

2020-12-10 Thread Maciej Borzecki
There's a TimeoutStartSec which snapd sets when start-timeout present in
the snap.yaml file for that daemon. Otherwise it is set to the
DefaultTimeoutStartSec which may vary across distros, but defaults to
90s (which is AFAICT is also true for Ubuntu).

However, lxd.activate is a oneshot service, which has the timeout
disabled by default. Perhaps it should be set to some value, even a
large one like 600s.

** Also affects: lxd (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  Snapd stuck forever  on refresh if services starting indefinitely

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

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