Chinmay048 commented on issue #13605:
URL: https://github.com/apache/cloudstack/issues/13605#issuecomment-5016815322

   I would like to work on this UI improvement. Here is my proposed 
implementation plan:
   
   1. **Frontend (Vue.js UI):** Intercept the `enableHA` / `configureHAForHost` 
action in the host management view. Before dispatching the API call, inspect 
the host's Out-of-Band Management (OOBM) status (`outofbandmanagement.enabled` 
/ power state).
   2. **User Experience:** If OOBM is not enabled or configured on a KVM host, 
prevent the action and display a confirmation/warning modal instructing the 
admin to configure OOBM first.
   3. **Backend Validation (Defense-in-Depth):** Ensure `ConfigureHAForHostCmd` 
/ `HAConfigManagerImpl` also performs a server-side check so the API gracefully 
rejects HA enablement on KVM hosts lacking OOBM configuration.


-- 
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]

Reply via email to