The domain monitor thread did not provide notifications when going from an unknown state to a known state. The thread would start with a bogus valid state, before checking the domain. If the first domain check found the domain as valid, no notification was emitted. If there were paused virtual machines while connecting to the pool, they were not unpaused as they should be.
Now, the monitor thread detects the first state change and emit notifiction with the domain state. Domain state changes are now registered before the monitor threads are started. Paused virtual machines are now unpaused when VDSM starts, and the domain is valid.