Bug 1395721

Summary: wrong docker.service file with docker version : docker-1.12.2-5.el7.x86_64
Product: Red Hat Enterprise Linux 7 Reporter: Elvir Kuric <ekuric>
Component: dockerAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: amurdaca, aos-bugs, jeder, jokerman, lsm5, mmccomas
Target Milestone: rcKeywords: Extras
Target Release: 7.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: aos-scalability-34
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-16 15:31:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Elvir Kuric 2016-11-16 14:13:05 UTC
Description of problem:

# rpm -qf docker.service
docker-1.12.2-5.el7.x86_64
root@bkr-hv02-guest12: /usr/lib/systemd/system # cat docker.service 
[Unit]
Description=Docker Application Container Engine
Documentation=http://docs.docker.com
After=network.target
Wants=docker-storage-setup.service
Requires=rhel-push-plugin.socket

[Service]
Type=notify
NotifyAccess=all
EnvironmentFile=-/etc/sysconfig/docker
EnvironmentFile=-/etc/sysconfig/docker
EnvironmentFile=-/etc/sysconfig/docker
Environment=GOTRACEBACK=crash
Environment=DOCKER_HTTP_HOST_COMPAT=1
Environment=PATH=/usr/libexec/docker:/usr/bin:/usr/sbin
ExecStart=/usr/bin/dockerd-current \
          --add-runtime docker-runc=/usr/libexec/docker/docker-runc \
          --default-runtime=docker-runc \
          --authorization-plugin=rhel-push-plugin \
          --exec-opt native.cgroupdriver=systemd \
          $OPTIONS \
          $DOCKER_STORAGE_OPTIONS \
          $DOCKER_NETWORK_OPTIONS \
          $ADD_REGISTRY \
          $BLOCK_REGISTRY \
          $INSECURE_REGISTRY
ExecReload=/bin/kill -s HUP $MAINPID
TasksMax=infinity
LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity
TimeoutStartSec=0
Restart=on-abnormal
MountFlags=slave


[Install]
WantedBy=multi-user.target





Version-Release number of selected component (if applicable):

docker-1.12.2-5.el7.x86_64 

How reproducible:

install docker-1.12.2-5.el7.x86_64

Steps to Reproduce:
See above 

Actual results:

it fails to read env variables for docker-storage and docker-network during docker start 


Expected results:

to read env variables for docker-storage and docker-network and apply these values 


Additional info:

Comment 1 Jeremy Eder 2016-11-16 15:31:50 UTC

*** This bug has been marked as a duplicate of bug 1388585 ***