linstor-gateway icon indicating copy to clipboard operation
linstor-gateway copied to clipboard

How to set the network interface for drbd-reactor when adding iscsi

Open mxsavchenko opened this issue 2 years ago • 1 comments

By default, the network adapter is eth0, but i have iface ens160. How to add a variable correctly OCF_RESKEY_nic=ens160?

mxsavchenko avatar Aug 03 '23 13:08 mxsavchenko

This is currently not exposed via linstor-gateway. The "escape hatch" is to create a resource via linstor-gateway, and then use linstor file modify ... to edit the drbd-reactor configuration file. I realize that that is not a proper solution.

We may add a flag to pass arbitrary arguments through to the resource agent when creating a resource...

chrboe avatar Nov 02 '23 10:11 chrboe