I'm installing Ceph using Ansible with ceph-ansible project, branch static-3.2. There is a problem with iSCSI Gateway installation.
If you are using iscsigws name in inventory file - it shows that This is available only for RHEL. (Still doesn't work Out of the Box on Centos7, since missing yum packages, but maybe this works better in newer branch of ceph-ansible). What is needed to make it work on Ubuntu?
I'm installing Ceph using Ansible with ceph-ansible project, branch static-3.2. There is a problem with iSCSI Gateway installation.
If you are using iscsigws name in inventory file - it shows that This is available only for RHEL. (Still doesn't work Out of the Box on Centos7, since missing yum packages, but maybe this works better in newer branch of ceph-ansible) I need to install this on Ubuntu, that is not so easy
At this point I've installed this manually. Maybe it will be usefull not only for me.
You need to have proper configuration files. You Can define name [iscsi-gws] and copy group_vars/iscsigws.yml to group_vars/iscsi-gws.yml
It will not install propely - but It will handle proper configuration for you. So it's still very usefull
Also you can just skip to manual installation, but there You need to remember that you will need /etc/ceph from other machines in stack copied, and iscsi-gws.cfg file created, even the simplest one from this manual:
http://docs.ceph.com/docs/master/rbd/iscsi-target-cli/
I know there's manual at http://docs.ceph.com/docs/master/rbd/iscsi-target-cli-manual-install/
But it doesn't work correctly, since tcmu-runner is only RHEL friendly.
Have a nice time :)
In Manual thay say, U need 4.16 kernel at least so that's why I'm updating - Maybe it's unneccessary