open-iscsi / tcmu-runner

A daemon that handles the userspace side of the LIO TCM-User backstore.
Apache License 2.0
189 stars 148 forks source link

Is there a guide to config HA ISCSI target for Ceph only with targetcli? #434

Open shadowlinyf opened 6 years ago

shadowlinyf commented 6 years ago

I am trying to using tcmu-runner on ubuntu. Currently I can't get ceph-iscsi-cli work , but targetcli-fb and rstlib-fb works fine. Is there a guide to use only targetcli to config cross nodes active-passive HA?

mikechristie commented 6 years ago

Is there a guide to use only targetcli to config cross nodes active-passive HA?

No.

If something does not work on ubuntu for the ceph-iscsi-* packages, just report it. I installed ubuntu the other day and I had started removing the Red Hat specifics like in this patch

https://github.com/ceph/ceph-iscsi-cli/pull/53

but I have not had time to finish the work.

mikechristie commented 6 years ago

If something does not work on ubuntu for the ceph-iscsi-* packages, just report it

Actually do not waste your time. I will try to get some time to fix that up.

shadowlinyf commented 6 years ago

@mikechristie Thank you. I am having this issue now.The ceph-iscsi package requires rpm related libs but ubuntu uses dpkg:<

gwcli /usr/local/lib/python2.7/dist-packages/rpm.py:15: UserWarning: The RPM Python bindings are not currently available via PyPI.

Please install them with your distro package manager (typically called 'python2-rpm' or 'python3-rpm'), and ensure that any virtual environments needing the API are configured to be able to see the system site packages directory.

warnings.warn(warning_msg) Unable to access the configuration object : REST API failure, code : 500 GatewayError: