Project

General

Profile

Bug #9570

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

Added by Partha Aji over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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:

Associated revisions

Revision 6789456c (diff)
Added by David Davis over 7 years ago

Fixes #9570 - Only set username/password/email if present

Revision 6789456c (diff)
Added by David Davis over 7 years ago

Fixes #9570 - Only set username/password/email if present

History

#1 Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 67
  • Pull request https://github.com/theforeman/foreman-docker/pull/90 added
  • Pull request deleted ()

#2 Updated by Eric Helms over 7 years ago

  • Project changed from Katello to Docker
  • Target version deleted (67)

#3 Updated by David Davis over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF