<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35190#comment-35190 ]</pre>
<h3>Gal Ben Haim commented on OVIRT-1712:</h3>
<p>This issue is caused when calling to “lago ovirt serve” (which starts the repo server) as a subprocess, and not making sure to kill it when it's not needed anymore (or on failure).</p>
<p>In the past, VDSM's check patch was coded like this, but we fixed it. Could be that the same bug exists in another suite.</p>
<p>Evgheni, can you specify a slave that had this issue?</p>
<p>On Fri, Oct 20, 2017 at 3:44 PM, Evgheni Dereveanchin <ederevea@redhat.com> wrote:</p>
<blockquote><p>I agree with Barak – checked the slave that was failing and there was a process still listening to port 8585. The slave was put offline the slave but attempting to run the job on a different one caused the exact same error. As more slaves are affected this may be a lago bug. No changes were made on slaves this week.</p>
<p>On Fri, Oct 20, 2017 at 10:46 AM, Barak Korren <bkorren@redhat.com> wrote:</p>
<blockquote><p>looks like there might be a lago localrepo process process left up on the slave from a previous run</p>
<p>On 20 October 2017 at 11:26, Eyal Edri <eedri@redhat.com> wrote:</p>
<blockquote><p>Evgheni, Was there any change recently to Lago slaves?</p>
<p>On Fri, Oct 20, 2017 at 11:05 AM, Piotr Kliczewski < piotr.kliczewski@gmail.com> wrote:</p>
<blockquote><p>I attempted to run manual OST twice and both failed with below issue. Can someone take a look?</p>
<p>Thanks, Piotr</p>
<p>2017-10-20 07:59:12,485::log_utils.py::__exit__::607::ovirtlago.prefix: :DEBUG::</p>
<pre>File "/usr/lib/python2.7/site-packages/lago/log_utils.py", line 636,</pre>
<p>in wrapper</p>
<pre> return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/reposetup.py", line</pre>
<p>111, in wrapper</p>
<pre> with utils.repo_server_context(args[0]):
File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/usr/lib/python2.7/site-packages/ovirtlago/utils.py", line</pre>
<p>100, in repo_server_context</p>
<pre> root_dir=prefix.paths.internal_repo(),
File "/usr/lib/python2.7/site-packages/ovirtlago/utils.py", line 76,</pre>
<p>in _create_http_server</p>
<pre> generate_request_handler(root_dir),
File "/usr/lib64/python2.7/SocketServer.py", line 419, in __init__
self.server_bind()
File "/usr/lib64/python2.7/BaseHTTPServer.py", line 108, in</pre>
<p>server_bind</p>
<pre> SocketServer.TCPServer.server_bind(self)
File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)</pre>
<p>2017-10-20 07:59:12,485::cmd.py::do_run::365::root::ERROR::Error occured, aborting Traceback (most recent call last):</p>
<pre>File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 362,</pre>
<p>in do_run</p>
<pre> self.cli_plugins[args.ovirtverb].do_run(args)
File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line</pre>
<p>184, in do_run</p>
<pre> self._do_run(**vars(args))
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 501, in</pre>
<p>wrapper</p>
<pre> return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 512, in</pre>
<p>wrapper</p>
<pre> return func(*args, prefix=prefix, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 166,</pre>
<p>in do_deploy</p>
<pre> prefix.deploy()
File "/usr/lib/python2.7/site-packages/lago/log_utils.py", line 636,</pre>
<p>in wrapper</p>
<pre> return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/reposetup.py", line</pre>
<p>111, in wrapper</p>
<pre> with utils.repo_server_context(args[0]):
File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/usr/lib/python2.7/site-packages/ovirtlago/utils.py", line</pre>
<p>100, in repo_server_context</p>
<pre> root_dir=prefix.paths.internal_repo(),
File "/usr/lib/python2.7/site-packages/ovirtlago/utils.py", line 76,</pre>
<p>in _create_http_server</p>
<pre> generate_request_handler(root_dir),
File "/usr/lib64/python2.7/SocketServer.py", line 419, in __init__
self.server_bind()
File "/usr/lib64/python2.7/BaseHTTPServer.py", line 108, in</pre>
<p>server_bind</p>
<pre> SocketServer.TCPServer.server_bind(self)
File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)</pre>
<p>error: [Errno 98] Address already in use <em>____________________________________________</em>_ Infra mailing list Infra@ovirt.org <a href="http://lists.ovirt.org/mailman/listinfo/infra">http://lists.ovirt.org/mailman/listinfo/infra</a></p></blockquote>
<p>—</p>
<p>Eyal edri</p>
<p>MANAGER</p>
<p>RHV DevOps</p>
<p>EMEA VIRTUALIZATION R&D</p>
<p>Red Hat EMEA <<a href="https://www.redhat.com/">https://www.redhat.com/</a>> <<a href="https://red.ht/sig">https://red.ht/sig</a>> TRIED. TESTED. TRUSTED. <<a href="https://redhat.com/trusted">https://redhat.com/trusted</a>> phone: +972-9-7692018 <+972%209-769-2018> irc: eedri (on #tlv #rhev-dev #rhev-integ)</p>
<p><em>____________________________________________</em>_ Infra mailing list Infra@ovirt.org <a href="http://lists.ovirt.org/mailman/listinfo/infra">http://lists.ovirt.org/mailman/listinfo/infra</a></p></blockquote>
<p>— Barak Korren RHV DevOps team , RHCE, RHCi Red Hat EMEA redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted</p></blockquote>
<p>— Regards, Evgheni Dereveanchin</p></blockquote>
<p>— <strong>GAL bEN HAIM</strong> RHV DEVOPS</p>
<blockquote><h3>Re: Manual OST fails</h3>
<pre> Key: OVIRT-1712
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1712
Project: oVirt - virtualization made easy
Issue Type: By-EMAIL
Reporter: eyal edri
Assignee: infra</pre>
<p>Evgheni, Was there any change recently to Lago slaves? On Fri, Oct 20, 2017 at 11:05 AM, Piotr Kliczewski < piotr.kliczewski@gmail.com> wrote:</p>
<blockquote><p>I attempted to run manual OST twice and both failed with below issue. Can someone take a look?</p>
<p>Thanks, Piotr</p>
<p>2017-10-20 07:59:12,485::log_utils.py::__exit__::607::ovirtlago.prefix: :DEBUG::</p>
<pre>File "/usr/lib/python2.7/site-packages/lago/log_utils.py", line 636,</pre>
<p>in wrapper</p>
<pre> return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/reposetup.py", line</pre>
<p>111, in wrapper</p>
<pre> with utils.repo_server_context(args[0]):
File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/usr/lib/python2.7/site-packages/ovirtlago/utils.py", line</pre>
<p>100, in repo_server_context</p>
<pre> root_dir=prefix.paths.internal_repo(),
File "/usr/lib/python2.7/site-packages/ovirtlago/utils.py", line 76,</pre>
<p>in _create_http_server</p>
<pre> generate_request_handler(root_dir),
File "/usr/lib64/python2.7/SocketServer.py", line 419, in __init__
self.server_bind()
File "/usr/lib64/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)</pre>
<p>2017-10-20 07:59:12,485::cmd.py::do_run::365::root::ERROR::Error occured, aborting Traceback (most recent call last):</p>
<pre>File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 362, in</pre>
<p>do_run</p>
<pre> self.cli_plugins[args.ovirtverb].do_run(args)
File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line</pre>
<p>184, in do_run</p>
<pre> self._do_run(**vars(args))
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 501, in</pre>
<p>wrapper</p>
<pre> return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 512, in</pre>
<p>wrapper</p>
<pre> return func(*args, prefix=prefix, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line 166,</pre>
<p>in do_deploy</p>
<pre> prefix.deploy()
File "/usr/lib/python2.7/site-packages/lago/log_utils.py", line 636,</pre>
<p>in wrapper</p>
<pre> return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/ovirtlago/reposetup.py", line</pre>
<p>111, in wrapper</p>
<pre> with utils.repo_server_context(args[0]):
File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/usr/lib/python2.7/site-packages/ovirtlago/utils.py", line</pre>
<p>100, in repo_server_context</p>
<pre> root_dir=prefix.paths.internal_repo(),
File "/usr/lib/python2.7/site-packages/ovirtlago/utils.py", line 76,</pre>
<p>in _create_http_server</p>
<pre> generate_request_handler(root_dir),
File "/usr/lib64/python2.7/SocketServer.py", line 419, in __init__
self.server_bind()
File "/usr/lib64/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)</pre>
<p>error: [Errno 98] Address already in use <em>____________________________________________</em>_ Infra mailing list Infra@ovirt.org <a href="http://lists.ovirt.org/mailman/listinfo/infra">http://lists.ovirt.org/mailman/listinfo/infra</a></p></blockquote>
<p>— Eyal edri MANAGER RHV DevOps EMEA VIRTUALIZATION R&D Red Hat EMEA <<a href="https://www.redhat.com/">https://www.redhat.com/</a>> <<a href="https://red.ht/sig">https://red.ht/sig</a>> TRIED. TESTED. TRUSTED. <<a href="https://redhat.com/trusted">https://redhat.com/trusted</a>> phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)</p></blockquote>
<p>— This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100067)</p>
<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BCmpYLyzYS3r1Q939T2sgz1sBi9R-2FlDlS8lvswnYSjk4ZbomN8Cn3kU7votPdcsSfqIgLEbblOuPU4KqnxBXgY3EDCYJjgghhhldCIh2UuD3OkTwsQ-2BWsnTDxU-2BPCK-2BEIpOKaO-2Fl6GoHKYFII-2B9HHFri5DBE61S2D-2Bq0HT3Wa8gfdZIugdPy-2FfLCz1Nvf7qTINTDlYuwf9idEOpaoQH4Tnk-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>