
This is a multi-part message in MIME format. --------------070001000400050301000408 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 04/26/2015 05:38 PM, Sven Achtelik wrote:
Hi All,
after a successful setup of hosted-engine on the first node Im having trouble completing it on an additional node. The Setup fails with:
---------------------------------
[ INFO ] Waiting for the host to become operational in the engine. This may take several minutes...
[ INFO ] Still waiting for VDSM host to become operational...
[ INFO ] The VDSM Host is now operational
[ INFO ] Enabling and starting HA services
[ ERROR ] Failed to execute stage 'Closing up': Command '/bin/systemctl' failed to execute
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150426080028.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
---------------------------------
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:
----------------------------------
[root@ovirt-node2 ~]# systemctl status ovirt-ha-agent.service -l
ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring Agent
Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; enabled)
Active: failed (Result: exit-code) since Sun 2015-04-26 08:00:28 CDT; 20min ago
Process: 5373 ExecStart=/usr/lib/systemd/systemd-ovirt-ha-agent start (code=exited, status=1/FAILURE)
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: hdlr = FileHandler(filename, mode)
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__
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: StreamHandler.__init__(self, self._open())
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
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: stream = open(self.baseFilename, self.mode)
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'
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: [FAILED]
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: ovirt-ha-agent.service: control process exited, code=exited status=1
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Failed to start oVirt Hosted Engine High Availability Monitoring Agent.
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Unit ovirt-ha-agent.service entered failed state.
-------------------------------------
And
-------------------------------------
[root@ovirt-node2 ~]# systemctl status ovirt-ha-broker
ovirt-ha-broker.service - oVirt Hosted Engine High Availability Communications Broker
Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-broker.service; enabled)
Active: failed (Result: exit-code) since Sun 2015-04-26 08:00:28 CDT; 21min ago
Process: 5359 ExecStart=/usr/lib/systemd/systemd-ovirt-ha-broker start (code=exited, status=1/FAILURE)
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: hdlr = FileHandler(filename, mode)
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__
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: StreamHandler.__init__(self, self._open())
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
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: stream = open(self.baseFilename, self.mode)
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'
Didi any clue? the log says it runs as root so I canrule that out
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: [FAILED]
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: ovirt-ha-broker.service: control process exited, code=exited status=1
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Failed to start oVirt Hosted Engine High Availability Communications Broker.
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Unit ovirt-ha-broker.service entered failed state.
----------------------------------------
The system is a CentOS 7 Setup with SeLinux switched off, no firewall or iptables. How can I find out which version of ovirt Im running exactly ? Ive had a lock at the logs and read through old bug reports.
the rpm version of ovirt* will be enough I guess
Thank you,
Sven
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------070001000400050301000408 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div class="moz-cite-prefix">On 04/26/2015 05:38 PM, Sven Achtelik wrote:<br> </div> <blockquote cite="mid:BFAB40933B3367488CE6299BAF8592D1010C9C2A4AB2@SOCRATES.asl.local" type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="Generator" content="Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 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; 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;} span.E-MailFormatvorlage17 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} @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]--> <div class="WordSection1"> <p class="MsoNormal"><span lang="EN-US">Hi All,<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">after a successful setup of hosted-engine on the first node Im having trouble completing it on an additional node. The Setup fails with:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">---------------------------------<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[ INFO ] Waiting for the host to become operational in the engine. This may take several minutes...<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[ INFO ] Still waiting for VDSM host to become operational...<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[ INFO ] The VDSM Host is now operational<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[ INFO ] Enabling and starting HA services<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[ ERROR ] Failed to execute stage 'Closing up': Command '/bin/systemctl' failed to execute<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[ INFO ] Stage: Clean up<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150426080028.conf'<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[ INFO ] Stage: Pre-termination<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[ INFO ] Stage: Termination<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">---------------------------------<o:p></o:p></span></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: <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">----------------------------------<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[root@ovirt-node2 ~]# systemctl status ovirt-ha-agent.service -l<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring Agent<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; enabled)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> Active: failed (Result: exit-code) since Sun 2015-04-26 08:00:28 CDT; 20min ago<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> Process: 5373 ExecStart=/usr/lib/systemd/systemd-ovirt-ha-agent start (code=exited, status=1/FAILURE)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></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)<o:p></o:p></span></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__<o:p></o:p></span></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())<o:p></o:p></span></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<o:p></o:p></span></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)<o:p></o:p></span></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'<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: [FAILED]<o:p></o:p></span></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<o:p></o:p></span></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.<o:p></o:p></span></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.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">-------------------------------------<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">And <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">-------------------------------------<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[root@ovirt-node2 ~]# systemctl status ovirt-ha-broker<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">ovirt-ha-broker.service - oVirt Hosted Engine High Availability Communications Broker<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-broker.service; enabled)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> Active: failed (Result: exit-code) since Sun 2015-04-26 08:00:28 CDT; 21min ago<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> Process: 5359 ExecStart=/usr/lib/systemd/systemd-ovirt-ha-broker start (code=exited, status=1/FAILURE)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></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)<o:p></o:p></span></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__<o:p></o:p></span></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())<o:p></o:p></span></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<o:p></o:p></span></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)<o:p></o:p></span></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></p> </div> </blockquote> <br> Didi any clue? <br> the log says it runs as root so I canrule that out<br> <blockquote cite="mid:BFAB40933B3367488CE6299BAF8592D1010C9C2A4AB2@SOCRATES.asl.local" type="cite"> <div class="WordSection1"> <p class="MsoNormal"><span lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: [FAILED]<o:p></o:p></span></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<o:p></o:p></span></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.<o:p></o:p></span></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.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">----------------------------------------<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></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 Im running exactly ? Ive had a lock at the logs and read through old bug reports.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> </div> </blockquote> <br> the rpm version of ovirt* will be enough I guess<br> <br> <blockquote cite="mid:BFAB40933B3367488CE6299BAF8592D1010C9C2A4AB2@SOCRATES.asl.local" type="cite"> <div class="WordSection1"> <p class="MsoNormal"><span lang="EN-US">Thank you, <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">Sven <o:p></o:p></span></p> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------070001000400050301000408--