Undercloud installation fails with TASK of Container image prepare in environment under proxy

Solution In Progress - Updated -

Issue

  • Failure to obtain container image during container preparation process executed when installing undercloud.
  • "Error running container image prepare: check_hostname requires server_hostname" is displayed and fails during undercloud installation.
2022-10-23 23:20:06.830956 | 52540076-3487-4607-a2e7-0000000013f6 |       TASK | Container image prepare
2022-10-23 23:20:08.437900 | 52540076-3487-4607-a2e7-0000000013f6 |      FATAL | Container image prepare | undercloud-0 | error={"changed": false, "error": "check_hostname requires server_hostname", "msg": "Error running container image prepare: check_hostname requires server_hostname", "params": {}, "success": false}
  • Undercloud connects to the Internet via proxy, which is configured in /etc/environment as follows.
https_proxy=https://XXX.XXX.XXX.XXX:3128
http_proxy=http://XXX.XXX.XXX.XXX:3128

Environment

  • Red Hat OpenStack Platform 17.0
  • python3-urllib3 version 1.26 or higher

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content