OpenShift Container Platform prerequisites playbook fails on RHEL Atomic Host 7.6.4.1

Solution Verified - Updated -

Issue

  • Prerequisites playbook (task Create credentials for oreg_url) not working with RHEL Atomic Host 7.6.4.1
  • Running prerequisites playbook with RHEL Atomic Host 7.6.4.1 caused playbook to fails with below error. When using RHEL Atomic Host 7.6.3 instead, everything is working.
FAILED - RETRYING: Create credentials for oreg_url (1 retries left).Result was: {
    "attempts": 3,
    "changed": false,
    "invocation": {
        "module_args": {
            "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "path": "/root/.docker",
            "proxy_vars": "HTTP_PROXY=http://proxy.example.com:8080 HTTPS_PROXY=http://proxy.example.com:8080 NO_PROXY=.cluster.local,.example.com,10.0.0.0/8",
            "registry": "registry.redhat.io",
            "test_image": "openshift3/ose",
            "test_login": true,
            "test_timeout": 20,
            "tls_verify": true,
            "username": "1234567|foobar"
        }
    },
    "msg": "time=\"2019-05-23T09:01:08Z\" level=fatal msg=\"error loading registries: Near line 11 (last key parsed ''): Bare keys cannot contain ':'.\" \n",
    "retries": 4,
    "state": "unknown"
}

Environment

  • Red Hat OpenShift Container Platform
    • 3.x

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