swarm-docker status dead

Bug #1658010 reported by ydemiral
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Committed
Undecided
Unassigned
Newton
Fix Committed
Undecided
Unassigned

Bug Description

ubuntu 16.04 openstack/newton
when swarm-docker cluster is created if docker service not running,

● docker.service - Docker Application Container Engine
   Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/docker.service.d
           └─flannel.conf
   Active: active (running) since Mon 2017-01-16 11:08:46 UTC; 2h 12min ago
     Docs: http://docs.docker.com
 Main PID: 1471 (docker)
    Tasks: 12 (limit: 512)
   Memory: 38.3M
      CPU: 9min 34.568s
   CGroup: /system.slice/docker.service
           └─1471 /usr/bin/docker daemon -H fd:// -H tcp://0.0.0.0:2375 --tlsverify --tlscacert=/etc/docker/ca.crt --tlskey=/etc/docker/server.key --tlscert=/etc/docker/server.crt --selinux-enabled --log-driver=journald --storage-driver devicemapper --storage-opt dm.fs=xf

Jan 16 12:55:58 sw-fo77jgq2q-0-wpxmcdn675hc-swarm-master-v2u6ioevi6gb.novalocal oci-register-machine[3076]: 2017/01/16 12:55:58 Register machine: prestart 3d1512610b1151697ba9a65277113908e76450c52c5ec7747f3abe309f86bb7b 3064 /var/lib/docker/devicemapper/mnt/8d3356c3981921
Jan 16 12:55:58 sw-fo77jgq2q-0-wpxmcdn675hc-swarm-master-v2u6ioevi6gb.novalocal oci-register-machine[3076]: 2017/01/16 12:55:58 Register machine failed: Failed to determine unit of process 3064 : No such device or address
Jan 16 12:55:59 sw-fo77jgq2q-0-wpxmcdn675hc-swarm-master-v2u6ioevi6gb.novalocal docker[1471]: time="2017-01-16T12:55:59.440288381Z" level=warning msg="signal: killed"
Jan 16 12:56:00 sw-fo77jgq2q-0-wpxmcdn675hc-swarm-master-v2u6ioevi6gb.novalocal oci-systemd-hook[3083]: systemdhook <debug>: Skipping as container command is /swarm, not init or systemd
Jan 16 12:56:00 sw-fo77jgq2q-0-wpxmcdn675hc-swarm-master-v2u6ioevi6gb.novalocal oci-register-machine[3084]: 2017/01/16 12:56:00 Register machine: poststop 3d1512610b1151697ba9a65277113908e76450c52c5ec7747f3abe309f86bb7b 0 /var/lib/docker/devicemapper/mnt/8d3356c398192121b
lines 1-18

*** the line "--exec-opt native.cgroupdriver=systemd \" should be added in "/etc/systemd/system/docker.service " file

[Unit]
Description=Docker Application Container Engine
Documentation=http://docs.docker.com
After=network.target docker.socket
Requires=docker.socket
Wants=docker-storage-setup.service

[Service]
TimeoutStartSec=300
Type=notify
EnvironmentFile=-/etc/sysconfig/docker
EnvironmentFile=-/etc/sysconfig/docker-storage
EnvironmentFile=-/etc/sysconfig/docker-network
Environment=GOTRACEBACK=crash
ExecStart=/usr/bin/docker daemon -H fd:// \
          -H tcp://0.0.0.0:2375 \
          --exec-opt native.cgroupdriver=systemd \
          --tlsverify \
          --tlscacert="/etc/docker/ca.crt" \
          --tlskey="/etc/docker/server.key" \
          --tlscert="/etc/docker/server.crt" \
          $OPTIONS \
          $DOCKER_STORAGE_OPTIONS \
          $DOCKER_NETWORK_OPTIONS \
          $INSECURE_REGISTRY
LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity
MountFlags=slave

[Install]
WantedBy=multi-user.target

description: updated
Revision history for this message
yatin (yatinkarel) wrote :

magnum master supports fedora-24(has some bug: https://bugzilla.redhat.com/show_bug.cgi?id=1320601) image with some changes in master:-
https://review.openstack.org/#/c/404789

The bug is only for magnum stable/newton and fedora-24 image.

We have to decide if we support fedora-24 in stable/newton then we have to fix this bug and the other bug: https://bugs.launchpad.net/magnum/+bug/1658049.

Revision history for this message
Spyros Trigazis (strigazi) wrote :

Newton is update to use fedora 25 we can close this.

https://review.openstack.org/#/c/464078/

Changed in magnum:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.