Hi Team,

We run Apache CloudStack 4.22.1.1 on KVM with HPE storage that speaks the 
in-tree Primera WSAPI (Alletra Storage MP / Primera / 3PAR / Alletra 9000. Not 
Nimble OS). The array is presented over iSCSI, not Fibre Channel.

Pool create, VV lifecycle, and volume snapshots work with Provider = Primera. 
Attach on the hypervisor does not: stock 
scripts/storage/multipath/connectVolume.sh waits on /sys/class/fc_host, which 
is empty on an iSCSI-only host, so the LUN never shows up. The shared target 
IQN also must not be logged out when one volume detaches (many VLUNs on one 
session).

We published a small overlay for 4.22.1.1 (Apache 2.0, derived from the in-tree 
scripts and Primera adapter):

https://github.com/dahampere/cloudstack-primera_alletraMP-iscsi
Release: 
https://github.com/dahampere/cloudstack-primera_alletraMP-iscsi/releases/tag/v4.22.1.1-1

- KVM deb: iSCSI session rescan + no logout on detach (this is the actual fix).
- Optional management sidecar JAR: same adapter registered as AlletraMP, so you 
can add a pool under that name without renaming an existing provider=Primera 
pool. Not a second API. Not ACS Protocol = iSCSI (shared LUN).

Proven here: deploy, attach/detach, live migrate, volume snapshot. Volume 
resize/copy on this path is unproven. Instance snapshots still need 
qemu-guest-agent.

If this matches other KVM + Primera-family iSCSI sites, we are happy to turn 
the connect/disconnect change into an upstream PR against 
scripts/storage/multipath. Feedback welcome.


[cid:e307bee6-9e7b-478a-a13e-36c955586e6f]

DAHAM PERERA
Onel Consulting | Senior Consulting Engineer
[email protected]<mailto:[email protected]>
0476 797 120 | 03 9653 6400
L27, 101 Collins St, Melbourne VIC 3000
https://onel.com.au<https://onel.com.au/>

[cid:925ef8e0-b22c-49bd-ba8c-3db7d2705ce5]

Reply via email to