<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.E-MailFormatvorlage17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Consolas",serif;
        color:black;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=DE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>On the node that fails to start the ha-broker and ha-agent I’m using: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>ovirt-engine-sdk-python.noarch 3.5.2.1-1.el7.centos @ovirt-3.5-pre<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>ovirt-host-deploy.noarch 1.3.1-1.el7 @ovirt-3.5<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>ovirt-hosted-engine-ha.noarch 1.2.5-1.el7.centos @ovirt-3.5<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>ovirt-hosted-engine-setup.noarch 1.2.3-1.el7.centos @ovirt-3.5-pre<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>ovirt-release35.noarch 003-1 @/ovirt-release35<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='color:windowtext;mso-fareast-language:DE'>Von:</span></b><span style='color:windowtext;mso-fareast-language:DE'> users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] <b>Im Auftrag von </b>Roy Golan<br><b>Gesendet:</b> Sonntag, 26. April 2015 16:59<br><b>An:</b> users@ovirt.org; Yedidyah Bar David<br><b>Betreff:</b> Re: [ovirt-users] Hosted Engine-Setup issue additional host<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On 04/26/2015 05:38 PM, Sven Achtelik wrote:<span style='font-size:12.0pt;mso-fareast-language:DE'><o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span lang=EN-US>Hi All,</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>after a successful setup of hosted-engine on the first node I’m having trouble completing it on an additional node. The Setup fails with:</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>---------------------------------</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[ INFO ] Waiting for the host to become operational in the engine. This may take several minutes...</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[ INFO ] Still waiting for VDSM host to become operational...</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[ INFO ] The VDSM Host is now operational</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[ INFO ] Enabling and starting HA services</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[ ERROR ] Failed to execute stage 'Closing up': Command '/bin/systemctl' failed to execute</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[ INFO ] Stage: Clean up</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150426080028.conf'</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[ INFO ] Stage: Pre-termination</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[ INFO ] Stage: Termination</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>---------------------------------</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>After that the node is added to the cluster and is operational from the GUI, but the hosted engine broker and agent fail to start with error messages: </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>----------------------------------</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[root@ovirt-node2 ~]# systemctl status ovirt-ha-agent.service -l</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring Agent</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; enabled)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> Active: failed (Result: exit-code) since Sun 2015-04-26 08:00:28 CDT; 20min ago</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> Process: 5373 ExecStart=/usr/lib/systemd/systemd-ovirt-ha-agent start (code=exited, status=1/FAILURE)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: hdlr = FileHandler(filename, mode)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: File "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: StreamHandler.__init__(self, self._open())</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: File "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: stream = open(self.baseFilename, self.mode)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: IOError: [Errno 6] No such device or address: '/dev/stdout'</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: [FAILED]</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: ovirt-ha-agent.service: control process exited, code=exited status=1</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Failed to start oVirt Hosted Engine High Availability Monitoring Agent.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Unit ovirt-ha-agent.service entered failed state.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>-------------------------------------</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>And </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>-------------------------------------</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>[root@ovirt-node2 ~]# systemctl status ovirt-ha-broker</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>ovirt-ha-broker.service - oVirt Hosted Engine High Availability Communications Broker</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-broker.service; enabled)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> Active: failed (Result: exit-code) since Sun 2015-04-26 08:00:28 CDT; 21min ago</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> Process: 5359 ExecStart=/usr/lib/systemd/systemd-ovirt-ha-broker start (code=exited, status=1/FAILURE)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: hdlr = FileHandler(filename, mode)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: File "/usr/lib64/python2.7/logging/__init__.py", line ...it__</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: StreamHandler.__init__(self, self._open())</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: File "/usr/lib64/python2.7/logging/__init__.py", line ...open</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: stream = open(self.baseFilename, self.mode)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: IOError: [Errno 6] No such device or address: '/dev/stdout'</span><o:p></o:p></p></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:DE'><br>Didi any clue? <br>the log says it runs as root so I canrule that out<br><br><o:p></o:p></span></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: [FAILED]</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: ovirt-ha-broker.service: control process exited, code=exited status=1</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Failed to start oVirt Hosted Engine High Availability Communications Broker.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Unit ovirt-ha-broker.service entered failed state.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>----------------------------------------</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>The system is a CentOS 7 Setup with SeLinux switched off, no firewall or iptables. How can I find out which version of ovirt I’m running exactly ? I’ve had a lock at the logs and read through old bug reports.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:DE'><br>the rpm version of ovirt* will be enough I guess<br><br><br><o:p></o:p></span></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span lang=EN-US>Thank you, </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Sven </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:DE'><br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>Users mailing list<o:p></o:p></pre><pre><a href="mailto:Users@ovirt.org">Users@ovirt.org</a><o:p></o:p></pre><pre><a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><o:p></o:p></pre></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:DE'><o:p> </o:p></span></p></div></body></html>