Activity log for bug #1588477

Date Who What changed Old value New value Message
2016-06-02 18:03:17 Anthony Howe bug added bug
2016-06-02 18:04:26 Anthony Howe description regression-update for 1575572. After 1575572 was checked in we observed. We have been able to repro the issue and can observe that dpkg seems to start docker on “16.04.201605310 Daily”, but not “16.04.201605280 Daily”. The problem seems to be that in 16.04.201605310.Daily after “dcos-docker-install.service” runs “Job for docker.service” can be seen trying to start docker. On 16.04.0-LTS, it does not try to start docker while running “dcos-docker-install.service”. Why is the binary being started now and not before? Below are the Contents of the cloud-init, with the 3 docker installation files that fail: Contents of Cloud-Init, show relationship between Systemd files #cloud-config write_files: - path: /etc/systemd/system/dcos-docker-install.service permissions: "0644" content: | [Unit] After=network-online.target Wants=network-online.target [Service] Type=oneshot Environment=DEBIAN_FRONTEND=noninteractive StandardOutput=journal+console StandardError=journal+console ExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.0-0~xenial_amd64.deb ExecStart=/usr/bin/bash -c "try=1;until dpkg -D3 -i /tmp/d.deb || ((try > 5));do echo retry $((try++));sleep 120;done;systemctl --now start docker" - path: /etc/systemd/system/docker.service.d/execstart.conf permissions: "0644" content: | [Service] Restart=always StartLimitInterval=0 RestartqSec=15 ExecStart= ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay - path: /etc/systemd/system/docker.socket permissions: "0644" content: | [Unit] PartOf=docker.service [Socket] ListenStream=/var/run/docker.sock SocketMode=0660 SocketUser=root SocketGroup=docker ListenStream=2375 BindIPv6Only=both [Install] WantedBy=sockets.target runcmd: - [ ln, -s, /bin/rm, /usr/bin/rm ] - [ ln, -s, /bin/mkdir, /usr/bin/mkdir ] - [ ln, -s, /bin/tar, /usr/bin/tar ] - [ ln, -s, /bin/ln, /usr/bin/ln ] - [ ln, -s, /bin/cp, /usr/bin/cp ] - [ ln, -s, /bin/systemctl, /usr/bin/systemctl ] - [ ln, -s, /bin/mount, /usr/bin/mount ] - [ ln, -s, /bin/bash, /usr/bin/bash ] - [ systemctl, stop, resolvconf.service ] - [ systemctl, disable, resolvconf.service ] - [ systemctl, stop, lxc-net.service ] - [ systemctl, disable, lxc-net.service ] - [ systemctl, mask, lxc-net.service ] - [ systemctl, start, dcos-docker-install.service ] regression-update for 1575572. After the time 1575572 was checked in we observed a behavior change in the systemd init. We have been able to repro the issue and can observe that dpkg seems to start docker on “16.04.201605310 Daily”, but not “16.04.201605280 Daily”. The problem seems to be that in 16.04.201605310.Daily after “dcos-docker-install.service” runs “Job for docker.service” can be seen trying to start docker. On 16.04.0-LTS, it does not try to start docker while running “dcos-docker-install.service”. Why is the binary being started now and not before? Below are the Contents of the cloud-init, with the 3 docker installation files that fail: Contents of Cloud-Init, show relationship between Systemd files #cloud-config write_files: - path: /etc/systemd/system/dcos-docker-install.service   permissions: "0644"   content: |     [Unit]     After=network-online.target     Wants=network-online.target     [Service]     Type=oneshot     Environment=DEBIAN_FRONTEND=noninteractive     StandardOutput=journal+console     StandardError=journal+console     ExecStartPre=/usr/bin/curl -fLsSv --retry 20 -Y 100000 -y 60 -o /tmp/d.deb https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.0-0~xenial_amd64.deb     ExecStart=/usr/bin/bash -c "try=1;until dpkg -D3 -i /tmp/d.deb || ((try > 5));do echo retry $((try++));sleep 120;done;systemctl --now start docker" - path: /etc/systemd/system/docker.service.d/execstart.conf   permissions: "0644"   content: |     [Service]     Restart=always     StartLimitInterval=0     RestartqSec=15     ExecStart=     ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay - path: /etc/systemd/system/docker.socket   permissions: "0644"   content: |     [Unit]     PartOf=docker.service     [Socket]     ListenStream=/var/run/docker.sock     SocketMode=0660     SocketUser=root     SocketGroup=docker     ListenStream=2375     BindIPv6Only=both     [Install]     WantedBy=sockets.target runcmd: - [ ln, -s, /bin/rm, /usr/bin/rm ] - [ ln, -s, /bin/mkdir, /usr/bin/mkdir ] - [ ln, -s, /bin/tar, /usr/bin/tar ] - [ ln, -s, /bin/ln, /usr/bin/ln ] - [ ln, -s, /bin/cp, /usr/bin/cp ] - [ ln, -s, /bin/systemctl, /usr/bin/systemctl ] - [ ln, -s, /bin/mount, /usr/bin/mount ] - [ ln, -s, /bin/bash, /usr/bin/bash ] - [ systemctl, stop, resolvconf.service ] - [ systemctl, disable, resolvconf.service ] - [ systemctl, stop, lxc-net.service ] - [ systemctl, disable, lxc-net.service ] - [ systemctl, mask, lxc-net.service ] - [ systemctl, start, dcos-docker-install.service ]
2016-06-02 19:30:56 Steve Langasek init-system-helpers (Ubuntu): assignee Martin Pitt (pitti)
2016-06-02 19:31:01 Steve Langasek init-system-helpers (Ubuntu): importance Undecided Critical
2016-06-02 19:31:08 Steve Langasek nominated for series Ubuntu Xenial
2016-06-02 19:31:08 Steve Langasek bug task added init-system-helpers (Ubuntu Xenial)
2016-06-02 19:31:18 Steve Langasek init-system-helpers (Ubuntu Xenial): assignee Martin Pitt (pitti)
2016-06-02 19:31:20 Steve Langasek init-system-helpers (Ubuntu Xenial): importance Undecided Critical
2016-06-02 19:55:03 Martin Pitt init-system-helpers (Ubuntu): status New Incomplete
2016-06-02 19:55:05 Martin Pitt init-system-helpers (Ubuntu Xenial): status New Incomplete
2016-06-02 20:59:27 Robie Basak bug added subscriber Robie Basak
2016-07-14 10:05:16 Martin Pitt tags 1575572 regression-update 1575572
2016-07-14 10:05:28 Martin Pitt init-system-helpers (Ubuntu): status Incomplete Invalid
2016-07-14 10:05:30 Martin Pitt init-system-helpers (Ubuntu Xenial): status Incomplete Invalid
2016-07-14 10:05:32 Martin Pitt init-system-helpers (Ubuntu): assignee Martin Pitt (pitti)
2016-07-14 10:05:34 Martin Pitt init-system-helpers (Ubuntu Xenial): assignee Martin Pitt (pitti)