When an iSCSI target is created with targetcli, it shows up before its TPG and default portal are created. Since target-isns registers a target as soon as it appears in configfs, the target is registered but some of its objects like TPGs or portals are not.
I think we should find a way to wait some time to get all inotify events before registering a new target.
When an iSCSI target is created with targetcli, it shows up before its TPG and default portal are created. Since target-isns registers a target as soon as it appears in configfs, the target is registered but some of its objects like TPGs or portals are not.
I think we should find a way to wait some time to get all inotify events before registering a new target.