prashanthr2 commented on PR #14864: URL: https://github.com/apache/cloudstack/pull/14864#issuecomment-7360489868
Verified working, both halves. Verified on CloudStack 4.22.1.1, packages rebuilt from patched source. KVM on Ubuntu 24.04.4 LTS, Pure FA-X20R4, Purity//FA 6.10.6, provider Flash Array, FibreChannel. Renamed the array host object b08-36 to b08-36-fc so it no longer matched the CloudStack host name. #14862 - deploying a VM pinned to that host no longer throws NullPointerException ... FlashArrayList.getItems() because "list" is null. The lookup failure is logged and the planner adds the host to the avoid set. #14863 - attaching a volume to a VM already running on that host now gives: ``` Host [b08-36] not found in FlashArray at [https://10.23.26.50:443/api]. The host object on the array must have the same name as the CloudStack host ``` On 4.22.1.1 this surfaces as Failed to spool template disk at path: ... connid.b08-36-fc=2;, which gives no hint that host naming is involved. One small thing: findHost() catches Exception rather than the 400 specifically, so a timeout, TLS failure or expired token also becomes "not found" - and the administrator is then told to rename host objects when the array is simply unreachable. cc: @Damans227 Can you please check the last point on this -- 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]
