jmsperu commented on PR #14207:
URL: https://github.com/apache/cloudstack/pull/14207#issuecomment-7200825248
Independent test on 4.22.1.1 (KVM, Ubuntu 24.04, libvirt 10.0.0), following
the same idea as the recipe above: `libvirt.events.enabled=true` and a health
check script that takes 30 s on the host, so the host's VM report is collected
before the start of a new VM and arrives after it. On each try, a throwaway
domain on the host was killed and a new VM started on the same host straight
away, then the state was checked after 150 s.
- Without this PR: the new VM was running on the host, but the management
server logged `PowerReportMissing` ("time since last state update(24260 ms) has
passed graceful period") and moved it to Stopped while it was still running. A
second try did not reach the race (the VM failed to start for an unrelated
network reason), so I am not counting it.
- With this PR on the management server, 2 tries: both VMs stayed Running in
CloudStack and on the host after 150 s, and the log shows `state changed at
..., which is within the graceful period (120000 ms); the report may have been
collected before that change, skipping missing report` 3 times.
LGTM. The lab was put back on the original build afterwards.
--
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]