Bug 1646788 - Run standalone deployment playbook with glusterfs_registry group and openshift_hosted_registry_storage_glusterfs_swap=true config failed
Summary: Run standalone deployment playbook with glusterfs_registry group and openshif...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.11.z
Assignee: Jose A. Rivera
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-06 02:33 UTC by Qin Ping
Modified: 2018-11-07 17:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-07 17:22:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Qin Ping 2018-11-06 02:33:16 UTC
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:

Comment 1 Scott Dodson 2018-11-06 16:04:35 UTC
It's my understanding that openshift_hosted_registry_storage_glusterfs_swap=true is not officially supported. But Jose will know for sure.

Comment 3 Jose A. Rivera 2018-11-07 17:22:49 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.