<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)]# </div><div style="background-color: transparent;">[oVirt shell (disconnected)]# </div><div style="background-color: transparent;"><span></span></div><div style="background-color: transparent;">[oVirt shell (disconnected)]# </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? 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? </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 <iheim@redhat.com><br> <b><span style="font-weight: bold;">To:</span></b> David Li <david_li@sbcglobal.net>; "users@ovirt.org" <users@ovirt.org> <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>> Hi Itamar,<br>><br>> I am not sure I understand the question.<br>> How can I see the node from over-shell CLI if it's not connected to it?<br>> 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>><br>> David<br>><br>> ------------------------------------------------------------------------<br>> *From:*
Itamar Heim <<a ymailto="mailto:iheim@redhat.com" href="mailto:iheim@redhat.com">iheim@redhat.com</a>><br>> *To:* David Li <<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>>; "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>"<br>> <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>><br>> *Sent:* Wednesday, December 18, 2013 1:17 AM<br>> *Subject:* Re: [Users] What parameters to use in automated node<br>> install to enable engine CLI register?<br>><br>> On 12/17/2013 05:59 PM, David Li wrote:<br>> > Hi,<br>> ><br>> ><br>> > My node install followed the automatic install instructions in<br>>
><br>> ><br>> <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>> ><br>> ><br>> > For the kernel boot parameters, I used<br>> ><br>> > management_server=<my machine IP running ovirt-shell CLI><br>> >
rhevm_admin_password=xyz<br>> ><br>><br>> do you see the node in pending approval state in the engine?'<br>><br>><br>> > However I see a few problems when I tried to use ovirt-shell CLI to<br>> > connect to the engine.<br>> ><br>> > [oVirt shell (disconnected)]# connect --url<br>> "http://<node-IP>:8080/api"<br>> > --username "admin" --password "xyz"<br>><br>> ovirt-shell is to engine to approve the node, not to node directly.<br>><br>> ><br>> ><br>> > 1. Though I can ping the node, but this cmd gave errors: error:<br>> [Errno<br>> > 113] No route to host<br>> > 2. What should I use
for "--username" argument? What is "@domain"?<br>> ><br>> > David<br>> ><br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > Users mailing list<br>> > <a ymailto="mailto:Users@ovirt.org" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <mailto:<a ymailto="mailto:Users@ovirt.org" href="mailto:Users@ovirt.org">Users@ovirt.org</a>><br>> > http://lists.ovirt.org/mailman/listinfo/users<br>> ><br>><br>><br>><br><br><br><br></div> </div> </div> </blockquote></div> </div></body></html>