ceph / ceph-iscsi-cli

NOTICE: moved to https://github.com/ceph/ceph-iscsi
GNU General Public License v3.0
25 stars 25 forks source link

gateway: fixed issues with ansible export #122

Closed dillaman closed 6 years ago

dillaman commented 6 years ago

Signed-off-by: Jason Dillaman dillaman@redhat.com

mikechristie commented 6 years ago

@dillaman Was this from your own testing or was there a bz/report?

Was just wondering if people are using this function a lot, because ceph-ansible installs gwcli now but I noticed this function does not export the gwcli related settings and had it way way way low on my todo to fix.

dillaman commented 6 years ago

@mikechristie It was tied to this BZ [1]. What do you mean by it doesn't export gwcli-related settings? It can export the "gateway.conf" if that's what you are talking about.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1498764

mikechristie commented 6 years ago

The gwcli "export ansible" command exports some /etc/ceph/iscsi-gateway.cfg variables like the keyring, cluster name, etc. It's missing the gwcli related variables like trusted_iplist and api*.