2016-09-17 01:55:52 |
Scott Moser |
bug |
|
|
added bug |
2016-09-17 01:57:12 |
Scott Moser |
bug |
|
|
added subscriber Martin Pitt |
2016-09-17 02:03:18 |
Scott Moser |
walinuxagent (Ubuntu): status |
New |
Triaged |
|
2016-09-17 02:03:21 |
Scott Moser |
walinuxagent (Ubuntu): importance |
Undecided |
Medium |
|
2016-09-20 17:56:09 |
Scott Moser |
nominated for series |
|
Ubuntu Xenial |
|
2016-09-20 17:56:09 |
Scott Moser |
bug task added |
|
walinuxagent (Ubuntu Xenial) |
|
2016-09-20 17:56:28 |
Scott Moser |
walinuxagent (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2016-09-20 17:56:28 |
Scott Moser |
walinuxagent (Ubuntu Xenial): status |
New |
Confirmed |
|
2016-09-20 17:56:28 |
Scott Moser |
walinuxagent (Ubuntu Xenial): assignee |
|
Scott Moser (smoser) |
|
2016-09-20 18:12:17 |
Scott Moser |
description |
$ journalctl | grep break -a2 -b8
42956-Sep 17 01:45:02 smoser0917x systemd[1]: Detected virtualization microsoft.
43031-Sep 17 01:45:02 smoser0917x systemd[1]: Detected architecture x86-64.
43101-Sep 17 01:45:02 smoser0917x systemd[1]: Set hostname to <smoser0917x>.
43172-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found ordering cycle on multi-user.target/start
43279-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on ephemeral-disk-warning.service/start
43395-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on cloud-final.service/start
43500-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on multi-user.target/start
43603-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
43739:Sep 17 01:45:02 smoser0917x systemd[1]: ephemeral-disk-warning.service: Job ephemeral-disk-warning.service/start deleted to break ordering cycle starting with multi-user.target/start
43922-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on udev Kernel Socket.
43995-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Encrypted Volumes.
44069-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Syslog Socket.
44137-Sep 17 01:45:02 smoser0917x systemd[1]: Started Forward Password Requests to Wall Directory Watch.
44236-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Journal Socket.
44305-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on LVM2 poll daemon socket.
44383-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Swap.
44444-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on fsck to fsckd communication Socket.
$ dpkg-query --show cloud-init walinuxagent
cloud-init 0.7.8-1-g3705bb5-0ubuntu1~16.04.1
walinuxagent 2.1.3-0ubuntu4.1
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: walinuxagent 2.1.3-0ubuntu4.1
ProcVersionSignature: User Name 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Sep 17 01:51:22 2016
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: walinuxagent
UpgradeStatus: No upgrade log present (probably fresh install) |
http://pad.lv/1624596
[Impact]
Some recent systemd related cloud-init changes in 0.7.7-28-g34a26f7-0ubuntu1
and later caused systemd 'ordering cycle' around the walinuxagent provided
ephemeral-disk-warning.service .
The result would be that journalctl would report:
Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
Due to a order cycle
* An explanation of the effects of the bug on users and
* justification for backporting the fix to the stable release.
* In addition, it is helpful, but not required, to include an
explanation of how the upload fixes this bug.
[Test Case]
Boot system on azure, then run:
$ journalctl | grep -i "ordering cycle"
There *should* be no ordering cycles in our boot.
$ systemctl status ephemeral-disk-warning.service | grep Condition
Condition: start condition failed at Tue 2016-09-20 16:15:03 UTC; 37min ago
That is the failure, to show it functional and fixed
$ echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" |
sudo tee /etc/apt/sources.list.d/proposed.list
$ sudo apt-get update -qy
$ sudo apt-get -qy install walinuxagent
$ dpkg-query --show walinuxagent
$ sudo reboot
Then repeat the above, and you should see no 'ordering cycle' messages, and
$ systemctl status ephemeral-disk-warning.service | grep Active
Active: active (exited) since Tue 2016-09-20 17:08:46 UTC; 1h 0min ago
And the file that gets created should be there.
$ ls -l /mnt/DATALOSS_WARNING_README.txt
-r--r--r-- 1 root root 639 Sep 20 17:08 /mnt/DATALOSS_WARNING_README.txt
[Regression Potential]
Changing order of boot is quite often painful due to subtle changes and
the overall newness of systemd. The changes here are fairly well tested
and fix an issue. Worst case, that job does not run (as it does not run now)
and we do not get the file created.
--- End SRU Template ---
$ journalctl | grep break -a2 -b8
42956-Sep 17 01:45:02 smoser0917x systemd[1]: Detected virtualization microsoft.
43031-Sep 17 01:45:02 smoser0917x systemd[1]: Detected architecture x86-64.
43101-Sep 17 01:45:02 smoser0917x systemd[1]: Set hostname to <smoser0917x>.
43172-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found ordering cycle on multi-user.target/start
43279-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on ephemeral-disk-warning.service/start
43395-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on cloud-final.service/start
43500-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on multi-user.target/start
43603-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
43739:Sep 17 01:45:02 smoser0917x systemd[1]: ephemeral-disk-warning.service: Job ephemeral-disk-warning.service/start deleted to break ordering cycle starting with multi-user.target/start
43922-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on udev Kernel Socket.
43995-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Encrypted Volumes.
44069-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Syslog Socket.
44137-Sep 17 01:45:02 smoser0917x systemd[1]: Started Forward Password Requests to Wall Directory Watch.
44236-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Journal Socket.
44305-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on LVM2 poll daemon socket.
44383-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Swap.
44444-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on fsck to fsckd communication Socket.
$ dpkg-query --show cloud-init walinuxagent
cloud-init 0.7.8-1-g3705bb5-0ubuntu1~16.04.1
walinuxagent 2.1.3-0ubuntu4.1
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: walinuxagent 2.1.3-0ubuntu4.1
ProcVersionSignature: User Name 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Sep 17 01:51:22 2016
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: walinuxagent
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2016-09-20 18:13:03 |
Scott Moser |
description |
http://pad.lv/1624596
[Impact]
Some recent systemd related cloud-init changes in 0.7.7-28-g34a26f7-0ubuntu1
and later caused systemd 'ordering cycle' around the walinuxagent provided
ephemeral-disk-warning.service .
The result would be that journalctl would report:
Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
Due to a order cycle
* An explanation of the effects of the bug on users and
* justification for backporting the fix to the stable release.
* In addition, it is helpful, but not required, to include an
explanation of how the upload fixes this bug.
[Test Case]
Boot system on azure, then run:
$ journalctl | grep -i "ordering cycle"
There *should* be no ordering cycles in our boot.
$ systemctl status ephemeral-disk-warning.service | grep Condition
Condition: start condition failed at Tue 2016-09-20 16:15:03 UTC; 37min ago
That is the failure, to show it functional and fixed
$ echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" |
sudo tee /etc/apt/sources.list.d/proposed.list
$ sudo apt-get update -qy
$ sudo apt-get -qy install walinuxagent
$ dpkg-query --show walinuxagent
$ sudo reboot
Then repeat the above, and you should see no 'ordering cycle' messages, and
$ systemctl status ephemeral-disk-warning.service | grep Active
Active: active (exited) since Tue 2016-09-20 17:08:46 UTC; 1h 0min ago
And the file that gets created should be there.
$ ls -l /mnt/DATALOSS_WARNING_README.txt
-r--r--r-- 1 root root 639 Sep 20 17:08 /mnt/DATALOSS_WARNING_README.txt
[Regression Potential]
Changing order of boot is quite often painful due to subtle changes and
the overall newness of systemd. The changes here are fairly well tested
and fix an issue. Worst case, that job does not run (as it does not run now)
and we do not get the file created.
--- End SRU Template ---
$ journalctl | grep break -a2 -b8
42956-Sep 17 01:45:02 smoser0917x systemd[1]: Detected virtualization microsoft.
43031-Sep 17 01:45:02 smoser0917x systemd[1]: Detected architecture x86-64.
43101-Sep 17 01:45:02 smoser0917x systemd[1]: Set hostname to <smoser0917x>.
43172-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found ordering cycle on multi-user.target/start
43279-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on ephemeral-disk-warning.service/start
43395-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on cloud-final.service/start
43500-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on multi-user.target/start
43603-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
43739:Sep 17 01:45:02 smoser0917x systemd[1]: ephemeral-disk-warning.service: Job ephemeral-disk-warning.service/start deleted to break ordering cycle starting with multi-user.target/start
43922-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on udev Kernel Socket.
43995-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Encrypted Volumes.
44069-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Syslog Socket.
44137-Sep 17 01:45:02 smoser0917x systemd[1]: Started Forward Password Requests to Wall Directory Watch.
44236-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Journal Socket.
44305-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on LVM2 poll daemon socket.
44383-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Swap.
44444-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on fsck to fsckd communication Socket.
$ dpkg-query --show cloud-init walinuxagent
cloud-init 0.7.8-1-g3705bb5-0ubuntu1~16.04.1
walinuxagent 2.1.3-0ubuntu4.1
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: walinuxagent 2.1.3-0ubuntu4.1
ProcVersionSignature: User Name 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Sep 17 01:51:22 2016
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: walinuxagent
UpgradeStatus: No upgrade log present (probably fresh install) |
=== Begin SRU Template ===
[Impact]
Some recent systemd related cloud-init changes in 0.7.7-28-g34a26f7-0ubuntu1
and later caused systemd 'ordering cycle' around the walinuxagent provided
ephemeral-disk-warning.service .
The result would be that journalctl would report:
Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
Due to a order cycle
* An explanation of the effects of the bug on users and
* justification for backporting the fix to the stable release.
* In addition, it is helpful, but not required, to include an
explanation of how the upload fixes this bug.
[Test Case]
Boot system on azure, then run:
$ journalctl | grep -i "ordering cycle"
There *should* be no ordering cycles in our boot.
$ systemctl status ephemeral-disk-warning.service | grep Condition
Condition: start condition failed at Tue 2016-09-20 16:15:03 UTC; 37min ago
That is the failure, to show it functional and fixed
$ echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" |
sudo tee /etc/apt/sources.list.d/proposed.list
$ sudo apt-get update -qy
$ sudo apt-get -qy install walinuxagent
$ dpkg-query --show walinuxagent
$ sudo reboot
Then repeat the above, and you should see no 'ordering cycle' messages, and
$ systemctl status ephemeral-disk-warning.service | grep Active
Active: active (exited) since Tue 2016-09-20 17:08:46 UTC; 1h 0min ago
And the file that gets created should be there.
$ ls -l /mnt/DATALOSS_WARNING_README.txt
-r--r--r-- 1 root root 639 Sep 20 17:08 /mnt/DATALOSS_WARNING_README.txt
[Regression Potential]
Changing order of boot is quite often painful due to subtle changes and
the overall newness of systemd. The changes here are fairly well tested
and fix an issue. Worst case, that job does not run (as it does not run now)
and we do not get the file created.
--- End SRU Template ---
$ journalctl | grep break -a2 -b8
42956-Sep 17 01:45:02 smoser0917x systemd[1]: Detected virtualization microsoft.
43031-Sep 17 01:45:02 smoser0917x systemd[1]: Detected architecture x86-64.
43101-Sep 17 01:45:02 smoser0917x systemd[1]: Set hostname to <smoser0917x>.
43172-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found ordering cycle on multi-user.target/start
43279-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on ephemeral-disk-warning.service/start
43395-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on cloud-final.service/start
43500-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on multi-user.target/start
43603-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
43739:Sep 17 01:45:02 smoser0917x systemd[1]: ephemeral-disk-warning.service: Job ephemeral-disk-warning.service/start deleted to break ordering cycle starting with multi-user.target/start
43922-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on udev Kernel Socket.
43995-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Encrypted Volumes.
44069-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Syslog Socket.
44137-Sep 17 01:45:02 smoser0917x systemd[1]: Started Forward Password Requests to Wall Directory Watch.
44236-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Journal Socket.
44305-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on LVM2 poll daemon socket.
44383-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Swap.
44444-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on fsck to fsckd communication Socket.
$ dpkg-query --show cloud-init walinuxagent
cloud-init 0.7.8-1-g3705bb5-0ubuntu1~16.04.1
walinuxagent 2.1.3-0ubuntu4.1
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: walinuxagent 2.1.3-0ubuntu4.1
ProcVersionSignature: User Name 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Sep 17 01:51:22 2016
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: walinuxagent
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2016-09-20 19:56:23 |
Launchpad Janitor |
walinuxagent (Ubuntu): status |
Triaged |
Fix Released |
|
2016-09-21 18:14:34 |
Scott Moser |
description |
=== Begin SRU Template ===
[Impact]
Some recent systemd related cloud-init changes in 0.7.7-28-g34a26f7-0ubuntu1
and later caused systemd 'ordering cycle' around the walinuxagent provided
ephemeral-disk-warning.service .
The result would be that journalctl would report:
Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
Due to a order cycle
* An explanation of the effects of the bug on users and
* justification for backporting the fix to the stable release.
* In addition, it is helpful, but not required, to include an
explanation of how the upload fixes this bug.
[Test Case]
Boot system on azure, then run:
$ journalctl | grep -i "ordering cycle"
There *should* be no ordering cycles in our boot.
$ systemctl status ephemeral-disk-warning.service | grep Condition
Condition: start condition failed at Tue 2016-09-20 16:15:03 UTC; 37min ago
That is the failure, to show it functional and fixed
$ echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" |
sudo tee /etc/apt/sources.list.d/proposed.list
$ sudo apt-get update -qy
$ sudo apt-get -qy install walinuxagent
$ dpkg-query --show walinuxagent
$ sudo reboot
Then repeat the above, and you should see no 'ordering cycle' messages, and
$ systemctl status ephemeral-disk-warning.service | grep Active
Active: active (exited) since Tue 2016-09-20 17:08:46 UTC; 1h 0min ago
And the file that gets created should be there.
$ ls -l /mnt/DATALOSS_WARNING_README.txt
-r--r--r-- 1 root root 639 Sep 20 17:08 /mnt/DATALOSS_WARNING_README.txt
[Regression Potential]
Changing order of boot is quite often painful due to subtle changes and
the overall newness of systemd. The changes here are fairly well tested
and fix an issue. Worst case, that job does not run (as it does not run now)
and we do not get the file created.
--- End SRU Template ---
$ journalctl | grep break -a2 -b8
42956-Sep 17 01:45:02 smoser0917x systemd[1]: Detected virtualization microsoft.
43031-Sep 17 01:45:02 smoser0917x systemd[1]: Detected architecture x86-64.
43101-Sep 17 01:45:02 smoser0917x systemd[1]: Set hostname to <smoser0917x>.
43172-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found ordering cycle on multi-user.target/start
43279-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on ephemeral-disk-warning.service/start
43395-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on cloud-final.service/start
43500-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on multi-user.target/start
43603-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
43739:Sep 17 01:45:02 smoser0917x systemd[1]: ephemeral-disk-warning.service: Job ephemeral-disk-warning.service/start deleted to break ordering cycle starting with multi-user.target/start
43922-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on udev Kernel Socket.
43995-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Encrypted Volumes.
44069-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Syslog Socket.
44137-Sep 17 01:45:02 smoser0917x systemd[1]: Started Forward Password Requests to Wall Directory Watch.
44236-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Journal Socket.
44305-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on LVM2 poll daemon socket.
44383-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Swap.
44444-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on fsck to fsckd communication Socket.
$ dpkg-query --show cloud-init walinuxagent
cloud-init 0.7.8-1-g3705bb5-0ubuntu1~16.04.1
walinuxagent 2.1.3-0ubuntu4.1
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: walinuxagent 2.1.3-0ubuntu4.1
ProcVersionSignature: User Name 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Sep 17 01:51:22 2016
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: walinuxagent
UpgradeStatus: No upgrade log present (probably fresh install) |
=== Begin SRU Template ===
[Impact]
Some recent systemd related cloud-init changes in 0.7.7-28-g34a26f7-0ubuntu1
and later caused systemd 'ordering cycle' around the walinuxagent provided
ephemeral-disk-warning.service .
The result would be that journalctl would report:
Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
Due to a order cycle
* An explanation of the effects of the bug on users and
* justification for backporting the fix to the stable release.
* In addition, it is helpful, but not required, to include an
explanation of how the upload fixes this bug.
[Test Case]
Boot system on azure, then run:
$ journalctl | grep -i "ordering cycle"
There *should* be no ordering cycles in our boot.
$ systemctl status ephemeral-disk-warning.service | grep Condition
Condition: start condition failed at Tue 2016-09-20 16:15:03 UTC; 37min ago
That is the failure, to show it functional and fixed
$ echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" |
sudo tee /etc/apt/sources.list.d/proposed.list
$ sudo apt-get update -qy
$ sudo apt-get -qy install walinuxagent
$ dpkg-query --show walinuxagent
$ sudo reboot
Then repeat the above, and you should see no 'ordering cycle' messages, and
$ systemctl status ephemeral-disk-warning.service | grep Active
Active: active (exited) since Tue 2016-09-20 17:08:46 UTC; 1h 0min ago
And the file that gets created should be there.
$ ls -l /mnt/DATALOSS_WARNING_README.txt
-r--r--r-- 1 root root 639 Sep 20 17:08 /mnt/DATALOSS_WARNING_README.txt
[Regression Potential]
Changing order of boot is quite often painful due to subtle changes and
the overall newness of systemd. The changes here are fairly well tested
and fix an issue. Worst case, that job does not run (as it does not run now)
and we do not get the file created.
[Other Info]
Full description of the fix is:
debian/ephemeral-disk-warning.service: avoid systemd ordering cycle
ephemeral-disk-warning.service had 'WantedBy' of multi-user.target
which implies "Before" of multi-user.target. It also had
After of cloud-final.service. Since cloud-final.service is now
After multi-user.target, that caused the cycle.
Relax this to be only After cloud-config.service which will run
before multi-user.target does and avoid the cycle.
Also add a 'Description'.
LP: #1624596
--- End SRU Template ---
$ journalctl | grep break -a2 -b8
42956-Sep 17 01:45:02 smoser0917x systemd[1]: Detected virtualization microsoft.
43031-Sep 17 01:45:02 smoser0917x systemd[1]: Detected architecture x86-64.
43101-Sep 17 01:45:02 smoser0917x systemd[1]: Set hostname to <smoser0917x>.
43172-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found ordering cycle on multi-user.target/start
43279-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on ephemeral-disk-warning.service/start
43395-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on cloud-final.service/start
43500-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on multi-user.target/start
43603-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
43739:Sep 17 01:45:02 smoser0917x systemd[1]: ephemeral-disk-warning.service: Job ephemeral-disk-warning.service/start deleted to break ordering cycle starting with multi-user.target/start
43922-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on udev Kernel Socket.
43995-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Encrypted Volumes.
44069-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Syslog Socket.
44137-Sep 17 01:45:02 smoser0917x systemd[1]: Started Forward Password Requests to Wall Directory Watch.
44236-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Journal Socket.
44305-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on LVM2 poll daemon socket.
44383-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Swap.
44444-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on fsck to fsckd communication Socket.
$ dpkg-query --show cloud-init walinuxagent
cloud-init 0.7.8-1-g3705bb5-0ubuntu1~16.04.1
walinuxagent 2.1.3-0ubuntu4.1
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: walinuxagent 2.1.3-0ubuntu4.1
ProcVersionSignature: User Name 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Sep 17 01:51:22 2016
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: walinuxagent
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2016-09-26 17:14:26 |
Scott Moser |
description |
=== Begin SRU Template ===
[Impact]
Some recent systemd related cloud-init changes in 0.7.7-28-g34a26f7-0ubuntu1
and later caused systemd 'ordering cycle' around the walinuxagent provided
ephemeral-disk-warning.service .
The result would be that journalctl would report:
Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
Due to a order cycle
* An explanation of the effects of the bug on users and
* justification for backporting the fix to the stable release.
* In addition, it is helpful, but not required, to include an
explanation of how the upload fixes this bug.
[Test Case]
Boot system on azure, then run:
$ journalctl | grep -i "ordering cycle"
There *should* be no ordering cycles in our boot.
$ systemctl status ephemeral-disk-warning.service | grep Condition
Condition: start condition failed at Tue 2016-09-20 16:15:03 UTC; 37min ago
That is the failure, to show it functional and fixed
$ echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" |
sudo tee /etc/apt/sources.list.d/proposed.list
$ sudo apt-get update -qy
$ sudo apt-get -qy install walinuxagent
$ dpkg-query --show walinuxagent
$ sudo reboot
Then repeat the above, and you should see no 'ordering cycle' messages, and
$ systemctl status ephemeral-disk-warning.service | grep Active
Active: active (exited) since Tue 2016-09-20 17:08:46 UTC; 1h 0min ago
And the file that gets created should be there.
$ ls -l /mnt/DATALOSS_WARNING_README.txt
-r--r--r-- 1 root root 639 Sep 20 17:08 /mnt/DATALOSS_WARNING_README.txt
[Regression Potential]
Changing order of boot is quite often painful due to subtle changes and
the overall newness of systemd. The changes here are fairly well tested
and fix an issue. Worst case, that job does not run (as it does not run now)
and we do not get the file created.
[Other Info]
Full description of the fix is:
debian/ephemeral-disk-warning.service: avoid systemd ordering cycle
ephemeral-disk-warning.service had 'WantedBy' of multi-user.target
which implies "Before" of multi-user.target. It also had
After of cloud-final.service. Since cloud-final.service is now
After multi-user.target, that caused the cycle.
Relax this to be only After cloud-config.service which will run
before multi-user.target does and avoid the cycle.
Also add a 'Description'.
LP: #1624596
--- End SRU Template ---
$ journalctl | grep break -a2 -b8
42956-Sep 17 01:45:02 smoser0917x systemd[1]: Detected virtualization microsoft.
43031-Sep 17 01:45:02 smoser0917x systemd[1]: Detected architecture x86-64.
43101-Sep 17 01:45:02 smoser0917x systemd[1]: Set hostname to <smoser0917x>.
43172-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found ordering cycle on multi-user.target/start
43279-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on ephemeral-disk-warning.service/start
43395-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on cloud-final.service/start
43500-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on multi-user.target/start
43603-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
43739:Sep 17 01:45:02 smoser0917x systemd[1]: ephemeral-disk-warning.service: Job ephemeral-disk-warning.service/start deleted to break ordering cycle starting with multi-user.target/start
43922-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on udev Kernel Socket.
43995-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Encrypted Volumes.
44069-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Syslog Socket.
44137-Sep 17 01:45:02 smoser0917x systemd[1]: Started Forward Password Requests to Wall Directory Watch.
44236-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Journal Socket.
44305-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on LVM2 poll daemon socket.
44383-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Swap.
44444-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on fsck to fsckd communication Socket.
$ dpkg-query --show cloud-init walinuxagent
cloud-init 0.7.8-1-g3705bb5-0ubuntu1~16.04.1
walinuxagent 2.1.3-0ubuntu4.1
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: walinuxagent 2.1.3-0ubuntu4.1
ProcVersionSignature: User Name 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Sep 17 01:51:22 2016
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: walinuxagent
UpgradeStatus: No upgrade log present (probably fresh install) |
=== Begin SRU Template ===
[Impact]
Some recent systemd related cloud-init changes in 0.7.7-28-g34a26f7-0ubuntu1
and later caused systemd 'ordering cycle' around the walinuxagent provided
ephemeral-disk-warning.service .
The result would be that journalctl would report:
Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
Due to a order cycle
* An explanation of the effects of the bug on users and
* justification for backporting the fix to the stable release.
* In addition, it is helpful, but not required, to include an
explanation of how the upload fixes this bug.
[Test Case]
Boot system on azure, then run:
$ journalctl | grep -i "ordering cycle"
There *should* be no ordering cycles in our boot.
$ systemctl status ephemeral-disk-warning.service | grep Condition
Condition: start condition failed at Tue 2016-09-20 16:15:03 UTC; 37min ago
That is the failure, to show it functional and fixed
$ echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" |
sudo tee /etc/apt/sources.list.d/proposed.list
$ sudo apt-get update -qy
$ sudo apt-get -qy install walinuxagent
$ dpkg-query --show walinuxagent
$ sudo reboot
Then repeat the above, and you should see no 'ordering cycle' messages, and
$ systemctl status ephemeral-disk-warning.service | grep Active
Active: active (exited) since Tue 2016-09-20 17:08:46 UTC; 1h 0min ago
And the file that gets created should be there.
$ ls -l /mnt/DATALOSS_WARNING_README.txt
-r--r--r-- 1 root root 639 Sep 20 17:08 /mnt/DATALOSS_WARNING_README.txt
[Regression Potential]
Changing order of boot is quite often painful due to subtle changes and
the overall newness of systemd. The changes here are fairly well tested
and fix an issue. Worst case, that job does not run (as it does not run now)
and we do not get the file created.
[Other Info]
This is fallout of fix for bug 1576692.
Full description of the fix is:
debian/ephemeral-disk-warning.service: avoid systemd ordering cycle
ephemeral-disk-warning.service had 'WantedBy' of multi-user.target
which implies "Before" of multi-user.target. It also had
After of cloud-final.service. Since cloud-final.service is now
After multi-user.target, that caused the cycle.
Relax this to be only After cloud-config.service which will run
before multi-user.target does and avoid the cycle.
Also add a 'Description'.
LP: #1624596
--- End SRU Template ---
$ journalctl | grep break -a2 -b8
42956-Sep 17 01:45:02 smoser0917x systemd[1]: Detected virtualization microsoft.
43031-Sep 17 01:45:02 smoser0917x systemd[1]: Detected architecture x86-64.
43101-Sep 17 01:45:02 smoser0917x systemd[1]: Set hostname to <smoser0917x>.
43172-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found ordering cycle on multi-user.target/start
43279-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on ephemeral-disk-warning.service/start
43395-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on cloud-final.service/start
43500-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Found dependency on multi-user.target/start
43603-Sep 17 01:45:02 smoser0917x systemd[1]: multi-user.target: Breaking ordering cycle by deleting job ephemeral-disk-warning.service/start
43739:Sep 17 01:45:02 smoser0917x systemd[1]: ephemeral-disk-warning.service: Job ephemeral-disk-warning.service/start deleted to break ordering cycle starting with multi-user.target/start
43922-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on udev Kernel Socket.
43995-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Encrypted Volumes.
44069-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Syslog Socket.
44137-Sep 17 01:45:02 smoser0917x systemd[1]: Started Forward Password Requests to Wall Directory Watch.
44236-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on Journal Socket.
44305-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on LVM2 poll daemon socket.
44383-Sep 17 01:45:02 smoser0917x systemd[1]: Reached target Swap.
44444-Sep 17 01:45:02 smoser0917x systemd[1]: Listening on fsck to fsckd communication Socket.
$ dpkg-query --show cloud-init walinuxagent
cloud-init 0.7.8-1-g3705bb5-0ubuntu1~16.04.1
walinuxagent 2.1.3-0ubuntu4.1
Related bugs:
* bug 1576692: fully support package installation in systemd
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: walinuxagent 2.1.3-0ubuntu4.1
ProcVersionSignature: User Name 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Sep 17 01:51:22 2016
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: walinuxagent
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2016-09-27 08:53:49 |
Martin Pitt |
walinuxagent (Ubuntu Xenial): status |
Confirmed |
Fix Committed |
|
2016-09-27 08:53:51 |
Martin Pitt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-09-27 08:53:53 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2016-09-28 19:09:12 |
Scott Moser |
tags |
amd64 apport-bug package-from-proposed uec-images xenial |
amd64 apport-bug package-from-proposed uec-images verification-done xenial |
|
2016-10-04 16:02:51 |
Launchpad Janitor |
walinuxagent (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2016-10-04 16:02:57 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|