LVM iSCSI driver doesn't support 'use_chap_auth' config option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Undecided
|
Unassigned |
Bug Description
I was unable to disable CHAP authentication when using LVM+iSCSI as a cinder volume backend. Looking at cinder/
# Verify we haven't setup a CHAP creds file already
# if DNE no big deal, we'll just create it
chap_auth = self._get_
if not chap_auth:
I think it should honor the cinder configuration DEFAULT group option "use_chap_auth" defined here:
https:/
cfg.
The LVM driver needs a small tweak to accept a None value for 'auth' in the export_info dict in create_export()
I have attached a simple patch that checks the value of 'use_chap_auth' to be True before generating new CHAP auth credentials on an iSCSI volume
Changed in cinder: | |
assignee: | nobody → fanguiju (fanguiju) |
Changed in cinder: | |
assignee: | fanguiju (fanguiju) → nobody |
assignee: | nobody → fanguiju (fanguiju) |
status: | New → In Progress |
Changed in cinder: | |
status: | Incomplete → In Progress |
Changed in cinder: | |
assignee: | fanguiju (fanguiju) → nobody |
tags: | added: bugsmash |
I don't see a reason that we would want anyone to use the LVM driver with CHAP authentication disabled. Why do this?