<div dir="ltr">Not unless we see the host-deploy logs<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 27, 2016 at 3:39 AM, Thing <span dir="ltr">&lt;<a href="mailto:thing.thing@gmail.com" target="_blank">thing.thing@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">any idea why the ssh keys are failing?<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 27 October 2016 at 11:08, Thing <span dir="ltr">&lt;<a href="mailto:thing.thing@gmail.com" target="_blank">thing.thing@gmail.com</a>&gt;</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>oopsie  &quot; Are the three hosts subscribed to the <span class="m_293541522471572219m_-541640791439654509gmail-il">ovirt</span> repos?&quot;<br><br></div>no, I will try again doing so.  I didnt notice this as a requirement so I assumed the method was the ovirt server uploaded the needed packages to each host.<br><br><br></div><div class="m_293541522471572219HOEnZb"><div class="m_293541522471572219h5"><div class="gmail_extra"><br><div class="gmail_quote">On 26 October 2016 at 17:52, Sahina Bose <span dir="ltr">&lt;<a href="mailto:sabose@redhat.com" target="_blank">sabose@redhat.com</a>&gt;</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>If you want these hosts to run only gluster service - create a cluster with &quot;Enable gluster service&quot; checked and &quot;Enable Virt Service&quot; unchecked (i.e disabled). <br></div>You should then add your 3 hosts to this cluster. Are the three hosts subscribed to the ovirt repos? - During installation, the required packages are pulled in from the repos. So install the ovirt-release-&lt;version&gt; rpm on the hosts.<br><br></div>After you do this, if the process still fails, please provide the installation logs (host-deploy logs). Installation failure in ovirt-engine will provide the path to the logs.<br><br></div>HTH,<br></div>sahina<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_293541522471572219m_-541640791439654509h5">On Wed, Oct 26, 2016 at 4:06 AM, Thing <span dir="ltr">&lt;<a href="mailto:thing.thing@gmail.com" target="_blank">thing.thing@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_293541522471572219m_-541640791439654509h5"><div dir="ltr"><p>Hi,</p><p>I have ovirt 4.0.4 running on a centos 7.2 machine.</p>
<p>
</p>
<p>I have 3 identical centos 7.2 machines I want to add as a gluster 
storage 3 way mirror array.  The admin guide doesnt seem to show how to 
do this?  I have setup ssh keys for root access.  I have setup a 1TB LUN
 on each ready for &quot;glusterising&quot;.  I have tried to build and setup 
gluster before ahnd and import the ready made setup but this locked up 
in &quot;activating&quot; and after 36hours never completed (I assume they should 
move to &quot;up&quot;?)</p>
<p>
</p>
<p>Is there any documentation out there on how?   I want these as pure 
gluster storage only nodes no VMs to go on them.  The VMs will go on 2 or 3 
new machines I will add later as a next stage.<br>
</p>
<p>I have tried to add them as hosts (not sure if this is the right method I suspect not), but I get install failures in the engine.log <br></p><p>sample,</p><p>=========</p><p>2016-10-26 11:28:13,899 ERROR [org.ovirt.engine.core.uutils.<wbr>ssh.SSHDialog] (org.ovirt.thread.pool-8-threa<wbr>d-21) [2a413474] SSH error running command root@192.168.1.31:&#39;umask 0077; MYTMP=&quot;$(TMPDIR=&quot;${OVIRT_TMPDI<wbr>R}&quot; mktemp -d -t ovirt-XXXXXXXXXX)&quot;; trap &quot;chmod -R u+rwX \&quot;${MYTMP}\&quot; &gt; /dev/null 2&gt;&amp;1; rm -fr \&quot;${MYTMP}\&quot; &gt; /dev/null 2&gt;&amp;1&quot; 0; tar --warning=no-timestamp -C &quot;${MYTMP}&quot; -x &amp;&amp;  &quot;${MYTMP}&quot;/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:True<wbr>&#39;: Command returned failure code 1 during SSH session &#39;<a href="mailto:root@192.168.1.31" target="_blank">root@192.168.1.31</a>&#39;<br>2016-10-26 11:28:13,899 ERROR [org.ovirt.engine.core.uutils.<wbr>ssh.SSHDialog] (org.ovirt.thread.pool-8-threa<wbr>d-21) [2a413474] Exception: java.io.IOException: Command returned failure code 1 during SSH session &#39;<a href="mailto:root@192.168.1.31" target="_blank">root@192.168.1.31</a>&#39;<br>    at org.ovirt.engine.core.uutils.s<wbr>sh.SSHClient.executeCommand(SS<wbr>HClient.java:526) [uutils.jar:]<br>    at org.ovirt.engine.core.uutils.s<wbr>sh.SSHDialog.executeCommand(SS<wbr>HDialog.java:317) [uutils.jar:]<br>    at org.ovirt.engine.core.bll.host<wbr>deploy.VdsDeployBase.execute(V<wbr>dsDeployBase.java:563) [bll.jar:]<br>    at org.ovirt.engine.core.bll.host<wbr>deploy.InstallVdsInternalComma<wbr>nd.installHost(InstallVdsInter<wbr>nalCommand.java:169) [bll.jar:]<br>    at org.ovirt.engine.core.bll.host<wbr>deploy.InstallVdsInternalComma<wbr>nd.executeCommand(InstallVdsIn<wbr>ternalCommand.java:90) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Comm<wbr>andBase.executeWithoutTransact<wbr>ion(CommandBase.java:1305) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Comm<wbr>andBase.executeActionInTransac<wbr>tionScope(CommandBase.java:144<wbr>7) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Comm<wbr>andBase.runInTransaction(Comma<wbr>ndBase.java:2075) [bll.jar:]<br>    at <a href="http://org.ovirt.engine.core.utils.tr" target="_blank">org.ovirt.engine.core.utils.tr</a><wbr>ansaction.TransactionSupport.e<wbr>xecuteInSuppressed(Transaction<wbr>Support.java:166) [utils.jar:]<br>    at <a href="http://org.ovirt.engine.core.utils.tr" target="_blank">org.ovirt.engine.core.utils.tr</a><wbr>ansaction.TransactionSupport.e<wbr>xecuteInScope(TransactionSuppo<wbr>rt.java:105) [utils.jar:]<br>    at org.ovirt.engine.core.bll.Comm<wbr>andBase.execute(CommandBase.ja<wbr>va:1490) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Comm<wbr>andBase.executeAction(CommandB<wbr>ase.java:398) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Prev<wbr>alidatingMultipleActionsRunner<wbr>.executeValidatedCommand(Preva<wbr>lidatingMultipleActionsRunner.<wbr>java:204) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Prev<wbr>alidatingMultipleActionsRunner<wbr>.runCommands(PrevalidatingMult<wbr>ipleActionsRunner.java:176) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Prev<wbr>alidatingMultipleActionsRunner<wbr>.lambda$invokeCommands$3(Preva<wbr>lidatingMultipleActionsRunner.<wbr>java:182) [bll.jar:]<br>    at <a href="http://org.ovirt.engine.core.utils.th" target="_blank">org.ovirt.engine.core.utils.th</a><wbr>readpool.ThreadPoolUtil$Intern<wbr>alWrapperRunnable.run(ThreadPo<wbr>olUtil.java:92) [utils.jar:]<br>    at java.util.concurrent.Executors<wbr>$RunnableAdapter.call(Executor<wbr>s.java:511) [rt.jar:1.8.0_111]<br>    at java.util.concurrent.FutureTas<wbr>k.run(FutureTask.java:266) [rt.jar:1.8.0_111]<br>    at java.util.concurrent.ThreadPoo<wbr>lExecutor.runWorker(ThreadPool<wbr>Executor.java:1142) [rt.jar:1.8.0_111]<br>    at java.util.concurrent.ThreadPoo<wbr>lExecutor$Worker.run(ThreadPoo<wbr>lExecutor.java:617) [rt.jar:1.8.0_111]<br>    at java.lang.Thread.run(Thread.ja<wbr>va:745) [rt.jar:1.8.0_111]<br><br>2016-10-26 11:28:13,900 ERROR [org.ovirt.engine.core.bll.hos<wbr>tdeploy.VdsDeployBase] (org.ovirt.thread.pool-8-threa<wbr>d-21) [2a413474] Error during host 192.168.1.31 install: java.io.IOException: Command returned failure code 1 during SSH session &#39;<a href="mailto:root@192.168.1.31" target="_blank">root@192.168.1.31</a>&#39;<br>    at org.ovirt.engine.core.uutils.s<wbr>sh.SSHClient.executeCommand(SS<wbr>HClient.java:526) [uutils.jar:]<br>    at org.ovirt.engine.core.uutils.s<wbr>sh.SSHDialog.executeCommand(SS<wbr>HDialog.java:317) [uutils.jar:]<br>    at org.ovirt.engine.core.bll.host<wbr>deploy.VdsDeployBase.execute(V<wbr>dsDeployBase.java:563) [bll.jar:]<br>    at org.ovirt.engine.core.bll.host<wbr>deploy.InstallVdsInternalComma<wbr>nd.installHost(InstallVdsInter<wbr>nalCommand.java:169) [bll.jar:]<br>    at org.ovirt.engine.core.bll.host<wbr>deploy.InstallVdsInternalComma<wbr>nd.executeCommand(InstallVdsIn<wbr>ternalCommand.java:90) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Comm<wbr>andBase.executeWithoutTransact<wbr>ion(CommandBase.java:1305) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Comm<wbr>andBase.executeActionInTransac<wbr>tionScope(CommandBase.java:144<wbr>7) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Comm<wbr>andBase.runInTransaction(Comma<wbr>ndBase.java:2075) [bll.jar:]<br>    at <a href="http://org.ovirt.engine.core.utils.tr" target="_blank">org.ovirt.engine.core.utils.tr</a><wbr>ansaction.TransactionSupport.e<wbr>xecuteInSuppressed(Transaction<wbr>Support.java:166) [utils.jar:]<br>    at <a href="http://org.ovirt.engine.core.utils.tr" target="_blank">org.ovirt.engine.core.utils.tr</a><wbr>ansaction.TransactionSupport.e<wbr>xecuteInScope(TransactionSuppo<wbr>rt.java:105) [utils.jar:]<br>    at org.ovirt.engine.core.bll.Comm<wbr>andBase.execute(CommandBase.ja<wbr>va:1490) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Comm<wbr>andBase.executeAction(CommandB<wbr>ase.java:398) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Prev<wbr>alidatingMultipleActionsRunner<wbr>.executeValidatedCommand(Preva<wbr>lidatingMultipleActionsRunner.<wbr>java:204) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Prev<wbr>alidatingMultipleActionsRunner<wbr>.runCommands(PrevalidatingMult<wbr>ipleActionsRunner.java:176) [bll.jar:]<br>    at org.ovirt.engine.core.bll.Prev<wbr>alidatingMultipleActionsRunner<wbr>.lambda$invokeCommands$3(Preva<wbr>lidatingMultipleActionsRunner.<wbr>java:182) [bll.jar:]<br>    at <a href="http://org.ovirt.engine.core.utils.th" target="_blank">org.ovirt.engine.core.utils.th</a><wbr>readpool.ThreadPoolUtil$Intern<wbr>alWrapperRunnable.run(ThreadPo<wbr>olUtil.java:92) [utils.jar:]<br>    at java.util.concurrent.Executors<wbr>$RunnableAdapter.call(Executor<wbr>s.java:511) [rt.jar:1.8.0_111]<br>    at java.util.concurrent.FutureTas<wbr>k.run(FutureTask.java:266) [rt.jar:1.8.0_111]<br>    at java.util.concurrent.ThreadPoo<wbr>lExecutor.runWorker(ThreadPool<wbr>Executor.java:1142) [rt.jar:1.8.0_111]<br>    at java.util.concurrent.ThreadPoo<wbr>lExecutor$Worker.run(ThreadPoo<wbr>lExecutor.java:617) [rt.jar:1.8.0_111]<br>    at java.lang.Thread.run(Thread.ja<wbr>va:745) [rt.jar:1.8.0_111]<br><br>2016-10-26 11:28:13,903 ERROR [org.ovirt.engine.core.bll.hos<wbr>tdeploy.InstallVdsInternalComm<wbr>and] (org.ovirt.thread.pool-8-threa<wbr>d-21) [2a413474] Host installation failed for host &#39;260c0a92-2856-4cd6-a784-01ac9<wbr>5fc41d5&#39;, &#39;glusterp1&#39;: Command returned failure code 1 during SSH session &#39;<a href="mailto:root@192.168.1.31" target="_blank">root@192.168.1.31</a>&#39;<br>2016-10-26 11:28:13,905 INFO  [org.ovirt.engine.core.vdsbrok<wbr>er.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-threa<wbr>d-21) [2a413474] START, SetVdsStatusVDSCommand(HostNam<wbr>e = glusterp1, SetVdsStatusVDSCommandParamete<wbr>rs:{runAsync=&#39;true&#39;, hostId=&#39;260c0a92-2856-4cd6-a78<wbr>4-01ac95fc41d5&#39;, status=&#39;InstallFailed&#39;, nonOperationalReason=&#39;NONE&#39;, stopSpmFailureLogged=&#39;false&#39;, maintenanceReason=&#39;null&#39;}), log id: 8f2959c<br>2016-10-26 11:28:13,909 INFO  [org.ovirt.engine.core.vdsbrok<wbr>er.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-threa<wbr>d-21) [2a413474] FINISH, SetVdsStatusVDSCommand, log id: 8f2959c<br>2016-10-26 11:28:13,917 ERROR [org.ovirt.engine.core.dal.dbb<wbr>roker.auditloghandling.AuditLo<wbr>gDirector] (org.ovirt.thread.pool-8-threa<wbr>d-21) [2a413474] Correlation ID: 2a413474, Call Stack: null, Custom Event ID: -1, Message: Host glusterp1 installation failed. Command returned failure code 1 during SSH session &#39;<a href="mailto:root@192.168.1.31" target="_blank">root@192.168.1.31</a>&#39;.<br>2016-10-26 11:28:13,917 INFO  [org.ovirt.engine.core.bll.hos<wbr>tdeploy.InstallVdsInternalComm<wbr>and] (org.ovirt.thread.pool-8-threa<wbr>d-21) [2a413474] Lock freed to object &#39;EngineLock:{exclusiveLocks=&#39;[<wbr>260c0a92-2856-4cd6-a784-01ac95<wbr>fc41d5=&lt;VDS, ACTION_TYPE_FAILED_OBJECT_LOCK<wbr>ED&gt;]&#39;, sharedLocks=&#39;null&#39;}&#39;<br>2016-10-26 11:29:14,466 WARN  [org.ovirt.engine.core.vdsbrok<wbr>er.VdsManager] (DefaultQuartzScheduler7) [] Check for available updates is skipped for host &#39;glusterp2&#39; due to unsupported host status &#39;InstallFailed&#39; <br>2016-10-26 11:32:10,506 INFO  [org.ovirt.engine.core.bll.sto<wbr>rage.ovfstore.OvfDataUpdater] (DefaultQuartzScheduler9) [] Attempting to update VMs/Templates Ovf.<br><br></p><p>=========<br></p><p>ssh keys dont work either (so I had to set a password) even though root can ssh via said keys so that is working OK.  Either a mistake by me, or a bug.<br>
</p>
<p>iptables is off,</p><p>=====</p><p>[root@glusterp1 ~]# iptables -L -n<br>Chain INPUT (policy ACCEPT)<br>target     prot opt source               destination         <br><br>Chain FORWARD (policy ACCEPT)<br>target     prot opt source               destination         <br><br>Chain OUTPUT (policy ACCEPT)<br>target     prot opt source               destination         <br>[root@glusterp1 ~]# <br>=====<br></p><p>ideas please?<br>
</p>
<p><br>
</p>





<p>regards</p>
Steven </div>
<br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>