Comment 2 for bug 1536248

Revision history for this message
Mitsuhiro Tanino (mitsuhiro-tanino) wrote :

From my investigation, cinder-rtstool has a bug which the tool can not set user name and password which are passed from command-line.

When we restart cinder service, ensure_export() recreate iSCSI target using original user ID and Password which are stored in the DB. In this case, I confirmed that ensure_export() properly passed original user ID and Password to create_iscsi_target() in lio.py, but the created iSCSI target doesn't have ACL anymore.

After recreating iSCSI target, this configuration is saved to /etc/targetcli/saveconfig.json, therefore, this configuration doesn't have ACL information.

I will try to debug cinder-rtstool.