<div dir="ltr">Hi Haim,<div><br></div><div style>I am using posixfs(gluster). I just created one volume with one brick on each server (distribute).</div><div style>This volume is attached as data domain.</div><div style><br>
</div><div style>Results after executing the given commands in host 1:</div><div style><div>[root@fig /]# vdsClient -s 0 getConnectedStoragePoolsList</div><div>a8c8bb22-5f04-11e2-986d-525400927148</div><div><br></div><div>
<div>[root@fig /]# vdsClient -s 0 getStoragePoolInfo `vdsClient -s 0 getConnectedStoragePoolsList`</div><div> name = dc</div><div> isoprefix =</div><div> pool_status = connected</div><div> lver = 58</div>
<div> domains = 1dc4f865-f151-4016-b8f3-3dcc0eca93a3:Active</div><div> master_uuid = 1dc4f865-f151-4016-b8f3-3dcc0eca93a3</div><div> version = 0</div><div> spm_id = 1</div><div> type = SHAREDFS</div>
<div> master_ver = 1</div><div> 1dc4f865-f151-4016-b8f3-3dcc0eca93a3 = {'status': 'Active', 'diskfree': '982727000064', 'alerts': [], 'disktotal': '1035756371968'}</div>
</div><div><br></div><div style>host 2:</div><div style><div>[root@blueberry /]# vdsClient -s 0 getConnectedStoragePoolsList</div><div>a8c8bb22-5f04-11e2-986d-525400927148</div><div><br></div><div><div>[root@blueberry /]# vdsClient -s 0 getStoragePoolInfo `vdsClient -s 0 getConnectedStoragePoolsList`</div>
<div> name = dc</div><div> isoprefix =</div><div> pool_status = connected</div><div> lver = 61</div><div> domains = 1dc4f865-f151-4016-b8f3-3dcc0eca93a3:Active</div><div> master_uuid = 1dc4f865-f151-4016-b8f3-3dcc0eca93a3</div>
<div> version = 0</div><div> spm_id = 2</div><div> type = SHAREDFS</div><div> master_ver = 1</div><div> 1dc4f865-f151-4016-b8f3-3dcc0eca93a3 = {'status': 'Active', 'diskfree': '982726868992', 'alerts': [], 'disktotal': '1035756371968'}</div>
</div><div><br></div><div style>Thanks,</div><div style>Jithin</div><div><br></div></div><div style><br></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 5:47 PM, Haim Ateya <span dir="ltr"><<a href="mailto:hateya@redhat.com" target="_blank">hateya@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">what type of storage are you using? is it posix btw? can you please issues the following command on both hosts:<br>
<br>
vdsClient -s 0 getConnectedStoragePoolsList<br>
vdsClient -s 0 getStoragePoolInfo `vdsClient -s 0 getConnectedStoragePoolsList`<br>
<div><div class="h5"><br>
<br>
----- Original Message -----<br>
> From: "Jithin Raju" <<a href="mailto:rajujith@gmail.com">rajujith@gmail.com</a>><br>
> To: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> Sent: Tuesday, January 15, 2013 12:22:50 PM<br>
> Subject: [Users] spm keeps on shifting between nodes continously<br>
><br>
><br>
><br>
> Hi,<br>
><br>
><br>
> I have 2 nodes of ovirt 3.1+ gluster. When i am trying to activate<br>
> the Data center its changing to up then contend then back up<br>
> continuously.<br>
><br>
><br>
> Same way along with the above SPM status is shifting between the two<br>
> nodes continously.<br>
><br>
><br>
> With one node its working fine.<br>
><br>
><br>
> Somebody has reported this before I remember, but do not remember the<br>
> fix.<br>
><br>
><br>
> engine log:<br>
><br>
> 2013-01-15 15:50:41,762 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]<br>
> (QuartzScheduler_Worker-66) [16c01e11] START,<br>
> HSMGetAllTasksInfoVDSCommand(vdsId =<br>
> 7caf739e-5ef7-11e2-aa89-525400927148), log id: 59dae374<br>
> 2013-01-15 15:50:41,791 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]<br>
> (QuartzScheduler_Worker-66) [16c01e11] FINISH,<br>
> HSMGetAllTasksInfoVDSCommand, return: [], log id: 59dae374<br>
> 2013-01-15 15:50:41,793 INFO<br>
> [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]<br>
> (QuartzScheduler_Worker-66) [16c01e11] FINISH,<br>
> SPMGetAllTasksInfoVDSCommand, return: [], log id: 77055e85<br>
> 2013-01-15 15:50:41,795 INFO<br>
> [org.ovirt.engine.core.bll.AsyncTaskManager]<br>
> (QuartzScheduler_Worker-66) [16c01e11]<br>
> AsyncTaskManager::AddStoragePoolExistingTasks: Discovered no tasks<br>
> on Storage Pool DC<br>
> 2013-01-15 15:50:41,796 INFO<br>
> [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]<br>
> (QuartzScheduler_Worker-66) [16c01e11] START,<br>
> SPMGetAllTasksInfoVDSCommand(storagePoolId =<br>
> 1a995d7c-5ef3-11e2-a8c4-525400927148, ignoreFailoverLimit = false,<br>
> compatabilityVersion = null), log id: 318b02c2<br>
> 2013-01-15 15:50:41,798 INFO<br>
> [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]<br>
> (QuartzScheduler_Worker-66) [16c01e11] --<br>
> SPMGetAllTasksInfoVDSCommand::ExecuteIrsBrokerCommand: Attempting on<br>
> storage pool 1a995d7c-5ef3-11e2-a8c4-525400927148<br>
> 2013-01-15 15:50:41,800 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]<br>
> (QuartzScheduler_Worker-66) [16c01e11] START,<br>
> HSMGetAllTasksInfoVDSCommand(vdsId =<br>
> 7caf739e-5ef7-11e2-aa89-525400927148), log id: 22d29c5b<br>
> 2013-01-15 15:50:41,832 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksInfoVDSCommand]<br>
> (QuartzScheduler_Worker-66) [16c01e11] FINISH,<br>
> HSMGetAllTasksInfoVDSCommand, return: [], log id: 22d29c5b<br>
> 2013-01-15 15:50:41,836 INFO<br>
> [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksInfoVDSCommand]<br>
> (QuartzScheduler_Worker-66) [16c01e11] FINISH,<br>
> SPMGetAllTasksInfoVDSCommand, return: [], log id: 318b02c2<br>
> 2013-01-15 15:50:41,841 INFO<br>
> [org.ovirt.engine.core.bll.AsyncTaskManager]<br>
> (QuartzScheduler_Worker-66) [16c01e11]<br>
> AsyncTaskManager::AddStoragePoolExistingTasks: Discovered no tasks<br>
> on Storage Pool DC<br>
> 2013-01-15 15:50:51,830 ERROR<br>
> [org.ovirt.engine.core.vdsbroker.irsbroker.GetStoragePoolInfoVDSCommand]<br>
> (QuartzScheduler_Worker-44)<br>
> irsBroker::BuildStorageDynamicFromXmlRpcStruct::Failed building<br>
> Storage dynamic, xmlRpcStruct =<br>
> org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcStruct@7fdd2faf<br>
> 2013-01-15 15:50:51,832 ERROR<br>
> [org.ovirt.engine.core.vdsbroker.irsbroker.GetStoragePoolInfoVDSCommand]<br>
> (QuartzScheduler_Worker-44)<br>
> org.ovirt.engine.core.vdsbroker.irsbroker.IRSErrorException:<br>
> IRSErrorException:<br>
> 2013-01-15 15:50:51,833 ERROR<br>
> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]<br>
> (QuartzScheduler_Worker-44) IrsBroker::Failed::GetStoragePoolInfoVDS<br>
> due to: IRSErrorException: IRSErrorException:<br>
> 2013-01-15 15:50:51,865 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]<br>
> (QuartzScheduler_Worker-44) START, SpmStopVDSCommand(vdsId =<br>
> 7caf739e-5ef7-11e2-aa89-525400927148, storagePoolId =<br>
> 1a995d7c-5ef3-11e2-a8c4-525400927148), log id: 6c7ade5e<br>
> 2013-01-15 15:50:51,899 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]<br>
> (QuartzScheduler_Worker-44) SpmStopVDSCommand::Stopping SPM on vds<br>
> blueberry, pool id 1a995d7c-5ef3-11e2-a8c4-525400927148<br>
> 2013-01-15 15:50:53,032 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]<br>
> (QuartzScheduler_Worker-44) FINISH, SpmStopVDSCommand, log id:<br>
> 6c7ade5e<br>
> 2013-01-15 15:50:53,036 INFO<br>
> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]<br>
> (QuartzScheduler_Worker-44) Irs placed on server null failed.<br>
> Proceed Failover<br>
> 2013-01-15 15:50:53,046 INFO<br>
> [org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand]<br>
> (QuartzScheduler_Worker-44) [3f11e766] Running command:<br>
> SetStoragePoolStatusCommand internal: true. Entities affected : ID:<br>
> 1a995d7c-5ef3-11e2-a8c4-525400927148 Type: StoragePool<br>
> 2013-01-15 15:50:53,091 INFO<br>
> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]<br>
> (QuartzScheduler_Worker-44) [3f11e766] hostFromVds::selectedVds -<br>
> fig, spmStatus Free, storage pool DC<br>
> 2013-01-15 15:50:53,097 INFO<br>
> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]<br>
> (QuartzScheduler_Worker-44) [3f11e766] starting spm on vds fig,<br>
> storage pool DC, prevId -1, LVER 27<br>
> 2013-01-15 15:50:53,103 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand]<br>
> (QuartzScheduler_Worker-44) [3f11e766] START,<br>
> SpmStartVDSCommand(vdsId = d199e4dc-5ef4-11e2-a538-525400927148,<br>
> storagePoolId = 1a995d7c-5ef3-11e2-a8c4-525400927148, prevId=-1,<br>
> prevLVER=27, storagePoolFormatType=V1, recoveryMode=Manual,<br>
> SCSIFencing=false), log id: 64385c4b<br>
> 2013-01-15 15:50:53,144 INFO<br>
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand]<br>
> (QuartzScheduler_Worker-44) [3f11e766] spmStart polling started:<br>
> taskId = 373b6b46-d79b-45a5-a534-3a18d38ac65e<br>
><br>
><br>
> Thanks,<br>
> Jithin<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
</blockquote></div><br></div>