Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1212188

Summary: Unable to 'docker login' with 1.6.0-2.el7
Product: Red Hat Enterprise Linux 7 Reporter: Andy Goldstein <agoldste>
Component: dockerAssignee: Michal Minar <miminar>
Status: CLOSED ERRATA QA Contact: Luwen Su <lsu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: bleanhar, lsm5, sdodson
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: docker-1.6.0-3.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1212190 (view as bug list) Environment:
Last Closed: 2015-05-12 20:14:49 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1212190    

Description Andy Goldstein 2015-04-15 18:52:19 UTC
Description of problem: I'm unable to 'docker login' using 1.6.0-2.el7


Version-Release number of selected component (if applicable): docker-1.6.0-2.el7


How reproducible: 100%


Steps to Reproduce:
1. docker login -u <user> -p <pass> -e <email>

Actual results:
FATA[0001] Post http:///var/run/docker.sock/v1.18/auth: EOF. Are you trying to connect to a TLS-enabled daemon without TLS?


Expected results:
WARNING: login credentials saved in /home/vagrant/.dockercfg.
Login Succeeded


Additional info:

From journalctl:

time="2015-04-15T13:18:12-04:00" level=info msg="POST /v1.18/auth"
time="2015-04-15T13:18:12-04:00" level=info msg="+job auth()"
time="2015-04-15T13:18:12-04:00" level=info msg="-job auth()"
2015/04/15 13:18:12 http: panic serving @: runtime error: invalid memory address or nil pointer dereference
goroutine 2838 [running]:
net/http.func·011()
/usr/lib/golang/src/net/http/server.go:1130 +0xbb fp=0xc20810d4c8 sp=0xc20810d3e8
runtime.call16(0xc20810def0, 0xc209c32510, 0x0)
/usr/lib/golang/src/runtime/asm_amd64.s:401 +0x45 fp=0xc20810d4e0 sp=0xc20810d4c8
runtime.gopanic(0xb15060, 0xc20802a050)
/usr/lib/golang/src/runtime/panic.go:387 +0x3a8 fp=0xc20810d548 sp=0xc20810d4e0
runtime.panicmem()
/usr/lib/golang/src/runtime/panic.go:42 +0x4e fp=0xc20810d570 sp=0xc20810d548
runtime.sigpanic()
/usr/lib/golang/src/runtime/sigpanic_unix.go:26 +0x274 fp=0xc20810d5c0 sp=0xc20810d570
github.com/docker/docker/registry.NewEndpoint(0x0, 0xc1e1d0, 0x0, 0x0)
/builddir/build/BUILD/docker-b27feb4ff804f335c80861b17a4e2bfc29fbbf45/_build/src/github.com/docker/docker/registry/endpoint.go:47 +0x31 fp=0xc20810d620 sp=0xc20810d5c0
github.com/docker/docker/registry.(*Service).Auth(0xc20802e340, 0xc208d91900, 0x2)
/builddir/build/BUILD/docker-b27feb4ff804f335c80861b17a4e2bfc29fbbf45/_build/src/github.com/docker/docker/registry/service.go:64 +0x168 fp=0xc20810d730 sp=0xc20810d620
github.com/docker/docker/registry.*Service.Auth·fm(0xc208d91900, 0x7fac53e860a0)
/builddir/build/BUILD/docker-b27feb4ff804f335c80861b17a4e2bfc29fbbf45/_build/src/github.com/docker/docker/registry/service.go:33 +0x31 fp=0xc20810d750 sp=0xc20810d730
github.com/docker/docker/engine.(*Job).Run(0xc208d91900, 0x0, 0x0)
/builddir/build/BUILD/docker-b27feb4ff804f335c80861b17a4e2bfc29fbbf45/_build/src/github.com/docker/docker/engine/job.go:90 +0x936 fp=0xc20810d8a0 sp=0xc20810d750
github.com/docker/docker/api/server.postAuth(0xc2080e20d0, 0xc208984c27, 0x4, 0x7fac53ead348, 0xc208d917c0, 0xc20893e000, 0xc20933a6c0, 0x0, 0x0)
/builddir/build/BUILD/docker-b27feb4ff804f335c80861b17a4e2bfc29fbbf45/_build/src/github.com/docker/docker/api/server/server.go:189 +0x292 fp=0xc20810d9e0 sp=0xc20810d8a0

Comment 4 Michal Minar 2015-04-16 09:10:10 UTC
Thanks Andy for noticing and inspecting, it's exactly as you said. It's fixed in docker-1.6.0-3.el7.

I'm sorry for any problems.

Comment 9 errata-xmlrpc 2015-05-12 20:14:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0993.html