mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-05-18 04:07:16 +00:00
1bca57fa2a
OpenBMC BMCs intermittently return 503 Service Unavailable when the REST service is busy or recovering. xCAT reported the error immediately, requiring the user to manually retry. A second attempt usually succeeds. Retry the same request up to 3 times with a 3-second wait on 503. If all retries fail, report the error as before. The existing 504 handling for bmcreboot is preserved. Ref: #4264