<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Itamar,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>I logged into the admin portal but didn't see any pending host approval. When I tried to add a new host (my stateless ovirt node), the install failed. I can ssh into my node from the machine running the engine so the networking doesn't seem to be the problem. Is it
because it doesn't support stateless node? Can you suggest a few ways to debug this?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>David</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div><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> Thursday, December 19, 2013 1:32 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/19/2013 01:32 PM, David Li wrote:<br>> Hi Itamar,<br>><br>><br>> Unfortunately I am restricted to using CLI on the machine running the<br>> engine. Is there any way to use ovirt CLI to do this?<br><br>you can't browse the engine from another machine to use its gui?<br><br>yes, you can do everything from the cli, to begin with, try to connect <br>with it to the engine and get the list of hosts.<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 5:31 PM<br>> *Subject:* Re: [Users] What parameters to use in automated node<br>> install to enable engine CLI register?<br>><br>> On 12/18/2013 04:33 PM, David Li wrote:<br>> > I am still confused. My ovirt shell cli is in "disconnected" mode<br>> like this:<br>> ><br>> > [oVirt shell (disconnected)]#<br>> > [oVirt shell (disconnected)]#<br>> > [oVirt shell (disconnected)]#<br>> ><br>> ><br>> > The only commands I can use are connect, exit and help. How do I<br>> see my<br>> > node? Or
maybe the question is if the parameters I provided to the<br>> > kernel boot options have indeed enabled the node to register with the<br>> > engine. But again I have no way to know this. Is there a log on<br>> the node<br>> > side that might give me some clues?<br>><br>> well, to begin with, do you see the node in the engine via the<br>> webadmin gui?<br>><br>> ><br>> > David<br>> ><br>> ><br>> ------------------------------------------------------------------------<br>> > *From:* Itamar Heim <<a ymailto="mailto:iheim@redhat.com" href="mailto:iheim@redhat.com">iheim@redhat.com</a> <mailto:<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><br>> <mailto:<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>> <mailto:<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> <mailto:<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>>><br>> > *Sent:* Wednesday, December 18, 2013 12:04 PM<br>> >
*Subject:* Re: [Users] What parameters to use in automated node<br>> > install to enable engine CLI register?<br>> ><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<br>> connected<br>> > 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<br>> register<br>> > itself in the engine, so the ovirt-shell can "see it" and<br>> approve it.<br>> ><br>> > note you can also just add the ovirt-node directly from the<br>> engine (via<br>> > the gui/cli/api/sdk without the node registering (you would<br>> need to<br>> > know<br>> > set in the node the root password (for ssh) or the engine ssh<br>> 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>> ><br>> ------------------------------------------------------------------------<br>> > > *From:* Itamar Heim <<a ymailto="mailto:iheim@redhat.com" href="mailto:iheim@redhat.com">iheim@redhat.com</a><br>> <mailto:<a ymailto="mailto:iheim@redhat.com" href="mailto:iheim@redhat.com">iheim@redhat.com</a>> <mailto:<a ymailto="mailto:iheim@redhat.com" href="mailto:iheim@redhat.com">iheim@redhat.com</a><br>> <mailto:<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><br>> <mailto:<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>> > <mailto:<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a><br>> <mailto:<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>> <mailto:<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>><br>> > <mailto:<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>> > > <<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>> <mailto:<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>> > > *Sent:* Wednesday, December 18, 2013 1:17 AM<br>> > > *Subject:* Re: [Users] What parameters to use in<br>> 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<br>> instructions in<br>> > > ><br>> > > ><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<br>> CLI><br>> > > > rhevm_admin_password=xyz<br>> > > ><br>> > ><br>> > > do you see the node in pending approval state in the<br>> engine?'<br>> > ><br>> > ><br>> > > > However I see a few problems when I tried to use<br>> > 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<br>> > directly.<br>> > ><br>> > > ><br>> > > ><br>> >
> > 1. Though I can ping the node, but this cmd gave<br>> errors:<br>> > error:<br>> > > [Errno<br>> > > > 113] No route to host<br>> > > > 2. What should I use for "--username" argument?<br>> What is<br>> > "@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>> <mailto:<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>> > <mailto:<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>> <mailto:<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>> > > > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>> > > ><br>> > ><br>> > ><br>> > ><br>> ><br>> ><br>> ><br>><br>><br>><br><br><br><br></div> </div> </div>
</blockquote></div> </div></body></html>