iscsi-cidr option only allows a single CIDR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Cinder Pure Storage Charm |
New
|
Undecided
|
Unassigned |
Bug Description
When using a purestorage with many target endpoints available due to existing production outside of Openstack, it is better to specify and restrict which subnets to use for target endpoints.
Delays of 2~3 minutes have been observed in customers environment where iscsiadm would try to connect to unreachable target endpoints for each action involving an access on a volume (attaching a volume to an instance, creating a volume based on a image, ...)
For this goal, we may want to use iscsi-cidr configuration option. However as it is right now, it is only possible to specify a single subnet/CIDR.
Looking at the charm's code : https:/
it seems the driver uses only the 'pure_iscsi_cidr' configuration option of Purestorage driver from Openstack.
However looking at the driver itself : https:/
there is an option called 'pure_iscsi_
The current workaround is only to configure a bigger subnet which may englobes all the wanted targets.
But if the allocated subnets are not contiguous, this may include unwanted targets addresses.