Activity log for bug #1576333

Date Who What changed Old value New value Message
2016-04-28 17:22:06 Scott Moser bug added bug
2016-04-28 17:22:22 Scott Moser bug added subscriber Martin Pitt
2016-04-28 17:22:28 Scott Moser pollinate (Ubuntu): status New Confirmed
2016-04-28 17:22:33 Scott Moser pollinate (Ubuntu): importance Undecided Medium
2016-05-19 07:17:57 Martin Pitt pollinate (Ubuntu): importance Medium Critical
2016-05-19 07:17:59 Martin Pitt pollinate (Ubuntu): assignee Martin Pitt (pitti)
2016-05-19 07:18:00 Martin Pitt pollinate (Ubuntu): status Confirmed In Progress
2016-05-19 07:18:06 Martin Pitt nominated for series Ubuntu Yakkety
2016-05-19 07:18:06 Martin Pitt bug task added pollinate (Ubuntu Yakkety)
2016-05-19 07:18:06 Martin Pitt nominated for series Ubuntu Xenial
2016-05-19 07:18:06 Martin Pitt bug task added pollinate (Ubuntu Xenial)
2016-05-19 07:18:16 Martin Pitt pollinate (Ubuntu Xenial): status New Triaged
2016-05-19 07:18:18 Martin Pitt pollinate (Ubuntu Xenial): importance Undecided Critical
2016-05-19 07:18:20 Martin Pitt pollinate (Ubuntu Xenial): assignee Martin Pitt (pitti)
2016-05-19 07:18:57 Martin Pitt summary runs to early runs to early, causes dependency loops
2016-05-19 07:27:50 Martin Pitt description pollinate runs too early on some of the instances i launch. Basically nothing guarantees that it will have network access when it attempts to run. failure looks something like: $ lxc launch xenial x1 $ sleep 4 $ lxc exec x1 systemctl status pollinate ● pollinate.service - Seed the pseudo random number generator on first boot Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled) Active: inactive (dead) since Thu 2016-04-28 17:16:03 UTC; 1min 17s ago Process: 86 ExecStart=/usr/bin/pollinate (code=exited, status=0/SUCCESS) Main PID: 86 (code=exited, status=0/SUCCESS) Apr 28 17:16:03 ubuntu systemd[1]: Starting Seed the pseudo random number generator on first boot... Apr 28 17:16:03 ubuntu pollinate[106]: client sent challenge to [https://entropy.ubuntu.com/] Apr 28 17:16:03 ubuntu pollinate[86]: <13>Apr 28 17:16:03 pollinate[86]: client sent challenge to [https://entropy.ubuntu.com/] Apr 28 17:16:03 ubuntu pollinate[149]: [432B blob data] Apr 28 17:16:03 ubuntu pollinate[86]: Apr 28 17:16:03 ubuntu <13>Apr 28 17:16:03 pollinate[86]: WARNING: Network communication failed [0]\n % Total % Received % Xferd Average Speed Time Time Time Current Apr 28 17:16:03 ubuntu pollinate[86]: Dload Upload Total Spent Left Speed Apr 28 17:16:03 ubuntu pollinate[86]: [139B blob data] Apr 28 17:16:03 ubuntu pollinate[86]: 17:16:03.859980 * Closing connection 0 Apr 28 17:16:03 ubuntu pollinate[86]: curl: (6) Could not resolve host: entropy.ubuntu.com Apr 28 17:16:03 ubuntu systemd[1]: Started Seed the pseudo random number generator on first boot. This seems like it might work: # diff -u /lib/systemd/system/pollinate.service.dist /lib/systemd/system/pollinate.service --- /lib/systemd/system/pollinate.service.dist 2016-04-28 17:19:10.807971336 +0000 +++ /lib/systemd/system/pollinate.service 2016-04-28 17:19:17.839874541 +0000 @@ -2,6 +2,7 @@ Description=Seed the pseudo random number generator on first boot DefaultDependencies=no After=sysinit.target +After=network.target Before=ssh.service [Service] ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: pollinate 4.15-0ubuntu1 [modified: usr/bin/pollinate] ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Thu Apr 28 16:39:17 2016 PackageArchitecture: all ProcEnviron: TERM=xterm-256color PATH=(custom, no user) SourcePackage: pollinate UpgradeStatus: No upgrade log present (probably fresh install) The first half of the original bug report got fixed in bug 1578833, but pollinate still runs to early. SRU INFORMATION =============== Impact: Causes service failures during boot when using NFS mounts, regression from bug 1578833 Reproducer: - sudo apt-get install -y nfs-common pollinate - echo "1.2.3.4:/foo /mnt nfs defaults,nofail 0 0" | sudo tee -a /etc/fstab (This will start network-online.target during early boot) - sudo reboot - Confirm that "sudo journalctl -b -p warning" shows a dependency loop, and most probably "systemctl status network-online.target" is not running. - Upgrade to the proposed pollinate update, reboot. - Confirm that there is no dependency loop any more and "systemctl status network-online.target" is active. - Confirm that /etc/systemd/system/network.target.wants/pollinate.service does not exist any more. Regression potential: Low. This merely changes when pollinate.service gets activated, and network.target is too early (nothing should actually be started by network.target, this is mostly meant for shutdown). The main thing that can go wrong is that the upgrade still leaves the old /etc/systemd/system/network.target.wants/pollinate.service symlink behind (the maintainer scripts have to clean that up). Original bug report: pollinate runs too early on some of the instances i launch. Basically nothing guarantees that it will have network access when it attempts to run. failure looks something like: $ lxc launch xenial x1 $ sleep 4 $ lxc exec x1 systemctl status pollinate ● pollinate.service - Seed the pseudo random number generator on first boot    Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled)    Active: inactive (dead) since Thu 2016-04-28 17:16:03 UTC; 1min 17s ago   Process: 86 ExecStart=/usr/bin/pollinate (code=exited, status=0/SUCCESS)  Main PID: 86 (code=exited, status=0/SUCCESS) Apr 28 17:16:03 ubuntu systemd[1]: Starting Seed the pseudo random number generator on first boot... Apr 28 17:16:03 ubuntu pollinate[106]: client sent challenge to [https://entropy.ubuntu.com/] Apr 28 17:16:03 ubuntu pollinate[86]: <13>Apr 28 17:16:03 pollinate[86]: client sent challenge to [https://entropy.ubuntu.com/] Apr 28 17:16:03 ubuntu pollinate[149]: [432B blob data] Apr 28 17:16:03 ubuntu pollinate[86]: Apr 28 17:16:03 ubuntu <13>Apr 28 17:16:03 pollinate[86]: WARNING: Network communication failed [0]\n % Total % Received % Xferd Average Speed Time Time Time Current Apr 28 17:16:03 ubuntu pollinate[86]: Dload Upload Total Spent Left Speed Apr 28 17:16:03 ubuntu pollinate[86]: [139B blob data] Apr 28 17:16:03 ubuntu pollinate[86]: 17:16:03.859980 * Closing connection 0 Apr 28 17:16:03 ubuntu pollinate[86]: curl: (6) Could not resolve host: entropy.ubuntu.com Apr 28 17:16:03 ubuntu systemd[1]: Started Seed the pseudo random number generator on first boot. This seems like it might work: # diff -u /lib/systemd/system/pollinate.service.dist /lib/systemd/system/pollinate.service --- /lib/systemd/system/pollinate.service.dist 2016-04-28 17:19:10.807971336 +0000 +++ /lib/systemd/system/pollinate.service 2016-04-28 17:19:17.839874541 +0000 @@ -2,6 +2,7 @@  Description=Seed the pseudo random number generator on first boot  DefaultDependencies=no  After=sysinit.target +After=network.target  Before=ssh.service  [Service] ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: pollinate 4.15-0ubuntu1 [modified: usr/bin/pollinate] ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Thu Apr 28 16:39:17 2016 PackageArchitecture: all ProcEnviron:  TERM=xterm-256color  PATH=(custom, no user) SourcePackage: pollinate UpgradeStatus: No upgrade log present (probably fresh install)
2016-05-19 07:40:04 Martin Pitt description The first half of the original bug report got fixed in bug 1578833, but pollinate still runs to early. SRU INFORMATION =============== Impact: Causes service failures during boot when using NFS mounts, regression from bug 1578833 Reproducer: - sudo apt-get install -y nfs-common pollinate - echo "1.2.3.4:/foo /mnt nfs defaults,nofail 0 0" | sudo tee -a /etc/fstab (This will start network-online.target during early boot) - sudo reboot - Confirm that "sudo journalctl -b -p warning" shows a dependency loop, and most probably "systemctl status network-online.target" is not running. - Upgrade to the proposed pollinate update, reboot. - Confirm that there is no dependency loop any more and "systemctl status network-online.target" is active. - Confirm that /etc/systemd/system/network.target.wants/pollinate.service does not exist any more. Regression potential: Low. This merely changes when pollinate.service gets activated, and network.target is too early (nothing should actually be started by network.target, this is mostly meant for shutdown). The main thing that can go wrong is that the upgrade still leaves the old /etc/systemd/system/network.target.wants/pollinate.service symlink behind (the maintainer scripts have to clean that up). Original bug report: pollinate runs too early on some of the instances i launch. Basically nothing guarantees that it will have network access when it attempts to run. failure looks something like: $ lxc launch xenial x1 $ sleep 4 $ lxc exec x1 systemctl status pollinate ● pollinate.service - Seed the pseudo random number generator on first boot    Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled)    Active: inactive (dead) since Thu 2016-04-28 17:16:03 UTC; 1min 17s ago   Process: 86 ExecStart=/usr/bin/pollinate (code=exited, status=0/SUCCESS)  Main PID: 86 (code=exited, status=0/SUCCESS) Apr 28 17:16:03 ubuntu systemd[1]: Starting Seed the pseudo random number generator on first boot... Apr 28 17:16:03 ubuntu pollinate[106]: client sent challenge to [https://entropy.ubuntu.com/] Apr 28 17:16:03 ubuntu pollinate[86]: <13>Apr 28 17:16:03 pollinate[86]: client sent challenge to [https://entropy.ubuntu.com/] Apr 28 17:16:03 ubuntu pollinate[149]: [432B blob data] Apr 28 17:16:03 ubuntu pollinate[86]: Apr 28 17:16:03 ubuntu <13>Apr 28 17:16:03 pollinate[86]: WARNING: Network communication failed [0]\n % Total % Received % Xferd Average Speed Time Time Time Current Apr 28 17:16:03 ubuntu pollinate[86]: Dload Upload Total Spent Left Speed Apr 28 17:16:03 ubuntu pollinate[86]: [139B blob data] Apr 28 17:16:03 ubuntu pollinate[86]: 17:16:03.859980 * Closing connection 0 Apr 28 17:16:03 ubuntu pollinate[86]: curl: (6) Could not resolve host: entropy.ubuntu.com Apr 28 17:16:03 ubuntu systemd[1]: Started Seed the pseudo random number generator on first boot. This seems like it might work: # diff -u /lib/systemd/system/pollinate.service.dist /lib/systemd/system/pollinate.service --- /lib/systemd/system/pollinate.service.dist 2016-04-28 17:19:10.807971336 +0000 +++ /lib/systemd/system/pollinate.service 2016-04-28 17:19:17.839874541 +0000 @@ -2,6 +2,7 @@  Description=Seed the pseudo random number generator on first boot  DefaultDependencies=no  After=sysinit.target +After=network.target  Before=ssh.service  [Service] ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: pollinate 4.15-0ubuntu1 [modified: usr/bin/pollinate] ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Thu Apr 28 16:39:17 2016 PackageArchitecture: all ProcEnviron:  TERM=xterm-256color  PATH=(custom, no user) SourcePackage: pollinate UpgradeStatus: No upgrade log present (probably fresh install) The first half of the original bug report got fixed in bug 1578833, but pollinate still runs to early. SRU INFORMATION =============== Impact: Causes service failures during boot when using NFS mounts, regression from bug 1578833 Reproducer:  - sudo apt-get install -y nfs-common pollinate  - echo "1.2.3.4:/foo /mnt nfs defaults,nofail 0 0" | sudo tee -a /etc/fstab    (This will start network-online.target during early boot)  - sudo reboot  - Confirm that "sudo journalctl -b -p warning" shows a dependency loop, and most probably "systemctl status network-online.target" is not running.  - Upgrade to the proposed pollinate update, reboot.  - Confirm that there is no dependency loop any more and "systemctl status network-online.target" is active. - Confirm that "systemctl status pollinate" is "enabled" (it will have "start: condition failed", but that is intended).  - Confirm that /etc/systemd/system/network.target.wants/pollinate.service does not exist any more. Regression potential: Low. This merely changes when pollinate.service gets activated, and network.target is too early (nothing should actually be started by network.target, this is mostly meant for shutdown). The main thing that can go wrong is that the upgrade still leaves the old /etc/systemd/system/network.target.wants/pollinate.service symlink behind (the maintainer scripts have to clean that up). Original bug report: pollinate runs too early on some of the instances i launch. Basically nothing guarantees that it will have network access when it attempts to run. failure looks something like: $ lxc launch xenial x1 $ sleep 4 $ lxc exec x1 systemctl status pollinate ● pollinate.service - Seed the pseudo random number generator on first boot    Loaded: loaded (/lib/systemd/system/pollinate.service; enabled; vendor preset: enabled)    Active: inactive (dead) since Thu 2016-04-28 17:16:03 UTC; 1min 17s ago   Process: 86 ExecStart=/usr/bin/pollinate (code=exited, status=0/SUCCESS)  Main PID: 86 (code=exited, status=0/SUCCESS) Apr 28 17:16:03 ubuntu systemd[1]: Starting Seed the pseudo random number generator on first boot... Apr 28 17:16:03 ubuntu pollinate[106]: client sent challenge to [https://entropy.ubuntu.com/] Apr 28 17:16:03 ubuntu pollinate[86]: <13>Apr 28 17:16:03 pollinate[86]: client sent challenge to [https://entropy.ubuntu.com/] Apr 28 17:16:03 ubuntu pollinate[149]: [432B blob data] Apr 28 17:16:03 ubuntu pollinate[86]: Apr 28 17:16:03 ubuntu <13>Apr 28 17:16:03 pollinate[86]: WARNING: Network communication failed [0]\n % Total % Received % Xferd Average Speed Time Time Time Current Apr 28 17:16:03 ubuntu pollinate[86]: Dload Upload Total Spent Left Speed Apr 28 17:16:03 ubuntu pollinate[86]: [139B blob data] Apr 28 17:16:03 ubuntu pollinate[86]: 17:16:03.859980 * Closing connection 0 Apr 28 17:16:03 ubuntu pollinate[86]: curl: (6) Could not resolve host: entropy.ubuntu.com Apr 28 17:16:03 ubuntu systemd[1]: Started Seed the pseudo random number generator on first boot. This seems like it might work: # diff -u /lib/systemd/system/pollinate.service.dist /lib/systemd/system/pollinate.service --- /lib/systemd/system/pollinate.service.dist 2016-04-28 17:19:10.807971336 +0000 +++ /lib/systemd/system/pollinate.service 2016-04-28 17:19:17.839874541 +0000 @@ -2,6 +2,7 @@  Description=Seed the pseudo random number generator on first boot  DefaultDependencies=no  After=sysinit.target +After=network.target  Before=ssh.service  [Service] ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: pollinate 4.15-0ubuntu1 [modified: usr/bin/pollinate] ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Thu Apr 28 16:39:17 2016 PackageArchitecture: all ProcEnviron:  TERM=xterm-256color  PATH=(custom, no user) SourcePackage: pollinate UpgradeStatus: No upgrade log present (probably fresh install)
2016-05-19 07:43:12 Martin Pitt pollinate (Ubuntu Yakkety): status In Progress Fix Committed
2016-05-19 07:47:11 Martin Pitt pollinate (Ubuntu Xenial): status Triaged In Progress
2016-05-19 08:59:08 Launchpad Janitor pollinate (Ubuntu Yakkety): status Fix Committed Fix Released
2016-05-19 18:16:29 Brian Murray pollinate (Ubuntu Xenial): status In Progress Fix Committed
2016-05-19 18:16:32 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2016-05-19 18:16:37 Brian Murray bug added subscriber SRU Verification
2016-05-19 18:16:46 Brian Murray tags amd64 apport-bug uec-images xenial amd64 apport-bug uec-images verification-needed xenial
2016-05-19 19:47:58 Martin Pitt tags amd64 apport-bug uec-images verification-needed xenial amd64 apport-bug uec-images verification-done xenial
2016-05-20 04:27:07 Launchpad Janitor branch linked lp:pollinate
2016-05-23 07:10:19 Martin Pitt removed subscriber Ubuntu Stable Release Updates Team
2016-05-23 07:15:31 Launchpad Janitor pollinate (Ubuntu Xenial): status Fix Committed Fix Released
2016-07-27 08:42:00 Chris J Arges pollinate (Ubuntu Trusty): status New Fix Committed
2016-07-27 08:42:03 Chris J Arges bug added subscriber Ubuntu Stable Release Updates Team
2016-07-27 08:42:13 Chris J Arges tags amd64 apport-bug uec-images verification-done xenial amd64 apport-bug uec-images xenial
2016-07-27 08:42:14 Chris J Arges tags amd64 apport-bug uec-images xenial amd64 apport-bug uec-images verification-needed xenial
2016-08-23 13:36:33 Dustin Kirkland  tags amd64 apport-bug uec-images verification-needed xenial amd64 apport-bug uec-images verification-done xenial
2016-08-24 13:47:05 Launchpad Janitor pollinate (Ubuntu Trusty): status Fix Committed Fix Released