<div dir="ltr"><div><div><div><div><div><div><div>Okay, here is what i did:<br><br></div>1.) i stopped the ovirt engine<br><br></div>2.) then i reconfigured the gluster nodes/bricks manually...(i changed the path and host name)<br>
<br>Before:<br>=============<br>gluster> volume info<br> <br>Volume Name: GlusterSuxx<br>Type: Replicate<br>Volume ID: 8339d0b8-49ad-4d2d-9def-102ec025937f<br>Status: Started<br>Number of Bricks: 1 x 2 = 2<br>Transport-type: tcp<br>
Bricks:<br>Brick1: node2.local:/home/suxx<br>Brick2: node3.local:/home/suxx<br>Options Reconfigured:<br>auth.allow: *<br>user.cifs: disable<br>nfs.disable: on<br><br><br><br><br>After<br>===========<br> gluster> volume info<br>
<br>Volume Name: GlusterSuxx<br>Type: Replicate<br>Volume ID: 8339d0b8-49ad-4d2d-9def-102ec025937f<br>Status: Started<br>Number of Bricks: 1 x 2 = 2<br>Transport-type: tcp<br>Bricks:<br>Brick1: node3.bond:/home/suxx2<br>Brick2: node2.bond:/home/suxx2<br>
Options Reconfigured:<br>storage.owner-gid: 36<br>storage.owner-uid: 36<br>auth.allow: *<br>user.cifs: disable<br>nfs.disable: on<br><br></div>3.) Then i started the ovirt egine again<br><br></div>4.) The ovirt Engine still thinks the bricks are Brick1: node2.local:/home/suxx and Brick2: node3.local:/home/suxx<br>
<br></div>Now the ovirt engine logs spits errors at me:<br>=================================<br>2014-02-12 18:13:06,255 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-44) Exception: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:08,448 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] (DefaultQuartzScheduler_Worker-44) Command ConnectStoragePoolVDS execution failed. Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:08,449 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-44) IrsBroker::Failed::GetStoragePoolInfoVDS<br>2014-02-12 18:13:08,449 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-44) Exception: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:10,106 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc] (DefaultQuartzScheduler_Worker-64) Error while populating bricks of volume 8339d0b8-49ad-4d2d-9def-102ec025937f.: java.lang.RuntimeException: java.net.UnknownHostException: node3.bond<br>
2014-02-12 18:13:15,187 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc] (DefaultQuartzScheduler_Worker-72) Error while populating bricks of volume 8339d0b8-49ad-4d2d-9def-102ec025937f.: java.lang.RuntimeException: java.net.UnknownHostException: node3.bond<br>
2014-02-12 18:13:18,480 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] (DefaultQuartzScheduler_Worker-75) Command HSMGetAllTasksStatusesVDS execution failed. Exception: IRSNonOperationalException: IRSGenericException: IRSErrorException: IRSNonOperationalException: Not SPM: ()<br>
2014-02-12 18:13:20,138 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] (DefaultQuartzScheduler_Worker-87) Command GlusterTasksListVDS execution failed. Exception: VDSNetworkException: org.apache.xmlrpc.XmlRpcException: <type 'exceptions.Exception'>:method "glusterTasksList" is not supported<br>
2014-02-12 18:13:20,141 ERROR [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] (DefaultQuartzScheduler_Worker-87) Failed to invoke scheduled method gluster_async_task_poll_event: java.lang.reflect.InvocationTargetException<br>
Caused by: org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: org.apache.xmlrpc.XmlRpcException: <type 'exceptions.Exception'>:method "glusterTasksList" is not supported (Failed with error VDS_NETWORK_ERROR and code 5022)<br>
2014-02-12 18:13:20,265 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc] (DefaultQuartzScheduler_Worker-86) Error while populating bricks of volume 8339d0b8-49ad-4d2d-9def-102ec025937f.: java.lang.RuntimeException: java.net.UnknownHostException: node3.bond<br>
2014-02-12 18:13:20,658 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] (DefaultQuartzScheduler_Worker-75) Command ConnectStoragePoolVDS execution failed. Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:20,660 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-75) IrsBroker::Failed::GetStoragePoolInfoVDS<br>2014-02-12 18:13:20,660 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-75) Exception: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:22,851 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] (DefaultQuartzScheduler_Worker-75) Command ConnectStoragePoolVDS execution failed. Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:22,853 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-75) IrsBroker::Failed::GetStoragePoolInfoVDS<br>2014-02-12 18:13:22,853 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-75) Exception: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:25,343 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc] (DefaultQuartzScheduler_Worker-91) Error while populating bricks of volume 8339d0b8-49ad-4d2d-9def-102ec025937f.: java.lang.RuntimeException: java.net.UnknownHostException: node3.bond<br>
2014-02-12 18:13:30,420 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc] (DefaultQuartzScheduler_Worker-97) Error while populating bricks of volume 8339d0b8-49ad-4d2d-9def-102ec025937f.: java.lang.RuntimeException: java.net.UnknownHostException: node3.bond<br>
2014-02-12 18:13:32,879 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] (DefaultQuartzScheduler_Worker-81) Command HSMGetAllTasksStatusesVDS execution failed. Exception: IRSNonOperationalException: IRSGenericException: IRSErrorException: IRSNonOperationalException: Not SPM: ()<br>
2014-02-12 18:13:35,062 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] (DefaultQuartzScheduler_Worker-81) Command ConnectStoragePoolVDS execution failed. Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:35,063 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-81) IrsBroker::Failed::GetStoragePoolInfoVDS<br>2014-02-12 18:13:35,064 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-81) Exception: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:35,508 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc] (DefaultQuartzScheduler_Worker-3) [30914b8d] Error while populating bricks of volume 8339d0b8-49ad-4d2d-9def-102ec025937f.: java.lang.RuntimeException: java.net.UnknownHostException: node3.bond<br>
2014-02-12 18:13:37,239 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] (DefaultQuartzScheduler_Worker-81) Command ConnectStoragePoolVDS execution failed. Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:37,243 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-81) IrsBroker::Failed::GetStoragePoolInfoVDS<br>2014-02-12 18:13:37,244 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-81) Exception: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Cannot find master domain: 'spUUID=d6fb9dc4-e727-481a-940a-4923cd1d94eb, msdUUID=8323035b-3a0a-4c40-a45e-ca764dfdb09f'<br>
2014-02-12 18:13:40,598 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturnForXmlRpc] (DefaultQuartzScheduler_Worker-13) Error while populating bricks of volume 8339d0b8-49ad-4d2d-9def-102ec025937f.: java.lang.RuntimeException: java.net.UnknownHostException: node3.bond<br>
<br></div>I guess the brick details are stored in the postgres database and everything else after will fail?!<br><br></div><div>Am i the only one with dedicated migration/storage interfaces? :)<br><br>Thanks,<br></div>Mario<br>
<div><div><br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 12, 2014 at 5:24 AM, Sahina Bose <span dir="ltr"><<a href="mailto:sabose@redhat.com" target="_blank">sabose@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div class="">
<br>
<div>On 02/12/2014 12:28 AM, ml ml wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>...hmm....do i want/mean geo-replication?<br>
<br>
</div>
<div>if yes, i a missing this tab here:<br>
<a href="http://www.ovirt.org/images/5/51/Georepsession1list.png" target="_blank">http://www.ovirt.org/images/5/51/Georepsession1list.png</a><br>
</div>
</div>
</blockquote>
<br></div>
No. Geo-replication is for disaster recovery by replicating your
gluster volume to a cluster in a different geography. And note that
the management and monitoring of gluster geo-replication has not yet
been added in oVirt.<br>
<br>
I think what you are looking for is the synchronous replication
provided by the "replicated" volume types. Currently, there's no way
to specify the interface to be used for gluster communication from
within oVirt. Please refer to this thread -
<a href="http://lists.ovirt.org/pipermail/users/2014-February/020894.html" target="_blank">http://lists.ovirt.org/pipermail/users/2014-February/020894.html</a> -
for help in setting this up.<br>
<br>
<blockquote type="cite"><div class="">
<div dir="ltr">
<div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Feb 11, 2014 at 5:40 PM, ml ml
<span dir="ltr"><<a href="mailto:mliebherr99@googlemail.com" target="_blank">mliebherr99@googlemail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hello List,<br>
<br>
</div>
i would like to use a dedicated Bonding
Interface for Gluster Replication and
Migration.<br>
<br>
</div>
I was already able to add my Bonding Interfaces
in my Hosts-Network Tab, however i am failing to
tell Gluster to use this interface. It only
offers me nodeX.local (which is my managment
network).<br>
<br>
</div>
More infos are collected here: <a href="http://oi58.tinypic.com/v6qaa1.jpg" target="_blank">http://oi58.tinypic.com/v6qaa1.jpg</a><br>
<br>
</div>
Can someone tell me how to configure Gluster to use
the dedicated bond interface?<br>
<br>
</div>
I already asked in the IRC Channel but nobody seems to
know :-/<br>
<br>
</div>
Thanks,<br>
</div>
Mario<br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>