
--=_d69a1f5c639decb7303d9c14e20f8797 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Le 2015-10-12 09:59, Nir Soffer a écrit :
On Sun, Oct 11, 2015 at 6:43 PM, Nico <gluster@distran.org> wrote:
Recently, i built a small oVirt platform with 2 dedicated servers and GlusterFS to synch the VM storage. Bricks:
Brick1: ovirt01:/gluster/ovirt
Brick2: ovirt02:/gluster/ovirt
This looks like replica 2 - this is not supported.
You can use either replica 1 (testing) or replica 3 (production).
But when i check /var/log/ovirt/engine.log on ovirt01, there are error in loop every 2 seconds: To understand such error we need to see the vdsm log.
Nir
Yeah it is replica 2 as i've only 2 dedicated servers. why are you saying it is not supported ? Through oVirt GUI, it is possible to create a Gluster Volume with 2 bricks in repllcate mode; i tried it also. here the last entries of vdsm.log hread-167405::DEBUG::2015-10-12 10:12:20,132::stompReactor::163::yajsonrpc.StompServer::(send) Sending response Thread-55245::DEBUG::2015-10-12 10:12:22,529::task::595::Storage.TaskManager.Task::(_updateState) Task=`c887acfa-bd10-4dfb-9374-da607c133e68`::moving from state init -> state preparing Thread-55245::INFO::2015-10-12 10:12:22,530::logUtils::44::dispatcher::(wrapper) Run and protect: getVolumeSize(sdUUID='d44ee4b0-8d36-467a-9610-c682a618b698', spUUID='0ae7120a-430d-4534-9a7e-59c53fb2e804', imgUUID='3454b077-297b-4b89-b8ce-a77f6ec5d22e', volUUID='933da0b6-6a05-4e64-958a-e1c030cf5ddb', options=None) Thread-55245::INFO::2015-10-12 10:12:22,535::logUtils::47::dispatcher::(wrapper) Run and protect: getVolumeSize, Return response: {'truesize': '158983839744', 'apparentsize': '161061273600'} Thread-55245::DEBUG::2015-10-12 10:12:22,535::task::1191::Storage.TaskManager.Task::(prepare) Task=`c887acfa-bd10-4dfb-9374-da607c133e68`::finished: {'truesize': '158983839744', 'apparentsize': '161061273600'} Thread-55245::DEBUG::2015-10-12 10:12:22,535::task::595::Storage.TaskManager.Task::(_updateState) Task=`c887acfa-bd10-4dfb-9374-da607c133e68`::moving from state preparing -> state finished Thread-55245::DEBUG::2015-10-12 10:12:22,535::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {} Thread-55245::DEBUG::2015-10-12 10:12:22,536::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {} Thread-55245::DEBUG::2015-10-12 10:12:22,536::task::993::Storage.TaskManager.Task::(_decref) Task=`c887acfa-bd10-4dfb-9374-da607c133e68`::ref 0 aborting False Thread-55245::DEBUG::2015-10-12 10:12:22,545::libvirtconnection::143::root::(wrapper) Unknown libvirterror: ecode: 80 edom: 20 level: 2 message: metadata not found: Requested metadata element is not present JsonRpc (StompReactor)::DEBUG::2015-10-12 10:12:23,138::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling message <StompFrame command='SEND'> JsonRpcServer::DEBUG::2015-10-12 10:12:23,139::__init__::530::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request Thread-167406::DEBUG::2015-10-12 10:12:23,142::stompReactor::163::yajsonrpc.StompServer::(send) Sending response Thread-37810::DEBUG::2015-10-12 10:12:24,194::fileSD::262::Storage.Misc.excCmd::(getReadDelay) /usr/bin/dd if=/rhev/data-center/mnt/ovirt01:_data_iso/5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0/dom_md/metadata iflag=direct of=/dev/null bs=4096 count=1 (cwd None) Thread-37810::DEBUG::2015-10-12 10:12:24,201::fileSD::262::Storage.Misc.excCmd::(getReadDelay) SUCCESS: <err> = '0+1 records in\n0+1 records out\n317 bytes (317 B) copied, 0.000131729 s, 2.4 MB/s\n'; <rc> = 0 JsonRpc (StompReactor)::DEBUG::2015-10-12 10:12:26,148::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling message <StompFrame command='SEND'> JsonRpcServer::DEBUG::2015-10-12 10:12:26,149::__init__::530::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request Thread-167407::DEBUG::2015-10-12 10:12:26,151::stompReactor::163::yajsonrpc.StompServer::(send) Sending response VM Channels Listener::DEBUG::2015-10-12 10:12:26,972::vmchannels::96::vds::(_handle_timeouts) Timeout on fileno 35. Thread-30::DEBUG::2015-10-12 10:12:28,358::fileSD::262::Storage.Misc.excCmd::(getReadDelay) /usr/bin/dd if=/rhev/data-center/mnt/glusterSD/localhost:_ovirt/d44ee4b0-8d36-467a-9610-c682a618b698/dom_md/metadata iflag=direct of=/dev/null bs=4096 count=1 (cwd None) Thread-30::DEBUG::2015-10-12 10:12:28,451::fileSD::262::Storage.Misc.excCmd::(getReadDelay) SUCCESS: <err> = '0+1 records in\n0+1 records out\n470 bytes (470 B) copied, 0.000152738 s, 3.1 MB/s\n'; <rc> = 0 JsonRpc (StompReactor)::DEBUG::2015-10-12 10:12:29,157::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling message <StompFrame command='SEND'> JsonRpcServer::DEBUG::2015-10-12 10:12:29,252::__init__::530::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request Thread-167408::DEBUG::2015-10-12 10:12:29,254::stompReactor::163::yajsonrpc.StompServer::(send) Sending response JsonRpc (StompReactor)::DEBUG::2015-10-12 10:12:32,260::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling message <StompFrame command='SEND'> JsonRpcServer::DEBUG::2015-10-12 10:12:32,262::__init__::530::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request Thread-167409::DEBUG::2015-10-12 10:12:32,264::task::595::Storage.TaskManager.Task::(_updateState) Task=`7d55817b-a5c4-4c27-b2d5-e892ba645476`::moving from state init -> state preparing Thread-167409::INFO::2015-10-12 10:12:32,264::logUtils::44::dispatcher::(wrapper) Run and protect: repoStats(options=None) Thread-167409::INFO::2015-10-12 10:12:32,265::logUtils::47::dispatcher::(wrapper) Run and protect: repoStats, Return response: {u'd44ee4b0-8d36-467a-9610-c682a618b698': {'code': 0, 'actual': True, 'version': 3, 'acquired': True, 'delay': '0.000152738', 'lastCheck': '3.6', 'valid': True}, u'5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0': {'code': 0, 'actual': True, 'version': 0, 'acquired': True, 'delay': '0.000131729', 'lastCheck': '8.1', 'valid': True}} Thread-167409::DEBUG::2015-10-12 10:12:32,265::task::1191::Storage.TaskManager.Task::(prepare) Task=`7d55817b-a5c4-4c27-b2d5-e892ba645476`::finished: {u'd44ee4b0-8d36-467a-9610-c682a618b698': {'code': 0, 'actual': True, 'version': 3, 'acquired': True, 'delay': '0.000152738', 'lastCheck': '3.6', 'valid': True}, u'5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0': {'code': 0, 'actual': True, 'version': 0, 'acquired': True, 'delay': '0.000131729', 'lastCheck': '8.1', 'valid': True}} Thread-167409::DEBUG::2015-10-12 10:12:32,265::task::595::Storage.TaskManager.Task::(_updateState) Task=`7d55817b-a5c4-4c27-b2d5-e892ba645476`::moving from state preparing -> state finished Thread-167409::DEBUG::2015-10-12 10:12:32,265::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {} Thread-167409::DEBUG::2015-10-12 10:12:32,265::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {} Thread-167409::DEBUG::2015-10-12 10:12:32,265::task::993::Storage.TaskManager.Task::(_decref) Task=`7d55817b-a5c4-4c27-b2d5-e892ba645476`::ref 0 aborting False Thread-167409::DEBUG::2015-10-12 10:12:32,268::stompReactor::163::yajsonrpc.StompServer::(send) Sending response JsonRpc (StompReactor)::DEBUG::2015-10-12 10:12:32,275::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling message <StompFrame command='SEND'> JsonRpcServer::DEBUG::2015-10-12 10:12:32,278::__init__::530::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request Thread-167410::DEBUG::2015-10-12 10:12:32,283::stompReactor::163::yajsonrpc.StompServer::(send) Sending response --=_d69a1f5c639decb7303d9c14e20f8797 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p> </p> <p>Le 2015-10-12 09:59, Nir Soffer a écrit :</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ig= nored --> <div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">= On Sun, Oct 11, 2015 at 6:43 PM, Nico <<a href=3D"mailto:gluster@distran= =2Eorg">gluster@distran.org</a>> wrote: <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0">Recently, i built a small oVirt platform with 2 dedica= ted servers and GlusterFS to synch the VM storage.<br /> Bricks:<br /> <br = /> Brick1: ovirt01:/gluster/ovirt<br /> <br /> Brick2: ovirt02:/gluster/ovi= rt</blockquote> <br /> This looks like replica 2 - this is not supported.<br /> <br /> You = can use either replica 1 (testing) or replica 3 (production).<br /> <br /> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0">But when i check /var/log/ovirt/engine.log on ovirt01,= there are error in loop every 2 seconds:</blockquote> To understand such error we need to see the vdsm log.<br /> <br /> Nir</div=
</blockquote> <p>Yeah it is replica 2 as i've only 2 dedicated servers.</p> <p>why are you saying it is not supported ? Through oVirt GUI, it is p= ossible to create a Gluster Volume with 2 bricks in repllcate mode; i tried= it also.</p> <p>here the last entries of vdsm.log</p> <p> </p> <p>hread-167405::DEBUG::2015-10-12 10:12:20,132::stompReactor::163::yajsonr= pc.StompServer::(send) Sending response<br />Thread-55245::DEBUG::2015-10-1= 2 10:12:22,529::task::595::Storage.TaskManager.Task::(_updateState) Task=3D= `c887acfa-bd10-4dfb-9374-da607c133e68`::moving from state init -> state = preparing<br />Thread-55245::INFO::2015-10-12 10:12:22,530::logUtils::44::d= ispatcher::(wrapper) Run and protect: getVolumeSize(sdUUID=3D'd44ee4b0-8d36= -467a-9610-c682a618b698', spUUID=3D'0ae7120a-430d-4534-9a7e-59c53fb2e804', = imgUUID=3D'3454b077-297b-4b89-b8ce-a77f6ec5d22e', volUUID=3D'933da0b6-6a05-= 4e64-958a-e1c030cf5ddb', options=3DNone)<br />Thread-55245::INFO::2015-10-1= 2 10:12:22,535::logUtils::47::dispatcher::(wrapper) Run and protect: getVol= umeSize, Return response: {'truesize': '158983839744', 'apparentsize': '161= 061273600'}<br />Thread-55245::DEBUG::2015-10-12 10:12:22,535::task::1191::= Storage.TaskManager.Task::(prepare) Task=3D`c887acfa-bd10-4dfb-9374-da607c1= 33e68`::finished: {'truesize': '158983839744', 'apparentsize': '16106127360= 0'}<br />Thread-55245::DEBUG::2015-10-12 10:12:22,535::task::595::Storage= =2ETaskManager.Task::(_updateState) Task=3D`c887acfa-bd10-4dfb-9374-da607c1= 33e68`::moving from state preparing -> state finished<br />Thread-55245:= :DEBUG::2015-10-12 10:12:22,535::resourceManager::940::Storage.ResourceMana= ger.Owner::(releaseAll) Owner.releaseAll requests {} resources {}<br />Thre= ad-55245::DEBUG::2015-10-12 10:12:22,536::resourceManager::977::Storage.Res= ourceManager.Owner::(cancelAll) Owner.cancelAll requests {}<br />Thread-552= 45::DEBUG::2015-10-12 10:12:22,536::task::993::Storage.TaskManager.Task::(_= decref) Task=3D`c887acfa-bd10-4dfb-9374-da607c133e68`::ref 0 aborting False= <br />Thread-55245::DEBUG::2015-10-12 10:12:22,545::libvirtconnection::143:= :root::(wrapper) Unknown libvirterror: ecode: 80 edom: 20 level: 2 message:= metadata not found: Requested metadata element is not present<br />JsonRpc= (StompReactor)::DEBUG::2015-10-12 10:12:23,138::stompReactor::98::Broker= =2EStompAdapter::(handle_frame) Handling message <StompFrame command=3D'= SEND'><br />JsonRpcServer::DEBUG::2015-10-12 10:12:23,139::__init__::530= ::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request<br />Thread-1= 67406::DEBUG::2015-10-12 10:12:23,142::stompReactor::163::yajsonrpc.StompSe= rver::(send) Sending response<br />Thread-37810::DEBUG::2015-10-12 10:12:24= ,194::fileSD::262::Storage.Misc.excCmd::(getReadDelay) /usr/bin/dd if=3D/rh= ev/data-center/mnt/ovirt01:_data_iso/5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0/d= om_md/metadata iflag=3Ddirect of=3D/dev/null bs=3D4096 count=3D1 (cwd None)= <br />Thread-37810::DEBUG::2015-10-12 10:12:24,201::fileSD::262::Storage.Mi= sc.excCmd::(getReadDelay) SUCCESS: <err> =3D '0+1 records in\n0+1 rec= ords out\n317 bytes (317 B) copied, 0.000131729 s, 2.4 MB/s\n'; <rc> = =3D 0<br />JsonRpc (StompReactor)::DEBUG::2015-10-12 10:12:26,148::stompRea= ctor::98::Broker.StompAdapter::(handle_frame) Handling message <StompFra= me command=3D'SEND'><br />JsonRpcServer::DEBUG::2015-10-12 10:12:26,149:= :__init__::530::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request= <br />Thread-167407::DEBUG::2015-10-12 10:12:26,151::stompReactor::163::yaj= sonrpc.StompServer::(send) Sending response<br />VM Channels Listener::DEBU= G::2015-10-12 10:12:26,972::vmchannels::96::vds::(_handle_timeouts) Timeout= on fileno 35.<br />Thread-30::DEBUG::2015-10-12 10:12:28,358::fileSD::262:= :Storage.Misc.excCmd::(getReadDelay) /usr/bin/dd if=3D/rhev/data-center/mnt= /glusterSD/localhost:_ovirt/d44ee4b0-8d36-467a-9610-c682a618b698/dom_md/met= adata iflag=3Ddirect of=3D/dev/null bs=3D4096 count=3D1 (cwd None)<br />Thr= ead-30::DEBUG::2015-10-12 10:12:28,451::fileSD::262::Storage.Misc.excCmd::(= getReadDelay) SUCCESS: <err> =3D '0+1 records in\n0+1 records out\n47= 0 bytes (470 B) copied, 0.000152738 s, 3.1 MB/s\n'; <rc> =3D 0<br />J= sonRpc (StompReactor)::DEBUG::2015-10-12 10:12:29,157::stompReactor::98::Br= oker.StompAdapter::(handle_frame) Handling message <StompFrame command= =3D'SEND'><br />JsonRpcServer::DEBUG::2015-10-12 10:12:29,252::__init__:= :530::jsonrpc.JsonRpcServer::(serve_requests) Waiting for request<br />Thre= ad-167408::DEBUG::2015-10-12 10:12:29,254::stompReactor::163::yajsonrpc.Sto= mpServer::(send) Sending response<br />JsonRpc (StompReactor)::DEBUG::2015-= 10-12 10:12:32,260::stompReactor::98::Broker.StompAdapter::(handle_frame) H= andling message <StompFrame command=3D'SEND'><br />JsonRpcServer::DEB= UG::2015-10-12 10:12:32,262::__init__::530::jsonrpc.JsonRpcServer::(serve_r= equests) Waiting for request<br />Thread-167409::DEBUG::2015-10-12 10:12:32= ,264::task::595::Storage.TaskManager.Task::(_updateState) Task=3D`7d55817b-= a5c4-4c27-b2d5-e892ba645476`::moving from state init -> state preparing<= br />Thread-167409::INFO::2015-10-12 10:12:32,264::logUtils::44::dispatcher= ::(wrapper) Run and protect: repoStats(options=3DNone)<br />Thread-167409::= INFO::2015-10-12 10:12:32,265::logUtils::47::dispatcher::(wrapper) Run and = protect: repoStats, Return response: {u'd44ee4b0-8d36-467a-9610-c682a618b69= 8': {'code': 0, 'actual': True, 'version': 3, 'acquired': True, 'delay': '0= =2E000152738', 'lastCheck': '3.6', 'valid': True}, u'5aec30fa-be8b-4f4e-832= e-eafb6fa4a8e0': {'code': 0, 'actual': True, 'version': 0, 'acquired': True= , 'delay': '0.000131729', 'lastCheck': '8.1', 'valid': True}}<br />Thread-1= 67409::DEBUG::2015-10-12 10:12:32,265::task::1191::Storage.TaskManager.Task= ::(prepare) Task=3D`7d55817b-a5c4-4c27-b2d5-e892ba645476`::finished: {u'd44= ee4b0-8d36-467a-9610-c682a618b698': {'code': 0, 'actual': True, 'version': = 3, 'acquired': True, 'delay': '0.000152738', 'lastCheck': '3.6', 'valid': T= rue}, u'5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0': {'code': 0, 'actual': True, = 'version': 0, 'acquired': True, 'delay': '0.000131729', 'lastCheck': '8.1',= 'valid': True}}<br />Thread-167409::DEBUG::2015-10-12 10:12:32,265::task::= 595::Storage.TaskManager.Task::(_updateState) Task=3D`7d55817b-a5c4-4c27-b2= d5-e892ba645476`::moving from state preparing -> state finished<br />Thr= ead-167409::DEBUG::2015-10-12 10:12:32,265::resourceManager::940::Storage= =2EResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resourc= es {}<br />Thread-167409::DEBUG::2015-10-12 10:12:32,265::resourceManager::= 977::Storage.ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}= <br />Thread-167409::DEBUG::2015-10-12 10:12:32,265::task::993::Storage.Tas= kManager.Task::(_decref) Task=3D`7d55817b-a5c4-4c27-b2d5-e892ba645476`::ref= 0 aborting False<br />Thread-167409::DEBUG::2015-10-12 10:12:32,268::stomp= Reactor::163::yajsonrpc.StompServer::(send) Sending response<br />JsonRpc (= StompReactor)::DEBUG::2015-10-12 10:12:32,275::stompReactor::98::Broker.Sto= mpAdapter::(handle_frame) Handling message <StompFrame command=3D'SEND'&= gt;<br />JsonRpcServer::DEBUG::2015-10-12 10:12:32,278::__init__::530::json= rpc.JsonRpcServer::(serve_requests) Waiting for request<br />Thread-167410:= :DEBUG::2015-10-12 10:12:32,283::stompReactor::163::yajsonrpc.StompServer::= (send) Sending response</p> <p> </p> <div> </div> </body></html> --=_d69a1f5c639decb7303d9c14e20f8797--