Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1905955

Summary: Retrieval of fibre channel LUNs failed
Product: [oVirt] cockpit-ovirt Reporter: Ilia Molchadsky <gofaizen>
Component: Hosted EngineAssignee: Aviv Turgeman <aturgema>
Status: CLOSED DUPLICATE QA Contact: Avihai <aefrat>
Severity: high Docs Contact:
Priority: unspecified    
Version: 0.14.15CC: arachman, bugs, cshao
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-09 12:14:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
This is screenshot of cockpit
none
Screeshot of cockpit with error
none
This is cockpit screenshot - Storage none

Description Ilia Molchadsky 2020-12-09 11:57:02 UTC
Created attachment 1737888 [details]
This is screenshot of cockpit

Created attachment 1737888 [details]
This is screenshot of cockpit

Description of problem:

When I am trying to deploy Hosted Engine on oVirt Node ovirt-node-ng-4.4.3-0.20201129.0+1 - Cockpit does not retrieve FC LUNs. But ansible playbook gets LUNs correctly.

Version-Release number of selected component (if applicable):

cockpit.x86_64 217-1.el8
cockpit-bridge.x86_64 217-1.el8
cockpit-dashboard.noarch 217-1.el8
cockpit-ovirt-dashboard.noarch 0.14.15-1.el8
cockpit-storaged.noarch 217-1.el8
cockpit-system.noarch 217-1.el8
cockpit-ws.x86_64 217-1.el8
ovirt-hosted-engine-ha.noarch 2.4.5-1.el8
ovirt-hosted-engine-setup.noarch 2.4.8-1.el8     

How reproducible:

Install oVirt Node 4.4.3 

Steps to Reproduce:
1. Install oVirt Node 4.4.3 ovirt-node-ng-4.4.3-0.20201129.0+1
2. Start deploy Hosted Engine in cockpit
3. Select Storage Type - Fibre Channel and try to select FC LUNs

Actual results:

Retrieval of fibre channel LUNs failed.

Expected results:

Retrieval of fibre channel LUNs successful

Additional info:

Logs :

This is part of ovirt-hosted-engine-setup-ansible-fc_getdevices-20201209150449-fyt2ik.log :

2020-12-09 15:05:03,198+0400 DEBUG var changed: host "localhost" var "otopi_fc_devices" type "<class 'dict'>" value: "{
    "changed": false,
    "failed": false,
    "ovirt_host_storages": [
        {
            "host": {
                "href": "/ovirt-engine/api/hosts/efbf4f48-5f30-45a1-a5ce-980154fc5e6c",
                "id": "efbf4f48-5f30-45a1-a5ce-980154fc5e6c"
            },
            "href": "/ovirt-engine/api/hosts/efbf4f48-5f30-45a1-a5ce-980154fc5e6c/storage/3600507604e3227ff5fbf1bf300000005",
            "id": "3600507604e3227ff5fbf1bf300000005",
            "logical_units": [
                {
                    "discard_max_size": 0,
                    "discard_zeroes_data": false,
                    "id": "3600507604e3227ff5fbf1bf300000005",
                    "lun_mapping": 10,
                    "paths": 1,
                    "product_id": "1820N00",
                    "serial": "SIBM_1820N00_0001",
                    "size": 161061273600,
                    "status": "free",
                    "vendor_id": "IBM"
                }
            ],
            "type": "fcp"
        }

Output of multipath -ll :

3600507604e3227ff5fbf1bf300000005 dm-0 IBM,1820N00
size=150G features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
`-+- policy='service-time 0' prio=50 status=active
  `- 0:0:0:10 sda 8:0  active ready running

Output of ll /dev/mapper :

total 0
lrwxrwxrwx. 1 root root       7 Dec  9 15:05 3600507604e3227ff5fbf1bf300000005 -> ../dm-0
crw-------. 1 root root 10, 236 Dec  9 13:47 control
lrwxrwxrwx. 1 root root       8 Dec  9 13:47 onn-home -> ../dm-12
lrwxrwxrwx. 1 root root       8 Dec  9 13:47 onn-ovirt--node--ng--4.4.3--0.20201110.0+1 -> ../dm-13
lrwxrwxrwx. 1 root root       7 Dec  9 13:47 onn-ovirt--node--ng--4.4.3--0.20201129.0+1 -> ../dm-4
lrwxrwxrwx. 1 root root       7 Dec  9 13:47 onn-pool00 -> ../dm-6
lrwxrwxrwx. 1 root root       7 Dec  9 13:47 onn-pool00-tpool -> ../dm-3
lrwxrwxrwx. 1 root root       7 Dec  9 13:47 onn-pool00_tdata -> ../dm-2
lrwxrwxrwx. 1 root root       7 Dec  9 13:47 onn-pool00_tmeta -> ../dm-1
lrwxrwxrwx. 1 root root       7 Dec  9 13:47 onn-swap -> ../dm-5
lrwxrwxrwx. 1 root root       8 Dec  9 13:47 onn-tmp -> ../dm-11
lrwxrwxrwx. 1 root root       8 Dec  9 13:47 onn-var -> ../dm-10
lrwxrwxrwx. 1 root root       7 Dec  9 13:47 onn-var_crash -> ../dm-9
lrwxrwxrwx. 1 root root       7 Dec  9 13:47 onn-var_log -> ../dm-8
lrwxrwxrwx. 1 root root       7 Dec  9 13:47 onn-var_log_audit -> ../dm-7


I have tried to install oVirt Node 4.3.9 and deploy Hosted Engine and this setup works perfectly.

Comment 1 Ilia Molchadsky 2020-12-09 12:04:35 UTC
Created attachment 1737890 [details]
Screeshot of cockpit with error

Comment 2 Ilia Molchadsky 2020-12-09 12:05:22 UTC
Comment on attachment 1737888 [details]
This is screenshot of cockpit

Sorry, this is wrong screenshot

Comment 3 Ilia Molchadsky 2020-12-09 12:08:40 UTC
Created attachment 1737891 [details]
This is cockpit screenshot - Storage

You can see IBM 1820N00 multipath device on this screenshot.

Comment 4 Aviv Turgeman 2020-12-09 12:14:24 UTC

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