Openshift 3.10 installation fails during variable sanity checks

Solution Verified - Updated -

Issue

  • Openshift 3.10 installation fails during variable sanity checks
  • When specifying htpasswd file in the inventory file, installation fails with below error:
TASK [Run variable sanity checks] ******************************************************************
fatal: [192.168.0.1 ]: FAILED! => {"failed": true, "msg": "last_checked_host: 192.168.0.1 , last_checked_var: openshift_master_manage_htpasswd;openshift_master_identity_providers contains a provider of kind==HTPasswdPasswordIdentityProvider and filename is set.  Please migrate your htpasswd files to /etc/origin/master/htpasswd and update your existing master configs, and remove the filename keybefore proceeding."}


 [WARNING]: Could not create retry file '/usr/share/ansible/openshift-
ansible/playbooks/prerequisites.retry'.         [Errno 13] Permission denied: u'/usr/share/ansible
/openshift-ansible/playbooks/prerequisites.retry'

PLAY RECAP *****************************************************************************************
192.168.0.1                : ok=36   changed=7    unreachable=0    failed=0   
192.168.0.2                : ok=35   changed=7    unreachable=0    failed=0   
192.168.0.3                : ok=35   changed=7    unreachable=0    failed=0   
192.168.0.4                : ok=40   changed=7    unreachable=0    failed=0   
localhost                  : ok=15   changed=0    unreachable=0    failed=0   
  • Below is the variable added in inventory file:
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]

Environment

Red Hat OpenShift Container Platform 3.10

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