Bug 1398900

Summary: rhel-push-plugin doesn't seem to work
Product: [Fedora] Fedora Reporter: Robin Powell <rlpowell>
Component: dockerAssignee: Antonio Murdaca <amurdaca>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: adimania, admiller, amurdaca, dwalsh, ichavero, jcajka, jchaloup, lsm5, marianne, miminar, nalin, riek, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-27 11:13:18 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 Robin Powell 2016-11-27 07:07:55 UTC
With versions:

docker.x86_64                                                                       2:1.12.3-22.git7b5044b.fc26
docker-common.x86_64                                                                2:1.12.3-22.git7b5044b.fc26
docker-rhel-push-plugin.x86_64                                                      2:1.12.3-22.git7b5044b.fc26

We have:

Nov 26 22:56:45 vrici.digitalkingdom.org dockerd-current[11032]: time="2016-11-26T22:56:45.682711980-08:00" level=warning msg="Unable to locate plugin: rhel-push-plugin, retrying in 1s"
Nov 26 22:56:46 vrici.digitalkingdom.org dockerd-current[11032]: time="2016-11-26T22:56:46.683263572-08:00" level=warning msg="Unable to locate plugin: rhel-push-plugin, retr
ying in 2s"
Nov 26 22:56:46 vrici.digitalkingdom.org audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" e
xe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 26 22:56:48 vrici.digitalkingdom.org dockerd-current[11032]: time="2016-11-26T22:56:48.683857407-08:00" level=warning msg="Unable to locate plugin: rhel-push-plugin, retr
ying in 4s"
Nov 26 22:56:52 vrici.digitalkingdom.org dockerd-current[11032]: time="2016-11-26T22:56:52.684470282-08:00" level=warning msg="Unable to locate plugin: rhel-push-plugin, retr
ying in 8s"
Nov 26 22:57:00 vrici.digitalkingdom.org dockerd-current[11032]: time="2016-11-26T22:57:00.685048201-08:00" level=error msg="AuthZRequest for GET /v1.24/containers/json retur
ned error: plugin rhel-push-plugin failed with error: plugin not found"
Nov 26 22:57:00 vrici.digitalkingdom.org dockerd-current[11032]: time="2016-11-26T22:57:00.685155617-08:00" level=error msg="Handler for GET /v1.24/containers/json returned e
rror: plugin rhel-push-plugin failed with error: plugin not found"

And then docker hangs on all commands.

Fixed by removing:

--authorization-plugin=rhel-push-plugin

from /usr/lib/systemd/system/docker.serviced

Comment 1 Antonio Murdaca 2016-11-27 10:17:51 UTC
The plugin seems not started, thus Docker is unable to locate it. This is very like related to https://bugzilla.redhat.com/show_bug.cgi?id=1398860. 

I'll push a new Docker build for you to test within today.

Comment 2 Antonio Murdaca 2016-11-27 11:13:18 UTC

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

Comment 3 Antonio Murdaca 2016-11-27 11:45:56 UTC
Fixed by http://koji.fedoraproject.org/koji/buildinfo?buildID=820618

Note that there's currently a SELinux issue when starting docker https://bugzilla.redhat.com/show_bug.cgi?id=1398900

Comment 4 Daniel Walsh 2016-11-27 12:00:01 UTC
ANtonio I pushed an update to container-selinux to fix the labeling issue of rhel-push-plugin.

Comment 5 Antonio Murdaca 2016-11-27 12:02:08 UTC
Thanks Dan, I'll rebuild container-selinux with https://github.com/projectatomic/container-selinux/commit/9de00853d884e47bae70ea6bc8b87ce1b4a2bab2