Hi, Isn't this the same issue reported in https://tracker.ceph.com/issues/45252 which was fixed on v15.2.5? Which ceph version are you using? Ricardo Marques ________________________________ From: Sebastian Wagner <swagner@xxxxxxxx> Sent: Friday, September 4, 2020 4:51 PM To: Robert Sander <r.sander@xxxxxxxxxxxxxxxxxxx>; ceph-users@xxxxxxx <ceph-users@xxxxxxx> Subject: Re: cephadm & iSCSI Thanks! do you want to create a bug for that? https://tracker.ceph.com/projects/orchestrator/issues/new Am 04.09.20 um 15:25 schrieb Robert Sander: > Hi, > > yes, I have read https://docs.ceph.com/docs/octopus/cephadm/stability/ > and know that the iSCSI support is still under development. > > But why is the command "ceph orch apply iscsi" available > when cephadmin is the orchestrator backend? > > I am at the stage that I successfully rolled out an iSCSI gateway > which is visible in the Ceph dashboard. > > But when trying to setup a target an error occurs: > > Sep 04 15:15:58 ceph02 rbd-target-api[124040]: Unable to create the Target definition - Could not load module: iscsi_target_mod > Sep 04 15:15:58 ceph02 rbd-target-api[124040]: Unhandled Exception > Traceback (most recent call last): > File "/usr/lib/python3.6/site-packages/rtslib_fb/node.py", line 71, in _create_in_cfs_ine > os.mkdir(self.path) > FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/config/target/iscsi' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/usr/lib/python3.6/site-packages/rtslib_fb/fabric.py", line 156, in _check_self > self._create_in_cfs_ine('any') > File "/usr/lib/python3.6/site-packages/rtslib_fb/node.py", line 74, in _create_in_cfs_ine > % self.__class__.__name__) > rtslib_fb.utils.RTSLibError: Could not create ISCSIFabricModule in configFS > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/usr/lib/python3.6/site-packages/rtslib_fb/utils.py", line 432, in modprobe > kmod.Kmod().modprobe(module) > File "kmod/kmod.pyx", line 106, in kmod.kmod.Kmod.modprobe > File "kmod/kmod.pyx", line 82, in lookup > kmod.error.KmodError: Could not modprobe > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/usr/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request > rv = self.dispatch_request() > File "/usr/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request > return self.view_functions[rule.endpoint](**req.view_args) > File "/usr/bin/rbd-target-api", line 106, in decorated > return f(*args, **kwargs) > File "/usr/bin/rbd-target-api", line 304, in target > target.manage('init') > File "/usr/lib/python3.6/site-packages/ceph_iscsi_config/target.py", line 710, in manage > 'mutual_password_encryption_enabled']) > File "/usr/lib/python3.6/site-packages/ceph_iscsi_config/discovery.py", line 14, in set_discovery_auth_lio > iscsi_fabric.clear_discovery_auth_settings() > File "/usr/lib/python3.6/site-packages/rtslib_fb/fabric.py", line 224, in clear_discovery_auth_settings > self._check_self() > File "/usr/lib/python3.6/site-packages/rtslib_fb/fabric.py", line 158, in _check_self > modprobe(self.kernel_module) > File "/usr/lib/python3.6/site-packages/rtslib_fb/utils.py", line 434, in modprobe > raise RTSLibError("Could not load module: %s" % module) > rtslib_fb.utils.RTSLibError: Could not load module: iscsi_target_mod > > Solution: > > "modprobe iscsi_target_mod" on the host itself, > the container is not allowed to do that. > > Regards > > > _______________________________________________ > ceph-users mailing list -- ceph-users@xxxxxxx > To unsubscribe send an email to ceph-users-leave@xxxxxxx > -- SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg). Geschäftsführer: Felix Imendörffer _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx