[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2019-02-09 Thread Mathew Hodson
** No longer affects: linux (Ubuntu) ** No longer affects: linux (Ubuntu Xenial) ** No longer affects: linux (Ubuntu Bionic) ** No longer affects: linux (Ubuntu Cosmic) ** No longer affects: linux (Ubuntu Disco) ** This bug is no longer a duplicate of bug 1778219 unattended-upgrades hangs

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-15 Thread Balint Reczey
*** This bug is a duplicate of bug 1778219 *** https://bugs.launchpad.net/bugs/1778219 Since this issue is marked as invalid for linux i'm setting it as a duplicate of the u-u bug where SRU-ing the fix is tracked. ** This bug has been marked a duplicate of bug 1778219 unattended-upgrades

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-06 Thread Eric Desrochers
** Changed in: linux (Ubuntu Xenial) Status: New => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1796376 Title: Bug #1739107 fix causes linux-cloud-tools-common not to

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-06 Thread Eric Desrochers
** Also affects: unattended-upgrades (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: unattended-upgrades (Ubuntu Xenial) Assignee: (unassigned) => Balint Reczey (rbalint) **

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-06 Thread Eric Desrochers
** Changed in: unattended-upgrades (Ubuntu Bionic) Assignee: Eric Desrochers (slashd) => (unassigned) ** Changed in: unattended-upgrades (Ubuntu Bionic) Assignee: (unassigned) => Balint Reczey (rbalint) -- You received this bug notification because you are a member of Kernel Packages,

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-06 Thread Eric Desrochers
In fact more fixes are needed due to regression in the fix above the fixes are found here : https://github.com/mvo5/unattended-upgrades/pull/148 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-02 Thread Eric Desrochers
** Changed in: unattended-upgrades (Ubuntu Bionic) Status: Confirmed => In Progress ** Changed in: unattended-upgrades (Ubuntu Bionic) Importance: Undecided => Medium ** Changed in: unattended-upgrades (Ubuntu Bionic) Assignee: (unassigned) => Eric Desrochers (slashd) -- You

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-02 Thread Eric Desrochers
Yes, I'll be SRU'ing Bionic and Xenial as well. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1796376 Title: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-02 Thread Eric Desrochers
Well in fact for Xenial there is an email thread already to do a full backport : https://lists.canonical.com/mailman/listinfo/openstack-devops https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1702793 So I'll SRU Bionic and let the full backport discussion to finish for Xenial,

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-02 Thread Guillaume Penin
Hi Eric, I confirm that this behaviour can only be reproduced in 'uu' context and only in 'shutdown mode'. I can also confirm that the upgrade process is now OK in Bionic with your test package : - unattended-upgrades version after the test package installation : ii unattended-upgrades

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-01 Thread Eric Desrochers
** Changed in: linux (Ubuntu) Status: Confirmed => Invalid ** Also affects: unattended-upgrades (Ubuntu Disco) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Disco) Importance: Medium Status: Invalid ** Also affects: unattended-upgrades (Ubuntu

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-01 Thread Eric Desrochers
The package include the following upstream fix : https://github.com/mvo5/unattended-upgrades/commit/cda637b0d89973fd46382418893a23bef4195a2f ** Also affects: unattended-upgrades (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-01 Thread Eric Desrochers
Guillaume can you use your protocol but this time using this test package[1] I wasn't able to reproduce with the change I made based on a bug fixed in Cosmic: https://bugs.launchpad.net/bugs/1778219 -- sudo add-apt-repository ppa:slashd/uu2 sudo apt-get update sudo apt-get install

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-01 Thread Eric Desrochers
Next step, I'll compile 'uu' upstream 1.6 and test against it and the cosmic version which has more fixes. If the result is different, I'll then start a bisection. Let's see. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-01 Thread Eric Desrochers
Hi Guillaume, I seemed to only be able to reproduce the behaviour in the 'uu' context, if for instance I upgrade the pkg using apt, it goes well for me so far. Can you conclude you are experiencing the same outcome as me and you are only able to fully reproduce when 'uu' is involved ? -- You

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-11-01 Thread Eric Desrochers
in 'uu' context and only during the shutdown operation seems like. I just ran 'uu' from the CLI and it went well : $ sudo unattended-upgrade --debug ... Log started: 2018-11-01 19:10:16 (Reading database ... 56537 files and directories currently installed.) Preparing to unpack

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-18 Thread Guillaume Penin
Hi Eric, Please find attached the resulting file "shutdown-log.txt". ** Attachment added: "shutdown-log.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1796376/+attachment/5202460/+files/shutdown-log.txt -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-15 Thread Eric Desrochers
Might be a good idea to enable some systemd parameter for debugging purposes : https://freedesktop.org/wiki/Software/systemd/Debugging/ Enabling tty9 w/ systemd.debug-shell=1 and possibly the following : Diagnosing Shutdown Problems Just like with boot problems, when you encounter a hang during

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-15 Thread Eric Desrochers
It may help to better understand what's going on. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1796376 Title: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-15 Thread David Coronel
@Guillaume: I am Eric's colleague from comment #21. I was able to reproduce the issue in Azure with your reproducer in comment #5. I'll show Eric how I reproduced the issue and he'll be able to follow up with you. Thanks! -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Eric Desrochers
I can't see anything obvious in the sosreport, minus the fact I clearly see the package in "iFR" state. I asked a colleague of mine to test in Azure to double-check but my KVM guest tests look good so far : # apt-get install linux-cloud-tools-common -y Reading package lists... Done Building

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Eric Desrochers
Do you have an non-upgraded machine where you can run the sosreport prior the upgrade ? then run the upgrade (and if the problem occurs) run a second sosreport post upgrade ? - Eric -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Guillaume Penin
@Eric : The server was installed with a 4.15.0-34.37 kernel from a corporate OS image, and linux-cloud-tools-common package was also in version 4.15.0-34.37. All packages where in state "ii". I dist-upgrade the server with APT (to version 4.15.0-36.39) and only downgrade the

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Eric Desrochers
and send me the generated sosreport file : sla...@ubuntu.com (if sensible data) otherwise attach to the lp bug. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1796376 Title: Bug

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Eric Desrochers
Can you confirm the state of the package pre-upgrade ? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1796376 Title: Bug #1739107 fix causes linux-cloud-tools-common not to be

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Eric Desrochers
Seems to me like the package "4.15.0-34.37" was already not in "ii" state : 2018-10-10 10:16:57 status half-configured linux-cloud-tools-4.15.0-34-generic:amd64 4.15.0-34.37 2018-10-10 10:16:57 status half-installed linux-cloud-tools-4.15.0-34-generic:amd64 4.15.0-34.37 2018-10-10 10:16:57

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Guillaume Penin
@Eric : Sosreport sent by email. Did you try the second time (with cloud-init installed) to reproduce with unattended upgrades on shutdown mode ? I did not mention it but upgrading the package outside of unattended upgrades on shutdown mode works. -- You received this bug notification because

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Eric Desrochers
Can you run sosreport from an impacted system ? It may provide more context. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1796376 Title: Bug #1739107 fix causes

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Eric Desrochers
Still no apparent issue on my side. # dpkg ii cloud-init18.3-9-g2e62cb8a-0ubuntu1~18.04.2 all Init scripts for cloud instances ii linux-cloud-tools-common 4.15.0-36.39 all Linux kernel version specific cloud tools

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Guillaume Penin
@Eric : Is cloud-init installed on your system. If not, can you install it and try again please ? Indeed, as you can see in my first comment, removing the cloud-init dependency on the linux-cloud-tools-common makes the update process work well. So it seems to be related with cloud-init. -- You

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Eric Desrochers
I have tested w/ Bionic inside a KVM guest, and the upgrade went fine. # unattended-upgrades/unattended-upgrades-dpkg.log Log started: 2018-10-12 09:10:05 (Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Guillaume Penin
@Eric, no, it is not necessary. We encountered the same problem on AWS EC2 instances that share the same OS image and also have the linux- cloud-tools-common package installed. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Eric Desrochers
Ok I'll give it a try today and test. Does the impacted systems necessary need to be part of a Microsoft's virtualization platform ecosystem ? (Azure, Hyper-V, ...) to reproduce the problem ? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Guillaume Penin
Hi Eric, The downgrade operation you saw is just because I've used the same server to give you the logs and to test the step-by-step instructions before writing them on this bug report. I can confirm that the issue can be reproduced any time starting from the 2 versions (Xenial : 4.4.0-135.161,

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-12 Thread Eric Desrochers
# We see that "4.15.0-34.37" has been installed, and then 2-3 minutes later 'uu' failed to upgrade to "4.15.0-36.39" : Start-Date: 2018-10-10 10:45:05 Commandline: apt install linux-cloud-tools-common=4.15.0-34.37 Downgrade: linux-cloud-tools-common:amd64 (4.15.0-36.39, 4.15.0-34.37) End-Date:

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-10 Thread Guillaume Penin
@Eric : Logs in attachment. Thanks a lot for your help. ** Attachment added: "apt and unattended-upgrades logs" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1796376/+attachment/5199435/+files/bug-1796376.tgz -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-10 Thread Guillaume Penin
@David, of course : - Start from an up-to-date Ubuntu Bionic : [root@uzimysut01 ~]# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 18.04.1 LTS Release:18.04 Codename: bionic - Downgrade linux-cloud-tools-common to version 4.15.0-34.37 :

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-09 Thread Eric Desrochers
Do you have the full logs of "/var/log/unattended-upgrades" and "/var/log/apt" handy ? - Eric -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1796376 Title: Bug #1739107 fix causes

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-09 Thread David Coronel
Hi Guillaume, would it be possible to provide step-by-step instructions to reproduce this issue? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1796376 Title: Bug #1739107 fix causes

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-09 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1796376 Title: Bug #1739107 fix causes linux-cloud-tools-common not to be

[Kernel-packages] [Bug 1796376] Re: Bug #1739107 fix causes linux-cloud-tools-common not to be upgradable with unattended-upgrades on shutdown mode

2018-10-05 Thread Guillaume Penin
Sorry, i'm not able to run apport through our enterprise Network. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.