Do you have the ansible backtrace from the "ceph-iscsi-gw : igw_lun | configure luns (create/map rbds and add to lio)]" step? Have you tried using the stock v4.16 kernel (no need to use the one on shaman)?
On Thu, Jun 28, 2018 at 11:29 AM Bernhard Dick <bernhard@xxxxxxxx> wrote:
Hi Jason,
Am 28.06.2018 um 14:33 schrieb Jason Dillaman:
> You should have "/var/log/ansible-module-igw_config.log" on the target
> machine that hopefully includes more information about why the RBD image
> is missing from the TCM backend.
I have the logfile, however there everything seems fine. The last lines are:
2018-06-28 17:25:36,876 igw_lun.py DEBUG : Check the rbd image size
matches the request
2018-06-28 17:25:36,904 igw_lun.py DEBUG : rbd image rbd.iscsi2342
size matches the configuration file request
2018-06-28 17:25:36,904 igw_lun.py DEBUG : Begin processing LIO mapping
2018-06-28 17:25:36,905 igw_lun.py INFO : (LUN.add_dev_to_lio)
Adding image 'rbd.iscsi2342' to LIO
2018-06-28 17:25:36,905 igw_lun.py DEBUG : control="max_data_area_mb=8"
Regards
Bernhard
> In the past, I've seen issues w/ image
> features and image size mismatch causing the process to abort
>
> On Thu, Jun 28, 2018 at 5:57 AM Bernhard Dick <bernhard@xxxxxxxx
> <mailto:bernhard@xxxxxxxx>> wrote:
>
> Hi,
>
> I'm trying to setup iSCSI using ceph-ansible (stable-3.1) branch with
> one iscsi gateway. The Host is a CentOS 7 host and I use the packages
> from the Centos Storage SIG for luminous. Additionally I have installed:
> ceph-iscsi-cli Version 2.7 Release 13.gb9e48a7.el7
> ceph-iscsi-config Version 2.6 Release 15.ge016c6f.el7
> from the iscsi project at shaman.ceph.com <http://shaman.ceph.com>.
> The python-rtslib version on the host is 2.1.fb67 Release 10.g7713d1e
> also from shaman. The running kernel version is
> 4.15.0-ceph-g1c778f43da52.
> The ansible process stops at TASK [ceph-iscsi-gw : igw_lun | configure
> luns (create/map rbds and add to lio)] complaining about file not found
> while caused by the self._enable function in tcm.py. That is due to the
> directory /sys/kernel/config/target/core/user_0/ is completely missing
> at this step.
> Do you have any ideas how to fix or debug this further?
>
> Regards
> Bernhard
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxxxxxx>
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
> --
> Jason
--
Dipl.-Inf. Bernhard Dick
Auf dem Anger 24
DE-46485 Wesel
www.BernhardDick.de
jabber: bernhard@xxxxxxxxxxxxxxx
Tel : +49.2812068620
Mobil : +49.1747607927
FAX : +49.2812068621
USt-IdNr.: DE274728845
Jason
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com