Systems without RAID controllers were not detected correctly and proceeded trying to configure RAID.
It proceeded until it correctly determined that there are no RAID controllers but emitted a number of confusing log messages before that.
With this change the check at the very beginning of RAID configuration for no RAID controllers is fixed by also checking for empty lists, so it exits at the beginning of RAID configuration without producing confusing log messages.
@kamlesh6808 and @ajya, @gaelrehault and I chatted. This PR may be proposed against master, because it solves something and does not introduce a regression. It is very, very low risk.
Systems without RAID controllers were not detected correctly and proceeded trying to configure RAID. It proceeded until it correctly determined that there are no RAID controllers but emitted a number of confusing log messages before that.
With this change the check at the very beginning of RAID configuration for no RAID controllers is fixed by also checking for empty lists, so it exits at the beginning of RAID configuration without producing confusing log messages.