Upgrade to Openshift 3.11 failing due to registries.conf format

Solution Verified - Updated -


Upgrade to 3.11 fails due to problematic formatting of /etc/containers/registries.conf file:

TASK [openshift_node : Create credentials for registry auth] 
fatal: [openshift.example.com]: FAILED! => {
    "attempts": 3, 
    "changed": false, 
    "invocation": {
        "module_args": {
            "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", 
            "path": "/var/lib/origin/.docker", 
            "proxy_vars": "  ", 
            "registry": "registry.redhat.io", 
            "test_image": "openshift3/ose", 
            "test_login": true, 
            "test_timeout": 20, 
            "tls_verify": true, 
            "username": "example"
    "msg": "time=\"2019-08-19T19:59:14-06:00\" level=fatal msg=\"error loading registries: Near line 9 (last key parsed ''): Bare keys cannot contain ':'.\" \n", 
    "state": "unknown"


  • Red Hat Openshift Container Platform (OCP)
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In