
--1013620071-328983298-1387402387=:72288 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I am still confused. My ovirt shell cli is in "disconnected" mode like this= :=0A=0A[oVirt shell (disconnected)]#=A0=0A[oVirt shell (disconnected)]#=A0= =0A[oVirt shell (disconnected)]#=A0=0A=0A=0AThe only commands I can use are= connect, exit and help. How do I see my node? =A0Or 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?=A0=0A=0ADa= vid=0A=0A=0A=0A>________________________________=0A> From: Itamar Heim <ihe= im@redhat.com>=0A>To: David Li <david_li@sbcglobal.net>; "users@ovirt.org" = <users@ovirt.org> =0A>Sent: Wednesday, December 18, 2013 12:04 PM=0A>Subjec= t: Re: [Users] What parameters to use in automated node install to enable e= ngine CLI register?=0A> =0A>=0A>On 12/18/2013 10:39 AM, David Li wrote:=0A>=
Hi Itamar,=0A>>=0A>> I am not sure I understand the question.=0A>> How ca= n I see the node from over-shell CLI if it's not connected to it?=0A>>=A0 = Are you refering to some CLI cmd that allows me to do this?=0A>=0A>=0A>if y= ou PXE boot the node to register to the engine, it will register =0A>itself= in the engine, so the ovirt-shell can "see it" and approve it.=0A>=0A>note= you can also just add the ovirt-node directly from the engine (via =0A>the= gui/cli/api/sdk without the node registering (you would need to know =0A>s= et in the node the root password (for ssh) or the engine ssh key for =0A>th= is to be able to add the node without registering it first.=0A>if you regis= ter it, it will also get the engine ssh key as part of =0A>registration)=0A= =0A>>=0A>> David=0A>>=0A>>=A0 =A0 ---------------------------------------= ---------------------------------=0A>>=A0 =A0 *From:* Itamar Heim <iheim@r= edhat.com>=0A>>=A0 =A0 *To:* David Li <david_li@sbcglobal.net>; "users@ovi= rt.org"=0A>>=A0 =A0 <users@ovirt.org>=0A>>=A0 =A0 *Sent:* Wednesday, Dece= mber 18, 2013 1:17 AM=0A>>=A0 =A0 *Subject:* Re: [Users] What parameters t= o use in automated node=0A>>=A0 =A0 install to enable engine CLI register?= =0A>>=0A>>=A0 =A0 On 12/17/2013 05:59 PM, David Li wrote:=0A>>=A0 =A0 =A0 = Hi,=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 > My node install= followed the automatic install instructions in=0A>>=A0 =A0 =A0 >=0A>>=A0 = =A0 =A0 >=0A>>=A0 =A0 https://access.redhat.com/site/documentation/en-US/Re= d_Hat_Enterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-D= eployment_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RH= EV_Hypervisor_Kernel_Parameters_and_Automated_Installation.html=0A>>=A0 =A0= =A0 >=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 > For the kernel boot parameters, = I used=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 > management_server=3D<my machine = IP running ovirt-shell CLI>=0A>>=A0 =A0 =A0 > rhevm_admin_password=3Dxyz=0A=
=A0 =A0 =A0 >=0A>>=0A>>=A0 =A0 do you see the node in pending approval s= tate in the engine?'=0A>>=0A>>=0A>>=A0 =A0 =A0 > However I see a few proble= ms when I tried to use ovirt-shell CLI to=0A>>=A0 =A0 =A0 > connect to the = engine.=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 > [oVirt shell (disconnected)]# c= onnect --url=0A>>=A0 =A0 "http://<node-IP>:8080/api"=0A>>=A0 =A0 =A0 > --u= sername "admin" --password "xyz"=0A>>=0A>>=A0 =A0 ovirt-shell is to engine= to approve the node, not to node directly.=0A>>=0A>>=A0 =A0 =A0 >=0A>>=A0 = =A0 =A0 >=0A>>=A0 =A0 =A0 > 1. Though I can ping the node, but this cmd gav= e errors: error:=0A>>=A0 =A0 [Errno=0A>>=A0 =A0 =A0 > 113] No route to hos= t=0A>>=A0 =A0 =A0 > 2. What should I use for "--username" argument?=A0 What= is "@domain"?=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 > David=0A>>=A0 =A0 =A0 >= =0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 > __= _____________________________________________=0A>>=A0 =A0 =A0 > Users maili= ng list=0A>>=A0 =A0 =A0 > Users@ovirt.org <mailto:Users@ovirt.org>=0A>>=A0 = =A0 =A0 > http://lists.ovirt.org/mailman/listinfo/users=0A>>=A0 =A0 =A0 >= =0A>>=0A>>=0A>>=0A>=0A>=0A>=0A> --1013620071-328983298-1387402387=:72288 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Subject:</span></b> Re: [Users] What parameters to use in automated node i= nstall to enable engine CLI register?<br> </font> </div> <div class=3D"y_ms= g_container"><br>=0AOn 12/18/2013 10:39 AM, David Li wrote:<br>> Hi Itam= ar,<br>><br>> I am not sure I understand the question.<br>> How ca= n I see the node from over-shell CLI if it's not connected to it?<br>>&n= bsp; Are you refering to some CLI cmd that allows me to do this?<br><br><b= r>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><b= r>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>registrati= on)<br><br>><br>> David<br>><br>> ---------------= ---------------------------------------------------------<br>> &nb= sp; *From:* Itamar Heim <<a ymailto=3D"mailto:iheim@redhat.com" href=3D"mailto:ihei= m@redhat.com">iheim@redhat.com</a>><br>> *To:* David Li= <<a ymailto=3D"mailto:david_li@sbcglobal.net" href=3D"mailto:david_li@s= bcglobal.net">david_li@sbcglobal.net</a>>; "<a ymailto=3D"mailto:users@o= virt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a>"<br>> = ; <<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ov= irt.org">users@ovirt.org</a>><br>> *Sent:* Wednesday, D= ecember 18, 2013 1:17 AM<br>> *Subject:* Re: [Users] What =
<html><body><div style=3D"color:#000; background-color:#fff; font-family:ti= mes new roman, new york, times, serif;font-size:12pt"><div style=3D"font-fa= mily: '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=3D"font-family: 'times new roman', 'new york', tim= es, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transpar= ent; font-style: normal;"><span><br></span></div><div style=3D"background-c= olor: transparent;">[oVirt shell (disconnected)]# </div><div style=3D"= background-color: transparent;">[oVirt shell (disconnected)]# </div><d= iv style=3D"background-color: transparent;"><span></span></div><div style= =3D"background-color: transparent;">[oVirt shell (disconnected)]# </di= v><div style=3D"font-family: 'times new roman', 'new york', times, serif; f= ont-size: 12pt;"><br></div><div style=3D"font-family: 'times new roman', 'n= ew york', times, serif; font-size: 12pt;"><br></div><div style=3D"font-family: 'time= s 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 ha= ve 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=3D"font-family: 'times new roman', 'new york',= times, serif; font-size: 12pt;"><br></div><div style=3D"font-family: 'time= s new roman', 'new york', times, serif; font-size: 12pt;">David</div><div s= tyle=3D"font-family: 'times new roman', 'new york', times, serif; font-size= : 12pt;"><br><blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); = margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style=3D"font= -family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <d= iv style=3D"font-family: 'times new roman', 'new york', times, serif; font-si= ze: 12pt;"> <div dir=3D"ltr"> <hr size=3D"1"> <font size=3D"2" face=3D"Ari= al"> <b><span style=3D"font-weight:bold;">From:</span></b> Itamar Heim <= iheim@redhat.com><br> <b><span style=3D"font-weight: bold;">To:</span></= b> David Li <david_li@sbcglobal.net>; "users@ovirt.org" <users@ovi= rt.org> <br> <b><span style=3D"font-weight: bold;">Sent:</span></b> Wedn= esday, December 18, 2013 12:04 PM<br> <b><span style=3D"font-weight: bold;"= 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>> &g= t; My node install followed the automatic install instructions in<br>>&n= bsp; ><br>> ><br>> = <a href=3D"https://access.redhat.com/site/documentation/en-US/Red_Hat_Enter= prise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_G= uide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervis= or_Kernel_Parameters_and_Automated_Installation.html" target=3D"_blank">htt= ps://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtuali= zation/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Installin= g_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kernel_Para= meters_and_Automated_Installation.html</a><br>> >= <br>> ><br>> > For the = kernel boot parameters, I used<br>> ><br>>&nbs= p; > management_server=3D<my machine IP running ovirt-s= hell CLI><br>> > rhevm_admin_password=3Dxyz<br>> ><br>><br>>= ; do you see the node in pending approval state in the engine= ?'<br>><br>><br>> > However I see a few pro= blems when I tried to use ovirt-shell CLI to<br>> &g= t; connect to the engine.<br>> ><br>> &n= bsp; > [oVirt shell (disconnected)]# connect --url<br>> = "http://<node-IP>:8080/api"<br>> > = --username "admin" --password "xyz"<br>><br>> ovirt-she= ll is to engine to approve the node, not to node directly.<br>><br>>&= nbsp; ><br>> ><br>> &nb= sp; > 1. Though I can ping the node, but this cmd gave errors: er= ror:<br>> [Errno<br>> > 113] No = route to host<br>> > 2. What should I use for "--username" argument? What is "@domain"?<br>> &= nbsp; ><br>> > David<br>> &nbs= p; ><br>> ><br>> ><b= r>> ><br>> > __________= _____________________________________<br>> > User= s mailing list<br>> > <a ymailto=3D"mailto:Users@= ovirt.org" href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a> <mailto:<= a ymailto=3D"mailto:Users@ovirt.org" href=3D"mailto:Users@ovirt.org">Users@= ovirt.org</a>><br>> > http://lists.ovirt.org/m= ailman/listinfo/users<br>> ><br>><br>><br>&= gt;<br><br><br><br></div> </div> </div> </blockquote></div> </div></body>= </html> --1013620071-328983298-1387402387=:72288--