[Users] Change SPM manually, forcing the operation.

Dafna Ron dron at redhat.com
Thu Oct 10 15:40:33 UTC 2013


automatic spm re-election should happen when the host is in a 
non-operational state which means the storage is inaccessible from the 
spm but engine can still reach the vdsm.
In your case, from what you put in this mail, I can see that the host is 
non-responsive which means that engine cannot reach the host at all and 
so a new spm will not be re-elected and this is to avoid possible data 
corruption.

2013-10-10 08:16:34,385 WARN [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-11) spm vds is non responsive, stopping spm selection.

If you have power management configured the system will automatically 
try to reboot the spm and a new one will be elected. if you do not have 
power management configured but you are sure that the host has been 
rebooted and there are not running vms on it you can use the "confirm 
host has been rebooted" button and release the spm.

Please note that if the host has not been rebooted this can cause data 
corruption so do reboot the host...





On 10/10/2013 04:19 PM, Tal Nisan wrote:
> Basically in cases where the SPM host is in problem there should be triggered an automatic flow which selects another one in the cluster, do you recall if the old SPM host had running tasks prior to failing?
>
>
> ----- Original Message -----
> From: "Kalil de A. Carvalho" <kalilac at gmail.com>
> To: users at ovirt.org
> Sent: Thursday, October 10, 2013 2:20:36 PM
> Subject: [Users] Change SPM manually, forcing the operation.
>
> Hello everyone,
>
> I' new in oVirt and I tried to do some tests, and one is simulate the failed of one host.
>
> This host, which is go off, is the actual SPM and I want to change manually to a second host that is in the same cluster.
>
> When I tried change from web tool the server face me this pup up:
>
> Error while executing action ForceSelectSPM: Error connecting to the Storage Pool Manager service.
> Possible reasons:
> - Storage Pool Manager service is in non-active state.
> - No Active Host in the Data Center.
>
> And this message from engine.log:
>
> 2013-10-10 08:16:25,773 ERROR [org.ovirt.engine.core.bll.ForceSelectSPMCommand] (ajp--127.0.0.1-8702-3) Command org.ovirt.engine.core.bll.ForceSelectSPMCommand throw Vdc Bll exception. With error message VdcBLLException: Cannot allocate IRS server (Failed with VDSM error IRS_REPOSITORY_NOT_FOUND and code 5009)
> 2013-10-10 08:16:25,796 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-3) Correlation ID: 2608a113, Job ID: f605bd36-f79a-40a1-9f31-7aeb635b664d, Call Stack: null, Custom Event ID: -1, Message: Host srv-qemu01.hybriddc.com.br was force selected by admin at internal
> 2013-10-10 08:16:29,181 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-29) Command GetCapabilitiesVDS execution failed. Exception: VDSNetworkException: java.net.SocketTimeoutException: connect timed out
> 2013-10-10 08:16:34,293 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-70) Command GetCapabilitiesVDS execution failed. Exception: VDSNetworkException: java.net.SocketTimeoutException: connect timed out
> 2013-10-10 08:16:34,332 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-11) hostFromVds::selectedVds - srv-qemu01.hybriddc.com.br , spmStatus Free, storage pool HybridDC01
> 2013-10-10 08:16:34,343 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-11) SPM Init: could not find reported vds or not up - pool:HybridDC01 vds_spm_id: 2
> 2013-10-10 08:16:34,378 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-11) SPM selection - vds seems as spm srv-qemu02
> 2013-10-10 08:16:34,385 WARN [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-11) spm vds is non responsive, stopping spm selection.
>
> Are there any command our way that I can change manually, from CLI or similar think, which a can do that?
>
> Thanks a lot.
>


-- 
Dafna Ron



More information about the Users mailing list