← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1624596] Re: ephemeral-disk-warning.service causes ordering cycle on multi-user.target

 

This bug was fixed in the package walinuxagent - 2.1.5-0ubuntu3

---------------
walinuxagent (2.1.5-0ubuntu3) yakkety; urgency=medium

  * debian/ephemeral-disk-warning.service: add a description
  * debian/ephemeral-disk-warning.service: fix ordering cycle
    (LP: #1624596)
  * d/66-azure-storage.rules, d/install: fix dangling symlink in
    at /lib/udev/rules.d/66-azure-storage.rules.

 -- Scott Moser <smoser@xxxxxxxxxx>  Tue, 20 Sep 2016 13:50:44 -0400

** Changed in: walinuxagent (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1624596

Title:
  ephemeral-disk-warning.service causes ordering cycle on multi-
  user.target

Status in walinuxagent package in Ubuntu:
  Fix Released
Status in walinuxagent source package in Xenial:
  Confirmed

Bug 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1624596/+subscriptions