Description of problem: Run standalone deployment playbook with glusterfs_registry group and openshift_hosted_registry_storage_glusterfs_swap=true config failed Version-Release number of the following components: openshift-ansible-3.11.38-1.git.0.d146f83.el7.noarch.rpm How reproducible: 100% Steps to Reproduce: 1. Deploy OCP cluster with three extra nodes(For deploy CNS later) # ansible-playbook -i hosts -vv /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml # ansible-playbook -i hosts -vv /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml 2. Once deploy succeed, modify the inventory file, prepare for running CNS standalone deployment playbook. # cat hosts ... [OSEv3:children] masters nodes etcd glusterfs_registry ... [OSEv3:vars] openshift_hosted_registry_storage_kind=glusterfs openshift_hosted_registry_storage_glusterfs_swap=true ... [nodes] [nodes] master-etcd-1.1105-e8q.qe.rhcloud.com node-registry-router-1.1105-e8q.qe.rhcloud.com node-1.1105-e8q.qe.rhcloud.com glusterfs-registry-node-1.1105-e8q.qe.rhcloud.com glusterfs-registry-node-2.1105-e8q.qe.rhcloud.com glusterfs-registry-node-3.1105-e8q.qe.rhcloud.com ... [glusterfs_registry] glusterfs-registry-node-1.1105-e8q.qe.rhcloud.com glusterfs_devices="['/dev/vsda']" glusterfs-registry-node-2.1105-e8q.qe.rhcloud.com glusterfs_devices="['/dev/vsda']" glusterfs-registry-node-3.1105-e8q.qe.rhcloud.com glusterfs_devices="['/dev/vsda']" ... 3. Execute standalone deployment playbook # ansible-playbook -i hosts -vv /usr/share/ansible/openshift-ansible/playbooks/openshift-glusterfs/registry.yml Actual results: # ansible-playbook -i hosts -vv /usr/share/ansible/openshift-ansible/playbooks/openshift-glusterfs/registry.yml ... TASK [openshift_hosted : Activate registry maintenance mode] ****************************************************************************************************************************************************** task path: /usr/share/ansible/openshift-ansible/roles/openshift_hosted/tasks/storage/glusterfs.yml:50 fatal: [master-etcd-1.1105-e8q.qe.rhcloud.com]: FAILED! => {"changed": false, "msg": "argument env_vars is of type <type 'list'> and we were unable to convert to dict: <type 'list'> cannot be converted to a dict"} Expected results: Should pass here Additional info:
It's my understanding that openshift_hosted_registry_storage_glusterfs_swap=true is not officially supported. But Jose will know for sure.
Confirmed, use of this variable is not supported at this time. All supported variables are covered explicitly either in the OpenShift documentation or the OCS documentation. Closing this as WONTFIX.