Bug 1547843 - [CNS] Installation failed during ensure device mapper modules loaded
Summary: [CNS] Installation failed during ensure device mapper modules loaded
Keywords:
Status: CLOSED DUPLICATE of bug 1547229
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.9.0
Assignee: Scott Dodson
QA Contact: Wenkai Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-22 05:14 UTC by Wenkai Shi
Modified: 2018-02-22 14:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-22 14:30:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wenkai Shi 2018-02-22 05:14:09 UTC
Description of problem:
Installer failed in TASK [openshift_storage_glusterfs : Ensure device mapper modules loaded].

Version-Release number of the following components:
openshift-ansible-3.9.0-0.47.0.git.0.f8847bb.el7
ansible-2.4.3.0-1.el7ae.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install OCP with CNS deploy
2.
3.

Actual results:
# ansible-playbook -i hosts -v /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml
...
TASK [openshift_storage_glusterfs : Ensure device mapper modules loaded] *******
Thursday 22 February 2018  04:27:18 +0000 (0:00:01.168)       0:12:59.382 ***** 
fatal: [qe-weshi-cns-master-etcd-1.0222-tir.qe.rhcloud.com]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: Unable to look up a name or access an attribute in template string (#{{ ansible_managed }}\ndm_thin_pool\ndm_multipath\ntarget_core_user\n{% if inventory_hostname in groups.glusterfs or inventory_hostname in groups.glusterfs_registry %}\ndm_snapshot\ndm_mirror\n{% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable"}
fatal: [qe-weshi-cns-node-registry-router-1.0222-tir.qe.rhcloud.com]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: Unable to look up a name or access an attribute in template string (#{{ ansible_managed }}\ndm_thin_pool\ndm_multipath\ntarget_core_user\n{% if inventory_hostname in groups.glusterfs or inventory_hostname in groups.glusterfs_registry %}\ndm_snapshot\ndm_mirror\n{% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable"}
fatal: [qe-weshi-cns-glusterfs-registry-node-2.0222-tir.qe.rhcloud.com]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: Unable to look up a name or access an attribute in template string (#{{ ansible_managed }}\ndm_thin_pool\ndm_multipath\ntarget_core_user\n{% if inventory_hostname in groups.glusterfs or inventory_hostname in groups.glusterfs_registry %}\ndm_snapshot\ndm_mirror\n{% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable"}
fatal: [qe-weshi-cns-glusterfs-registry-node-3.0222-tir.qe.rhcloud.com]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: Unable to look up a name or access an attribute in template string (#{{ ansible_managed }}\ndm_thin_pool\ndm_multipath\ntarget_core_user\n{% if inventory_hostname in groups.glusterfs or inventory_hostname in groups.glusterfs_registry %}\ndm_snapshot\ndm_mirror\n{% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable"}
...

Expected results:
Should be good here.

Additional info:

Comment 1 Wenkai Shi 2018-02-22 05:15:29 UTC
This block CNS testing

Comment 2 Scott Dodson 2018-02-22 14:30:53 UTC

*** This bug has been marked as a duplicate of bug 1547229 ***


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