[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2018-11-03 Thread Mathew Hodson
Meant to write: snapd was updated in bug 1637215 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service hangs eternally on cloud image upgrades To manage notifications

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2018-11-03 Thread Mathew Hodson
snapd was updated in bug 1640978 ** No longer affects: snapd (Ubuntu) ** No longer affects: snapd (Ubuntu Xenial) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title:

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2017-07-08 Thread Anthony Ochoa
** Changed in: snapd (Ubuntu) Status: Fix Committed => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service hangs eternally on cloud image upgrades

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-12-12 Thread Eric Desrochers
The LP bug status hasn't yet switch to "Fix Released", but I confirmed that the package that address this bug has landed in -updates[1] You can now install the package if you are experiencing this snapd bug. [1] $ rmadison snapd --suite=xenial-updates snapd | 2.17.1ubuntu1 | xenial-updates |

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-25 Thread Eric Desrochers
It has been brought to my attention the following from someone who also tried the 2.17.1 package : "I'm glad to announce that I could test the procedure during the boot (same conditions as when everything hang) ... It works ! YES!! # sudo apt-cache policy snapd snapd: Installed: 2.17.1

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-24 Thread Martin Pitt
This is apparently fixed in xenial-proposed, but the release is blocked (see bug 1637215). ** Changed in: snapd (Ubuntu) Status: In Progress => Fix Committed ** Changed in: snapd (Ubuntu Xenial) Status: In Progress => Fix Committed -- You received this bug notification because

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-24 Thread Eric Desrochers
** Changed in: snapd (Ubuntu Xenial) Assignee: (unassigned) => Eric Desrochers (slashd) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service hangs eternally on

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-24 Thread Eric Desrochers
Thanks damrose for your feedbacks, I will work a making the package land into xenial-updates. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-24 Thread Erik Damrose
Verified: Works with snapd 2.17.1 from xenial-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service hangs eternally on cloud image upgrades To manage

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-24 Thread Eric Desrochers
** Tags removed: verification-done ** Tags added: verification-needed ** Changed in: snapd (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title:

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-24 Thread Eric Desrochers
As per mvo's previous comment (#23)... In current snapd 2.17+[1] found in xenial-proposed the boot-ok systemd unit is no longer used or needed. Could someone ,affected by the issue, please enable the -proposed repository[2] and install version 2.17.1. Note that positive feedbacks about this

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-24 Thread Michael Vogt
https://github.com/snapcore/snapd/commit/e5011eb is the relevant change -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service hangs eternally on cloud image upgrades

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-24 Thread Michael Vogt
In current snapd 2.17+ the boot-ok systemd unit is no longer used or needed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service hangs eternally on cloud image

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-24 Thread Erik Damrose
@Eric: I tested your patch, unfortunately it does not work in my scenario. dh_systemd_start modifies the snapd.postinst and the boot hangs while waiting for multi-user.target. Please consider applying my patch. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-24 Thread Erik Damrose
In my scenario the following patch worked. diff -Naur snapd-2.16ubuntu3.orig//debian/rules snapd-2.16ubuntu3/debian/rules --- snapd-2.16ubuntu3.orig//debian/rules2016-10-28 12:42:06.204048938 +0200 +++ snapd-2.16ubuntu3/debian/rules 2016-10-28 13:45:59.726079099 +0200 @@ -77,6 +77,7

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-23 Thread Eric Desrochers
@pitti, ok I will start preparing debdiff(s) for snapd and then start the SRU process for Z/Y/X release. Eric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-23 Thread Martin Pitt
@Eric: Right, that's what I meant. It should be mitigated by that recent cloud-init reorganization, but even if snapd.boot-ok.service now stopped failing on upgrade I still think it does not make sense to run this on package upgrade, only on boot. -- You received this bug notification because

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-23 Thread Eric Desrochers
@pitti, As mentionned in the description : "...So I suggest to use dh_installinit with --no-scripts for snapd.boot-ok.service." Were you referring to something like the following ? diff -Nru snapd-2.17.1/debian/rules snapd-2.17.1ubuntu1/debian/rules --- snapd-2.17.1/debian/rules 2016-11-04

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-11-23 Thread Eric Desrochers
Today, It has been brought to my attention that the problem is still present. Any update on pitti's suggestion to use dh_installinit with --noscripts for snapd.boot-ok.service ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-10-28 Thread Laryllan
I have the same problem, but cloud-init is not installed. Had this problem again while updating to snapd-2.16+16.10ubuntu1.2. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title:

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-10-13 Thread Erik Damrose
Any update when this will be fixed in the snapd package? We use a script to update packages during the boot process, and run into the same loop described in the original report. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-22 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 0.7.8-1-g3705bb5-0ubuntu1~16.04.1 --- cloud-init (0.7.8-1-g3705bb5-0ubuntu1~16.04.1) xenial-proposed; urgency=medium * New upstream release 0.7.8. * New upstream snapshot. - systemd: put cloud-init.target After multi-user.target

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-16 Thread Scott Moser
verified cloud-init_0.7.8-1-g3705bb5-0ubuntu1~16.04.1 as in sru ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title:

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-15 Thread Achim Behrens
a user just had the "snapd always hanging on install/reinstall and blocking apt" issue. after some fiddeling we used the workaround from Comment#4 https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1621336/comments/4 : starting a rootshell with "sudo -i". then running "echo "bash -c 'service

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-15 Thread Martin Pitt
Hello Martin, or anyone else affected, Accepted cloud-init into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud- init/0.7.8-1-g3705bb5-0ubuntu1~16.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-14 Thread Scott Moser
I walked through the lxc example above. All good. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title:

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-13 Thread Scott Moser
** Description changed: + Begin SRU Template [cloud-init] + [Impact] + One of cloud-init's features is to upgrade the system during first boot so that it is fully up to date when the user code starts running. + + [Test Case] + launch an old instance of 16.04 that will need an update

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-13 Thread Chris J Arges
Hello Martin, or anyone else affected, Accepted cloud-init into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/0.7.7-31 -g65ace7b-0ubuntu1~16.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-13 Thread Chris J Arges
** Changed in: cloud-init (Ubuntu Xenial) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service hangs eternally on cloud

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-13 Thread Scott Moser
** Changed in: cloud-init (Ubuntu Xenial) Status: New => In Progress ** Changed in: cloud-init (Ubuntu Xenial) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-12 Thread Scott Moser
** Also affects: cloud-init (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: snapd (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: snapd (Ubuntu Xenial) Status: New => In Progress ** Changed in: snapd (Ubuntu Xenial) Importance:

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-09 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 0.7.7-28-g34a26f7-0ubuntu1 --- cloud-init (0.7.7-28-g34a26f7-0ubuntu1) yakkety; urgency=medium * New upstream snapshot. - systemd: Better support package and upgrade. (LP: #1576692, #1621336) - tests: cleanup tempdirs in

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-09 Thread Axel Kämpfe
yes, i know, the "fix" is not actually a fix, it is "bending the rules" :D but for my use case, since in my case, the system does a full reboot anyway after the upgrade, it works for me :D -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-09 Thread Martin Pitt
The proposed cloud-init change will "accidentally" fix this by breaking the loop at a different place -- but conceptually it's still wrong to start the "book ok" marker on package install/upgrade. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-09 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/305335 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service hangs

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-09 Thread Scott Moser
** Also affects: cloud-init (Ubuntu) Importance: Undecided Status: New ** Changed in: cloud-init (Ubuntu) Status: New => Confirmed ** Changed in: cloud-init (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-09 Thread Axel Kämpfe
for us, i found a tiny "workaround" which works, as for now echo "bash -c 'service snapd.boot-ok start'" | at now + 4 min where of course the 4 minutes is up to you how long you want to wait and how many upgrades are to be processed -- You received this bug notification because you are a

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-08 Thread Greg Lutostanski
** Tags added: oil -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service hangs eternally on cloud image upgrades To manage notifications about this bug go to:

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-08 Thread Данило Шеган
FTR, we are using "enable-os-upgrade: false" in ~/.juju/environments.yaml to avoid this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: snapd.boot-ok.service hangs eternally on

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-08 Thread Michael Vogt
Thanks! This is indeed an oversight that this gets started in postinst. ** Changed in: snapd (Ubuntu) Importance: Undecided => Critical ** Changed in: snapd (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1621336] Re: snapd.boot-ok.service hangs eternally on cloud image upgrades

2016-09-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1621336 Title: