Project

General

Profile

Actions

Bug #18502

closed

Creating a docker compute resource with unix socket URL throws error

Added by Sebastian Gräßl over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Category:
Plugin (foreman_docker)
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

docker_CR.png View docker_CR.png 32.8 KB Sebastian Gräßl, 02/14/2017 10:46 AM
Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-docker/pull/182 added
Actions #2

Updated by Anonymous over 7 years ago

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

Updated by Daniel Lobato Garcia over 7 years ago

  • Target version set to 1.11.0
Actions

Also available in: Atom PDF