[ovirt-users] Re: Deploy Hosted Engine with PowerFlex (formerly ScaleIO) storage

2021-11-04 Thread Kevin Jones
Hi

Many thanks for your response and the suggestion. I think my memory may be 
playing tricks with me, I definitely deployed a few 4.3 systems with self 
hosted engines and I have one 4.4 environment with a self hosted engine but I 
cannot remember how long ago it was deployed, the other 4.4 deployments may 
well have had the engine residing on a dedicated host or VM - too many 
deployments to remember them all clearly :-)

Anyway, I did manage to fix (work around?) the problem, almost before you send 
your response. I worked out that the productID and vendorID are merely used for 
reporting the details of the discovered FC LUN, by removing any reference to 
them in 
/usr/share/ovirt-hosted-engine-setup/plugins/gr-he-ansiblesetup/core/storage_domain.py
 the deployment completed successfully.

As far as I know, the reporting from the storage has not changed, running 
multipath -v2 -l never showed a vendorID or productID (assuming it is the 
multipath command that is used to gather this info).

Thanks for the help!! I will be back I am sure. If anyone has questions on 
PowerFlex/ScaleIO, don't be afraid to ask, it works a treat with 
oVirt/RHV/Oracle Linux KVM :-)
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VD3N3C7MNADOI2ATCA5DPGHLI7CLRD3O/


[ovirt-users] Re: Deploy Hosted Engine with PowerFlex (formerly ScaleIO) storage

2021-11-03 Thread Yedidyah Bar David
On Thu, Nov 4, 2021 at 6:32 AM  wrote:
>
> Hi
>
> This is the first time I have posted a question on here.

Welcome :-).

> I am attempting to deploy a Self Hosted Engine with RHV 4.4.8, RHEL 8.4 using 
> a PowerFlex (ScaleIO) volume. I have done this several times in the past with 
> oVirt 4.3.x and 4.4.? but for some reason on this occasion I am hitting a 
> problem. I think I might know what it is but I don't know how to fix it. The 
> deployment appears to go fine up until the point where the question is asked 
> about which storage device I want the HE copied to, I select Fibre Channel 
> but unfortunately this fails and does not find any suitable devices - I know 
> that PowerFlex is not technically FC but the devices are recognised by 
> multipathd and have always worked previously (I was instrumental in getting 
> the udev rules changed in the PowerFlex 3.6 version to ensure the devices 
> could be recognised by multipathd, whereas previously it had required a udev 
> rules edit).
>
> The device I am trying to use is this:
> # multipath -v2 -l
> 1abc8aad74a6630f-c4c045df dm-2 ##,##
> size=120G features='1 queue_if_no_path' hwhandler='0' wp=rw
> `-+- policy='service-time 0' prio=0 status=active
>   `- #:#:#:# scinia 252:0 active undef running
>
> I can see in the log that the device is being partially discovered but it 
> seems that a 'vendor_id' is wanted and this is something that udev does not 
> report for a PowerFlex device.
>
> 2021-11-02 07:07:10,057+ INFO 
> otopi.ovirt_hosted_engine_setup.ansible_utils 
> ansible_utils._process_output:112 TASK [ovirt.ovirt.hosted_engine_setup : Get 
> Fibre Channel LUNs]
> 2021-11-02 07:07:10,960+ INFO 
> otopi.ovirt_hosted_engine_setup.ansible_utils 
> ansible_utils._process_output:112 ok: [localhost]
> 2021-11-02 07:07:11,261+ DEBUG 
> otopi.ovirt_hosted_engine_setup.ansible_utils 
> ansible_utils._process_output:106 PLAY RECAP [localhost] : ok: 5 changed: 0 
> unreachable: 0 skipped: 0 failed: 0
> 2021-11-02 07:07:11,362+ DEBUG 
> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:223 
> ansible-playbook rc: 0
> 2021-11-02 07:07:11,362+ DEBUG 
> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:230 
> ansible-playbook stdout:
> 2021-11-02 07:07:11,362+ DEBUG 
> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:233 
> ansible-playbook stderr:
> 2021-11-02 07:07:11,362+ DEBUG 
> otopi.plugins.gr_he_ansiblesetup.core.storage_domain 
> storage_domain._query_fc_lunid:379 {'otopi_fc_devices': {'changed': False, 
> 'ovirt_host_storages': [{'href': 
> '/ovirt-engine/api/hosts/80308d4a-ef91-40fd-8ee
> e-60c8314b7e13/storage/19eadf533875920f-46da4fac', 'id': 
> '19eadf533875920f-46da4fac', 'host': {'href': 
> '/ovirt-engine/api/hosts/80308d4a-ef91-40fd-8eee-60c8314b7e13', 'id': 
> '80308d4a-ef91-40fd-8eee-60c8314b7e13'}, 'logical_unit
> s': [{'discard_max_size': 1048576, 'discard_zeroes_data': False, 'id': 
> '19eadf533875920f-46da4fac', 'lun_mapping': 0, 'paths': 1, 'size': 
> 111669149696, 'status': 'free'}], 'type': 'fcp'}], 'invocation': 
> {'module_args': {'host': 'pfxhci
> 14.hci.spoc', 'fcp': {'lun_id': -1}, 'fetch_nested': False, 
> 'nested_attributes': [], 'follows': [], 'iscsi': None}}, '_ansible_no_log': 
> False}, 'ansible-playbook_rc': 0}
> 2021-11-02 07:07:11,362+ DEBUG 
> otopi.plugins.gr_he_ansiblesetup.core.storage_domain 
> storage_domain._select_lun:398 [{'href': 
> '/ovirt-engine/api/hosts/80308d4a-ef91-40fd-8eee-60c8314b7e13/storage/19eadf533875920f-46da4fac',
>  'id': '1
> 9eadf533875920f-46da4fac', 'host': {'href': 
> '/ovirt-engine/api/hosts/80308d4a-ef91-40fd-8eee-60c8314b7e13', 'id': 
> '80308d4a-ef91-40fd-8eee-60c8314b7e13'}, 'logical_units': 
> [{'discard_max_size': 1048576, 'discard_zeroes_data': False, 'i
> d': '19eadf533875920f-46da4fac', 'lun_mapping': 0, 'paths': 1, 
> 'size': 111669149696, 'status': 'free'}], 'type': 'fcp'}]
> 2021-11-02 07:07:11,362+ DEBUG 
> otopi.plugins.gr_he_ansiblesetup.core.storage_domain 
> storage_domain._select_lun:407 [{'href': 
> '/ovirt-engine/api/hosts/80308d4a-ef91-40fd-8eee-60c8314b7e13/storage/19eadf533875920f-46da4fac',
>  'id': '1
> 9eadf533875920f-46da4fac', 'host': {'href': 
> '/ovirt-engine/api/hosts/80308d4a-ef91-40fd-8eee-60c8314b7e13', 'id': 
> '80308d4a-ef91-40fd-8eee-60c8314b7e13'}, 'logical_units': 
> [{'discard_max_size': 1048576, 'discard_zeroes_data': False, 'i
> d': '19eadf533875920f-46da4fac', 'lun_mapping': 0, 'paths': 1, 
> 'size': 111669149696, 'status': 'free'}], 'type': 'fcp'}]
> 2021-11-02 07:07:11,362+ DEBUG otopi.context context._executeMethod:145 
> method exception
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in 
> _executeMethod
> method['method']()
>   File 
> "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/stora