[RHV] Why SPM role changes from one host to another.
Environment
- Red Hat Virtualization 4.X
Issue
- The SPM role was changed from host-xx to Host-yy even when the host was up and running.
Resolution
- This is expected behavior. If there is any storage related query from
enginethat does not get executed on that host thenenginechanges theSPMrole to another host in theData Center.
Root Cause
- Host was facing communication issue:
2017-11-10 11:58:09,975 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (DefaultQuartzScheduler7) [1adebdda] Failure to refresh host 'Host-xx' runtime info: VDSGenericException: VDSNetworkException: Message timeout which can be caused by communication issues
Diagnostic Steps
- Host getting recovered from crash:
engine=> select log_time, correlation_id, message from audit_log where message like '%is initializing%' order by log_time desc;
log_time | correlation_id | message
----------------------------+----------------+---------------------------------------------------------------------------------
2017-11-09 22:58:40.546-05 | | Host host-xx is initializing. Message: Recovering from crash or Initializing
- SPM role changes:
engine=> select log_time, correlation_id, message from audit_log where message like '%Storage Pool Manager%' order by log_time desc;
log_time | correlation_id | message
----------------------------+----------------+---------------------------------------------------------------------------------
2017-11-09 22:58:58.122-05 | | Storage Pool Manager runs on Host host-yy (Address: host-yy.example.com).
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
