Damans227 opened a new issue, #14875:
URL: https://github.com/apache/cloudstack/issues/14875
### problem
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]