<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span>I am still confused. My ovirt shell cli is in "disconnected" mode like this:</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="background-color: transparent;">[oVirt shell (disconnected)]#&nbsp;</div><div style="background-color: transparent;">[oVirt shell (disconnected)]#&nbsp;</div><div style="background-color: transparent;"><span></span></div><div style="background-color: transparent;">[oVirt shell (disconnected)]#&nbsp;</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york',
 times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">The only commands I can use are connect, exit and help. How do I see my node? &nbsp;Or maybe the question is if the parameters I provided to the kernel boot options have indeed enabled the node to register with the engine. But again I have no way to know this. Is there a log on the node side that might give me some clues?&nbsp;</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">David</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div
 style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Itamar Heim &lt;iheim@redhat.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> David Li &lt;david_li@sbcglobal.net&gt;; "users@ovirt.org" &lt;users@ovirt.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, December 18, 2013 12:04 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Users] What parameters to use in automated node install to enable engine CLI register?<br> </font> </div> <div class="y_msg_container"><br>
On 12/18/2013 10:39 AM, David Li wrote:<br>&gt; Hi Itamar,<br>&gt;<br>&gt; I am not sure I understand the question.<br>&gt; How can I see the node from over-shell CLI if it's not connected to it?<br>&gt;&nbsp;  Are you refering to some CLI cmd that allows me to do this?<br><br><br>if you PXE boot the node to register to the engine, it will register <br>itself in the engine, so the ovirt-shell can "see it" and approve it.<br><br>note you can also just add the ovirt-node directly from the engine (via <br>the gui/cli/api/sdk without the node registering (you would need to know <br>set in the node the root password (for ssh) or the engine ssh key for <br>this to be able to add the node without registering it first.<br>if you register it, it will also get the engine ssh key as part of <br>registration)<br><br>&gt;<br>&gt; David<br>&gt;<br>&gt;&nbsp; &nbsp;  ------------------------------------------------------------------------<br>&gt;&nbsp; &nbsp;  *From:*
 Itamar Heim &lt;<a ymailto="mailto:iheim@redhat.com" href="mailto:iheim@redhat.com">iheim@redhat.com</a>&gt;<br>&gt;&nbsp; &nbsp;  *To:* David Li &lt;<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>&gt;; "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>"<br>&gt;&nbsp; &nbsp;  &lt;<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>&gt;&nbsp; &nbsp;  *Sent:* Wednesday, December 18, 2013 1:17 AM<br>&gt;&nbsp; &nbsp;  *Subject:* Re: [Users] What parameters to use in automated node<br>&gt;&nbsp; &nbsp;  install to enable engine CLI register?<br>&gt;<br>&gt;&nbsp; &nbsp;  On 12/17/2013 05:59 PM, David Li wrote:<br>&gt;&nbsp; &nbsp; &nbsp; &gt; Hi,<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt; My node install followed the automatic install instructions in<br>&gt;&nbsp;
 &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp;  <a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation.html" target="_blank">https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation.html</a><br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt; For the kernel boot parameters, I used<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt; management_server=&lt;my machine IP running ovirt-shell CLI&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt;
 rhevm_admin_password=xyz<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;<br>&gt;&nbsp; &nbsp;  do you see the node in pending approval state in the engine?'<br>&gt;<br>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt; However I see a few problems when I tried to use ovirt-shell CLI to<br>&gt;&nbsp; &nbsp; &nbsp; &gt; connect to the engine.<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt; [oVirt shell (disconnected)]# connect --url<br>&gt;&nbsp; &nbsp;  "http://&lt;node-IP&gt;:8080/api"<br>&gt;&nbsp; &nbsp; &nbsp; &gt; --username "admin" --password "xyz"<br>&gt;<br>&gt;&nbsp; &nbsp;  ovirt-shell is to engine to approve the node, not to node directly.<br>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt; 1. Though I can ping the node, but this cmd gave errors: error:<br>&gt;&nbsp; &nbsp;  [Errno<br>&gt;&nbsp; &nbsp; &nbsp; &gt; 113] No route to host<br>&gt;&nbsp; &nbsp; &nbsp; &gt; 2. What should I use
 for "--username" argument?&nbsp; What is "@domain"?<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt; David<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt; _______________________________________________<br>&gt;&nbsp; &nbsp; &nbsp; &gt; Users mailing list<br>&gt;&nbsp; &nbsp; &nbsp; &gt; <a ymailto="mailto:Users@ovirt.org" href="mailto:Users@ovirt.org">Users@ovirt.org</a> &lt;mailto:<a ymailto="mailto:Users@ovirt.org" href="mailto:Users@ovirt.org">Users@ovirt.org</a>&gt;<br>&gt;&nbsp; &nbsp; &nbsp; &gt; http://lists.ovirt.org/mailman/listinfo/users<br>&gt;&nbsp; &nbsp; &nbsp; &gt;<br>&gt;<br>&gt;<br>&gt;<br><br><br><br></div> </div> </div> </blockquote></div>   </div></body></html>