2fcc678e94
NEC driver currently does not allow more than 4 iSCSI portals for a node. The driver passes portal IQNs from create_export() and create_export_snapshot() to initialize_connection() using provider_location. The length of provider_location is defined as varchar 256 in DB scheme. It may be insufficient to store more than 4 portal IQN strings. If more than 4 portals are available for a node, the driver selects 2 or 4 of them in multipath. The number of portals selected is configurable with nec_iscsi_portals_per_cont parameter. This patch removes the limit by avoiding using provider_location. It moves entire process in create_export() and create_export_snapshot() to initialize_connection() so that the driver can have IQNs of all available portals in initialize_connection() without passing them. This patch also deprecated nec_iscsi_portals_per_cont config option. The option is used to limit number of portals and is no longer needed. Change-Id: I325e32b834d41e0ed53a11b143e4617b12cdd769
12 lines
268 B
YAML
12 lines
268 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
NEC Driver: Added support of more than 4 iSCSI portals
|
|
for a node.
|
|
deprecations:
|
|
- |
|
|
NEC Driver: Deprecated ``nec_iscsi_portals_per_cont``
|
|
config option. The option was used to limit number of
|
|
portals and is no longer needed.
|
|
|