Bug 1817835 - rhhi-v Deployment fails as duplicate entries are present while blacklisting
Summary: rhhi-v Deployment fails as duplicate entries are present while blacklisting
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-ansible
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHGS 3.5.z Batch Update 2
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1817829
TreeView+ depends on / blocked
 
Reported: 2020-03-27 04:43 UTC by SATHEESARAN
Modified: 2020-06-16 05:57 UTC (History)
6 users (show)

Fixed In Version: gluster-ansible-infra-1.0.4-7.el8rhgs
Doc Type: No Doc Update
Doc Text:
Clone Of: 1817829
Environment:
rhhiv, rhel8
Last Closed: 2020-06-16 05:57:30 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github gluster gluster-ansible-infra pull 89 0 None closed Creating single blacklist block for devices 2020-11-23 23:25:17 UTC
Red Hat Product Errata RHEA-2020:2575 0 None None None 2020-06-16 05:57:47 UTC

Description SATHEESARAN 2020-03-27 04:43:15 UTC
Description of problem:
rhhi-v Deployment fails as duplicate entries in  are present in /etc/multipath/conf.d/blacklist.conf
-----------------------------------
Version-Release number of selected component (if applicable):
[node.example.com ~]#  imgbase w
You are on rhvh-4.4.0.14-0.20200325.0+1

[node  ~]# rpm -qa | grep -i ansible 
gluster-ansible-repositories-1.0.1-2.el8rhgs.noarch
gluster-ansible-features-1.0.5-6.el8rhgs.noarch
ovirt-ansible-engine-setup-1.2.2-1.el8ev.noarch
gluster-ansible-infra-1.0.4-6.el8rhgs.noarch
ovirt-ansible-hosted-engine-setup-1.1.0-1.el8ev.noarch
gluster-ansible-maintenance-1.0.1-2.el8rhgs.noarch
gluster-ansible-cluster-1.0-1.el8rhgs.noarch
ansible-2.9.6-1.el8ae.noarch
gluster-ansible-roles-1.0.5-7.el8rhgs.noarch
-----------------------------------------
How reproducible:
Always
---------------------------------------
Steps to Reproduce:
 1.Start the RHHI-V deployment
------------------------------------------
Actual results:
 Deployment fails while blacklisting multipath
-----------------------------------------
Expected results:
Deployment should succeed

--- Additional comment from RHEL Program Management on 2020-03-27 03:50:22 UTC ---

This bug is automatically being proposed for RHHI-V 1.8 release at Red Hat Hyperconverged Infrastructure for Virtualization product, by setting the release flag 'rhiv‑1.8' to '?'.

If this bug should be proposed for a different release, please manually change the proposed release flag.

--- Additional comment from milind on 2020-03-27 03:51:16 UTC ---



--- Additional comment from milind on 2020-03-27 04:04:41 UTC ---

failed: [rhsqa-grafton1.lab.eng.blr.redhat.com] (item=sdc) => {
    "ansible_loop_var": "item",
    "changed": true,
    "cmd": "multipath -a /dev/sdc",
    "delta": "0:00:00.007160",
    "end": "2020-03-27 03:56:11.661918",
    "invocation": {
        "module_args": {
            "_raw_params": "multipath -a /dev/sdc",
            "_uses_shell": true,
            "argv": null,
            "chdir": null,
            "creates": null,
            "executable": null,
            "removes": null,
            "stdin": null,
            "stdin_add_newline": true,
            "strip_empty_ends": true,
            "warn": true
        }
    },
    "item": "sdc",
    "msg": "non-zero return code",
    "rc": 1,
    "start": "2020-03-27 03:56:11.654758",
    "stderr": "Mar 27 03:56:11 | /etc/multipath/conf.d/blacklist.conf line 8, duplicate keyword: blacklist",
    "stderr_lines": [
        "Mar 27 03:56:11 | /etc/multipath/conf.d/blacklist.conf line 8, duplicate keyword: blacklist"
    ],
    "stdout": "",
    "stdout_lines": []
}



[node.example.com]# cat /etc/multipath/conf.d/blacklist.conf

# BEGIN device 3600304801ba1fc012413b1b50afc2beb will be blacklisted
blacklist {
   wwid "3600304801ba1fc012413b1b50afc2beb"
}
# END device 3600304801ba1fc012413b1b50afc2beb will be blacklisted
# BEGIN device 3600304801ba1fc012413b1e00d93e85e will be blacklisted
blacklist {
   wwid "3600304801ba1fc012413b1e00d93e85e"
}
# END device 3600304801ba1fc012413b1e00d93e85e will be blacklisted

--- Additional comment from SATHEESARAN on 2020-03-27 04:39:35 UTC ---

This issue is seen with cockpit-ovirt-dashboard-0.14.3-1

Comment 5 SATHEESARAN 2020-04-14 09:42:53 UTC
Tested with gluster-ansible-infra-1.0.4-7.
There are no duplicate 'blacklist' found in /etc/multipath/conf.d/blacklist.conf file.

/etc/multipath/conf.d/blacklist.conf contains the list of devices blacklisted

[root@ ]# cat /etc/multipath/conf.d/blacklist.conf 
# BEGIN ANSIBLE MANAGED BLOCK
blacklist {
wwid "3600304801a48610125f9a673200c4920"
wwid "3600304801a48610125f9a60819a7d829"
wwid "3600304801a48610125f9a5d816c93dc7"
wwid "3600304801a48610125f9a58f127cd174"
}
# END ANSIBLE MANAGED BLOCK

Comment 7 errata-xmlrpc 2020-06-16 05:57:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:2575


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