Bug #18502
closedCreating a docker compute resource with unix socket URL throws error
Description
400 Bad Request: malformed Host header
Description of problem:
With zstream automation failures, found below issue on creating a docker type CR, with unix socket URL:
400 Bad Request: malformed Host header
Here is the installed docker version:
~]# docker version
Client:
Version: 1.10.3
API version: 1.22
Package version: docker-common-1.10.3-46.el7.10.x86_64
Go version: go1.6.2
Git commit: 2a93377-unsupported
Built: Fri Jul 29 13:45:25 2016
OS/Arch: linux/amd64
Server:
Version: 1.10.3
API version: 1.22
Package version: docker-common-1.10.3-46.el7.10.x86_64
Go version: go1.6.2
Git commit: 2a93377-unsupported
Built: Fri Jul 29 13:45:25 2016
OS/Arch: linux/amd64
Version-Release number of selected component (if applicable):
sat6.2.1 snap2.1
How reproducible:
Steps to Reproduce:
1. install/confgure docker on satellite server
2. add a docker type compute resource with URL: unix:///var/run/docker.sock
3.
Actual results:
Unable to save
400 Bad Request: malformed Host header
Expected results:
docker type CR with unix socket URL should be created
Additional info:
Files
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-docker/pull/182 added
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman-docker|ae6e223e866147b69c7a5ab45f04c68e459a9711.