Bug 1398900 - rhel-push-plugin doesn't seem to work
Summary: rhel-push-plugin doesn't seem to work
Keywords:
Status: CLOSED DUPLICATE of bug 1398860
Alias: None
Product: Fedora
Classification: Fedora
Component: docker
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio Murdaca
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-27 07:07 UTC by Robin Powell
Modified: 2016-11-27 12:02 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-27 11:13:18 UTC
Type: Bug


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.