Project

General

Profile

Actions

Bug #9570

closed

Can't connect to docker compute resource (Docker::Error::AuthenticationError)

Added by Partha Aji about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1196777
Description of problem:

I think this might be due to some packages on RHEL6 or something. Not sure.

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

Nightly build. Here's the docker-related packages:

pulp-docker-plugins-0.2.2-1.el6.noarch
ruby193-rubygem-foreman_docker-1.2.0-1.fm1_8.el6.noarch
python-pulp-docker-common-0.2.2-1.el6.noarch
ruby193-rubygem-docker-api-1.17.0-1.el6.noarch
docker-io-1.4.1-3.el6.x86_64

How reproducible:

Always.

Steps to Reproduce:
1. Set up the nightly build on RHEL6 with these options in /etc/sysconfig/docker:

other_args='--selinux-enabled=true --host tcp://0.0.0.0:2375 --host unix:///var/run/docker.sock'
DOCKER_CERT_PATH=/etc/docker

2. Create a compute resource
3. Click on Test Connection

Actual results:

Docker::Error::AuthenticationError

Docker log:

ERRO0014 Handler for POST /auth returned error: Registration: "Missing username field"
ERRO0014 HTTP Error: statusCode=500 Registration: "Missing username field"

Expected results:

Success

Additional info:

Actions

Also available in: Atom PDF