You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
kvm: cloudstack-agent does not depend on lsscsi, which the multipath scripts need #14875
The KVM multipath scripts used for FibreChannel storage need lsscsi, but cloudstack-agent does not depend on it and it is not installed by default on Ubuntu.
connectVolume.sh uses lsscsi to find and clean up devices left behind by an earlier volume that used the same LUN number. Without it the command fails silently and the cleanup is skipped, so hosts behave differently depending on whether someone installed lsscsi by hand. In the lab where this was found, one host had it (installed while debugging) and the other did not.
versions
ACS 4.22.1.1, KVM on Ubuntu 24.04. Same on 4.22 and main.
The steps to reproduce the bug
On a fresh Ubuntu 24.04:
> command -v lsscsi || echo "lsscsi: not installed by default"
lsscsi: not installed by default
> apt-cache policy lsscsi
lsscsi:
Installed: (none)
Candidate: 0.32-1build1
It is in the base repos on EL9 too (lsscsi 0.32, baseos).
What to do about it?
Add lsscsi to the cloudstack-agent dependencies for deb and rpm, and have connectVolume.sh warn when it is missing.
Activity