Skip to content

"fatal: could not read Username for 'http://host:port': No such device or address" error for pipeline Publish Catalog Template step in Rancher v2.2 when Git URL contains a port

This document (000020222) is provided subject to the disclaimer at the end of this document.

Situation

Issue

If a pipeline is configured in Rancher v2.2 with a Publish Catalog Template step, in which the specified Git URL contains a port, the step will fail to execute with an error of the format fatal: could not read Username for 'http://host:port': No such device or address".

Pre-requisites

  • A cluster managed by Rancher v2.2
  • A pipeline configured with a Publish Catalog Template step, in which the Git URL contains a port

Resolution

A patch was developed for this issue, and is available in Rancher v2.3.0 and above.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.