
=A0 =A0 =A0 >=A0 =A0 know=0A>>=A0 =A0 =A0 >=A0 =A0 set in the node the roo= t password (for ssh) or the engine ssh=0A>>=A0 =A0 key for=0A>>=A0 =A0 =A0= =A0 =A0 this to be able to add the node without registering it first.=0A>= =A0 =A0 =A0 >=A0 =A0 if you register it, it will also get the engine ssh k= ey as part of=0A>>=A0 =A0 =A0 >=A0 =A0 registration)=0A>>=A0 =A0 =A0 >=0A>>= =A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 > David=0A>>=A0 =A0= =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 > >=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 ----= --------------------------------------------------------------------=0A>>= =A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 *From:* Itamar Heim <iheim@redhat.com=0A>= =A0 =A0 <mailto:iheim@redhat.com> <mailto:iheim@redhat.com=0A>>=A0 =A0 <= mailto:iheim@redhat.com>>>=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 *To:* Davi= d Li <david_li@sbcglobal.net=0A>>=A0 =A0 <mailto:david_li@sbcglobal.net>= =0A>>=A0 =A0 =A0 >=A0 =A0 <mailto:david_li@sbcglobal.net=0A>>=A0 =A0 <mail= to:david_li@sbcglobal.net>>>; "users@ovirt.org=0A>>=A0 =A0 <mailto:users@o= virt.org>=0A>>=A0 =A0 =A0 >=A0 =A0 <mailto:users@ovirt.org <mailto:users@ov= irt.org>>"=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 <users@ovirt.org <mailto:u= sers@ovirt.org>=0A>>=A0 =A0 <mailto:users@ovirt.org <mailto:users@ovirt.or= g>>>=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 *Sent:* Wednesday, December 18, = 2013 1:17 AM=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 *Subject:* Re: [Users] W= hat parameters to use in=0A>>=A0 =A0 automated node=0A>>=A0 =A0 =A0 >=A0 = =A0 =A0 >=A0 =A0 install to enable engine CLI register?=0A>>=A0 =A0 =A0 >= =A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 On 12/17/2013 05:59 PM,= David Li wrote:=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > Hi,=0A>>=A0 = =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 = =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > My node install followed =
=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 > management_server=3D<my machine IP ru= nning ovirt-shell=0A>>=A0 =A0 CLI>=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 = =A0 > rhevm_admin_password=3Dxyz=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 = =0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 do y= ou see the node in pending approval state in the=0A>>=A0 =A0 engine?'=0A>>= =A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >= =A0 =A0 =A0 >=A0 =A0 =A0 > However I see a few problems when I tried to use= =0A>>=A0 =A0 =A0 >=A0 =A0 ovirt-shell CLI to=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >= =A0 =A0 =A0 > connect to the engine.=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 = =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > [oVirt shell (disconnecte= d)]# connect --url=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 "http://<node-IP>:= 8080/api"=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > --username "admin" --=
=A0 =A0 ovirt-shell is to engine to approve the node, not to node=0A>>=A0 = =A0 =A0 >=A0 =A0 directly.=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >= =A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>= =A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > 1. Though I can ping the node, but =
---204173969-770200664-1387501849=:83923 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Itamar,=0A=0AYes, I see what you mean. What I can do is like this on thr= ee different machines:=0A=0A=0ABrowser (M1) ------------- Ovirt-engine (M2)= ---------------- Ovirt-node stateless (M3)=0A=0AI can see the ovirt-engine= GUI in the Browser on M1. =A0But I can't login either the User Portal or A= dmin Portal. =A0This is my first time to use the GUI. My basic engine-setup= on M2 is like this:=0A=0A=A0 =A0 =A0 =A0 =A0--=3D=3D CONFIGURATION PREVIEW= =3D=3D--=0A=A0 =A0 =A0 =A0 =A0=0A=A0 =A0 =A0 =A0 =A0 Database name =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0: engine=0A=A0 =A0 =A0 =A0 =A0 Database= secured connection =A0 =A0 =A0 =A0: False=0A=A0 =A0 =A0 =A0 =A0 Database h= ost =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0: localhost=0A=A0 =A0 =A0 = =A0 =A0 Database user name =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : engine=0A=A0 = =A0 =A0 =A0 =A0 Database host name validation =A0 =A0 =A0: False=0A=A0 =A0 = =A0 =A0 =A0 Datbase port =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : 5432= =0A=A0 =A0 =A0 =A0 =A0 NFS setup =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0: True=0A=A0 =A0 =A0 =A0 =A0 NFS mount point =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0: /var/lib/exports/iso=0A=A0 =A0 =A0 =A0 =A0 Configure = WebSocket Proxy =A0 =A0 =A0 =A0 =A0: True=0A=A0 =A0 =A0 =A0 =A0 Host FQDN = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0: vm3=0A=A0 =A0 =A0 =A0 = =A0 Set application as default page =A0 =A0: True=0A=A0 =A0 =A0 =A0 =A0 Con= figure Apache SSL =A0 =A0 =A0 =A0 =A0 =A0 =A0 : True=0A=0A=0ADid I miss set= ting a user and an admin login name/pwd? =A0=0A=0ADavid=0A=0A=0A=0A>_______= _________________________=0A> From: Itamar Heim <iheim@redhat.com>=0A>To: D= avid Li <david_li@sbcglobal.net>; "users@ovirt.org" <users@ovirt.org> =0A>S= ent: Thursday, December 19, 2013 1:32 PM=0A>Subject: Re: [Users] What param= eters to use in automated node install to enable engine CLI register?=0A> = =0A>=0A>On 12/19/2013 01:32 PM, David Li wrote:=0A>> Hi Itamar,=0A>>=0A>>= =0A>> Unfortunately I am restricted to using CLI on the machine running the= =0A>> engine.=A0 Is there any way to use ovirt CLI to do this?=0A>=0A>you c= an't browse the engine from another machine to use its gui?=0A>=0A>yes, you= can do everything from the cli, to begin with, try to connect =0A>with it = to the engine and get the list of hosts.=0A>=0A>>=0A>> David=0A>>=0A>>=A0 = =A0 ----------------------------------------------------------------------= --=0A>>=A0 =A0 *From:* Itamar Heim <iheim@redhat.com>=0A>>=A0 =A0 *To:* D= avid Li <david_li@sbcglobal.net>; "users@ovirt.org"=0A>>=A0 =A0 <users@ovi= rt.org>=0A>>=A0 =A0 *Sent:* Wednesday, December 18, 2013 5:31 PM=0A>>=A0 = =A0 *Subject:* Re: [Users] What parameters to use in automated node=0A>>= =A0 =A0 install to enable engine CLI register?=0A>>=0A>>=A0 =A0 On 12/18/= 2013 04:33 PM, David Li wrote:=0A>>=A0 =A0 =A0 > I am still confused. My ov= irt shell cli is in "disconnected" mode=0A>>=A0 =A0 like this:=0A>>=A0 =A0= =A0 >=0A>>=A0 =A0 =A0 > [oVirt shell (disconnected)]#=0A>>=A0 =A0 =A0 > [o= Virt shell (disconnected)]#=0A>>=A0 =A0 =A0 > [oVirt shell (disconnected)]#= =0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 > The only commands I = can use are connect, exit and help. How do I=0A>>=A0 =A0 see my=0A>>=A0 = =A0 =A0 > node?=A0 Or maybe the question is if the parameters I provided to= the=0A>>=A0 =A0 =A0 > kernel boot options have indeed enabled the node to = register with the=0A>>=A0 =A0 =A0 > engine. But again I have no way to know= this. Is there a log on=0A>>=A0 =A0 the node=0A>>=A0 =A0 =A0 > side that = might give me some clues?=0A>>=0A>>=A0 =A0 well, to begin with, do you see= the node in the engine via the=0A>>=A0 =A0 webadmin gui?=0A>>=0A>>=A0 =A0= =A0 >=0A>>=A0 =A0 =A0 > David=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=0A>>=A0 = =A0 ----------------------------------------------------------------------= --=0A>>=A0 =A0 =A0 >=A0 =A0 *From:* Itamar Heim <iheim@redhat.com <mailto:i= heim@redhat.com>>=0A>>=A0 =A0 =A0 >=A0 =A0 *To:* David Li <david_li@sbcglob= al.net=0A>>=A0 =A0 <mailto:david_li@sbcglobal.net>>; "users@ovirt.org=0A>>= =A0 =A0 <mailto:users@ovirt.org>"=0A>>=A0 =A0 =A0 >=A0 =A0 <users@ovirt.or= g <mailto:users@ovirt.org>>=0A>>=A0 =A0 =A0 >=A0 =A0 *Sent:* Wednesday, Dec= ember 18, 2013 12:04 PM=0A>>=A0 =A0 =A0 >=A0 =A0 *Subject:* Re: [Users] Wha= t parameters to use in automated node=0A>>=A0 =A0 =A0 >=A0 =A0 install to e= nable engine CLI register?=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 On 12= /18/2013 10:39 AM, David Li wrote:=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 > Hi Itamar= ,=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 > I am not su= re I understand the question.=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 > How can I see = the node from over-shell CLI if it's not=0A>>=A0 =A0 connected=0A>>=A0 =A0= =A0 > to it?=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 Are you refering to some CL= I cmd that allows me to do this?=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=0A>>= =A0 =A0 =A0 >=A0 =A0 if you PXE boot the node to register to the engine, it= will=0A>>=A0 =A0 register=0A>>=A0 =A0 =A0 >=A0 =A0 itself in the engine, = so the ovirt-shell can "see it" and=0A>>=A0 =A0 approve it.=0A>>=A0 =A0 = =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 note you can also just add the ovirt-node di= rectly from the=0A>>=A0 =A0 engine (via=0A>>=A0 =A0 =A0 >=A0 =A0 the gui/c= li/api/sdk without the node registering (you would=0A>>=A0 =A0 need to=0A>= the automatic install=0A>>=A0 =A0 instructions in=0A>>=A0 =A0 =A0 >=A0 =A0= =A0 >=A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 = =A0 =A0 >=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 https://access.redhat.com/site/docu= mentation/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Hypervisor_Deplo= yment_Guide/sect-Deployment_Guide-Installing_Red_Hat_Enterprise_Virtualizat= ion_Hypervisors-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installatio= n.html=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0= =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > For the ker= nel boot parameters, I used=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>= password "xyz"=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 = this cmd gave=0A>>=A0 =A0 errors:=0A>>=A0 =A0 =A0 >=A0 =A0 error:=0A>>=A0 = =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 [Errno=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 = =A0 > 113] No route to host=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > 2. = What should I use for "--username" argument?=0A>>=A0 =A0 What is=0A>>=A0 = =A0 =A0 >=A0 =A0 "@domain"?=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>=
=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > David=0A>>=A0 =A0 =A0 >=A0 =A0 =A0=
=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 = =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 = =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > ___________________________________________= ____=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > Users mailing list=0A>>=A0= =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 > Users@ovirt.org <mailto:Users@ovirt.or= g>=0A>>=A0 =A0 <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>=0A>>=A0 = =A0 =A0 >=A0 =A0 <mailto:Users@ovirt.org <mailto:Users@ovirt.org>=0A>>=A0 = =A0 <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>>=0A>>=A0 =A0 =A0 >= =A0 =A0 =A0 >=A0 =A0 =A0 > http://lists.ovirt.org/mailman/listinfo/users=0A= =A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A= =A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0= =0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=0A>>=0A>>=0A>>=0A>=0A>=0A>=0A> ---204173969-770200664-1387501849=:83923 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Yes, I see what you mean. What I can do is like this on three different ma= chines:</span></div><div style=3D"font-family: 'times new roman', 'new york= ', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: tr= ansparent; font-style: normal;"><span><br></span></div><div style=3D"font-f= amily: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><b= r></span></div><div style=3D"font-family: 'times new roman', 'new york', ti= mes, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transpa= rent; font-style: normal;"><span>Browser (M1) ------------- Ovirt-engine (M=
<br></span></div><div style=3D"font-family: 'times new roman', 'new york',= times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: tran= sparent; font-style: normal;">I can see the ovirt-engine GUI in the Browser= on M1. But I can't login either the User Portal or Admin Portal. &nb= sp;This is my first time to use the GUI. My basic engine-setup on M2 is lik= e this:</div><div style=3D"font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: tran= sparent; font-style: normal;"><br></div><div style=3D"background-color: tra= nsparent;"> --=3D=3D CONFIGURATION PREVIEW= =3D=3D--</div><div style=3D"background-color: transparent;"> = </div><div style=3D"background-color: transparent;">&nb= sp; Database name &= nbsp; : engine</div><div style=3D"= background-color: transparent;"> Database= secured connection : False</div><div style=3D"b= ackground-color: transparent;"> Database = host = : localhost</div><div style=3D"background-color: transparent;"> = Database user name = : engine</div><div style=3D"background-color: transpa= rent;"> Database host name validation &nb= sp; : False</div><div style=3D"background-color: transparent;"= Datbase port  = ; : 5432</div><div style= =3D"background-color: transparent;"> NFS = setup = : True</div><div style=3D"background-color: transparen= t;"> NFS mount point = : /var/lib/exports/iso</di= v><div style=3D"background-color: transparent;"> = Configure WebSocket Proxy : True<= /div><div style=3D"background-color: transparent;"> &nb= sp; Host FQDN &= nbsp; : vm3</div><div style=3D"background-color:=
<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>= Hi Itamar,</span></div><div style=3D"font-family: 'times new roman', 'new y= ork', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color:= transparent; font-style: normal;"><span><br></span></div><div style=3D"fon= t-family: 'times new roman', 'new york', times, serif; font-size: 16px; col= or: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span= 2) ---------------- Ovirt-node stateless (M3)</span></div><div style=3D"fon= t-family: 'times new roman', 'new york', times, serif; font-size: 16px; col= or: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span= transparent;"> Set application as defaul= t page : True</div><div style=3D"background-color: transparent= ;"> Configure Apache SSL &n= bsp; : True</div><div style=3D"font-family: 'ti= mes new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div = style=3D"font-family: 'times new roman', 'new york', times, serif; font-siz= e: 12pt;"><br></div><div style=3D"font-family: 'times new roman', 'new york= ', times, serif; font-size: 12pt;">Did I miss setting a user and an admin l= ogin name/pwd? </div><div style=3D"font-family: 'times new roman', 'n= ew york', times, serif; font-size: 12pt;"><br></div><div style=3D"font-fami= ly: 'times new roman', 'new york', times, serif; font-size: 12pt;">David</d= iv><div style=3D"font-family: 'times new roman', 'new york', times, serif; font-si= ze: 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"fo= nt-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> = <div style=3D"font-family: 'times new roman', 'new york', times, serif; fon= t-size: 12pt;"> <div dir=3D"ltr"> <hr size=3D"1"> <font size=3D"2" face=3D= "Arial"> <b><span style=3D"font-weight:bold;">From:</span></b> Itamar Heim = <iheim@redhat.com><br> <b><span style=3D"font-weight: bold;">To:</spa= n></b> David Li <david_li@sbcglobal.net>; "users@ovirt.org" <users= @ovirt.org> <br> <b><span style=3D"font-weight: bold;">Sent:</span></b> = Thursday, December 19, 2013 1:32 PM<br> <b><span style=3D"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=3D"y_= msg_container"><br>=0AOn 12/19/2013 01:32 PM, David Li wrote:<br>> Hi It= amar,<br>><br>><br>> Unfortunately I am restricted to using CLI on= the machine running the<br>> engine. Is there any way to use ovir= t CLI to do this?<br><br>you can't browse the engine from another machine t= o use its gui?<br><br>yes, you can do everything from the cli, to begin wit= h, try to connect <br>with it to the engine and get the list of hosts.<br><= br>><br>> David<br>><br>> -----------------------= -------------------------------------------------<br>> *Fr= om:* Itamar Heim <<a ymailto=3D"mailto:iheim@redhat.com" href=3D"mailto:= iheim@redhat.com">iheim@redhat.com</a>><br>> *To:* Davi= d Li <<a ymailto=3D"mailto:david_li@sbcglobal.net" href=3D"mailto:david_= li@sbcglobal.net">david_li@sbcglobal.net</a>>; "<a ymailto=3D"mailto:use= rs@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a>"<br>>&= nbsp; <<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@o= virt.org</a>><br>> *Sent:* Wednesday, December 18, 2013= 5:31 PM<br>> *Subject:* Re: [Users] What parameters to us= e in automated node<br>> install to enable engine CLI regi= ster?<br>><br>> On 12/18/2013 04:33 PM, David Li wrote:= <br>> > I am still confused. My ovirt shell cli i= s in "disconnected" mode<br>> like this:<br>> &nb= sp; ><br>> > [oVirt shell (disconnected= )]#<br>> > [oVirt shell (disconnected)]#<br>>&= nbsp; > [oVirt shell (disconnected)]#<br>> = ><br>> ><br>> &= gt; 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>> &n= bsp; > kernel boot options have indeed enabled the node to regist= er with the<br>> > engine. But again I have no wa= y to know this. Is there a log on<br>> the node<br>>&nb= sp; > side that might give me some clues?<br>><br>>&= nbsp; well, to begin with, do you see the node in the engine via th= e<br>> webadmin gui?<br>><br>> &= gt;<br>> > David<br>> >= <br>> ><br>> -------------------= -----------------------------------------------------<br>> = > *From:* Itamar Heim <<a ymailto=3D"mailto:iheim= @redhat.com" href=3D"mailto:iheim@redhat.com">iheim@redhat.com</a> <mail= to:<a ymailto=3D"mailto:iheim@redhat.com" href=3D"mailto:iheim@redhat.com">iheim@redhat.com</a>>><br>> = ; > *To:* David Li <<a ymailto=3D"mailto:d= avid_li@sbcglobal.net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcg= lobal.net</a><br>> <mailto:<a ymailto=3D"mailto:david_l= i@sbcglobal.net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.= net</a>>>; "<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:user= s@ovirt.org">users@ovirt.org</a><br>> <mailto:<a ymailt= o=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.or= g</a>>"<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@ovir= t.org">users@ovirt.org</a>>><br>> > &= nbsp; *Sent:* Wednesday, December 18, 2013 12:04 PM<br>> &n= bsp; > *Subject:* Re: [Users] What parameters to use in automated node<br>= > > install to enable engine CLI reg= ister?<br>> ><br>> >&nb= sp; On 12/18/2013 10:39 AM, David Li wrote:<br>> &nb= sp; > > Hi Itamar,<br>> &g= t; ><br>> > &= nbsp; > I am not sure I understand the question.<br>> &n= bsp; > > How can I see the node from over-shell C= LI 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>> &n= bsp; > 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" an= d<br>> approve it.<br>> ><br>>= ; > note you can also just add the ovir= t-node directly from the<br>> engine (via<br>> &n= bsp; > the gui/cli/api/sdk without the node register= ing (you would<br>> need to<br>> &g= t; know<br>> > set in t= he node the root password (for ssh) or the engine ssh<br>> = key for<br>> > this to be able to a= dd the node without registering it first.<br>> >&= nbsp; if you register it, it will also get the engine ssh key as par= t of<br>> > registration)<br>> ><br>> = > ><br>> >  = ; > David<br>> > &g= t;<br>> > ><br>> ><b= r>> ------------------------------------------------------= ------------------<br>> > >= ; *From:* Itamar Heim <<a ymailto=3D"mailto:iheim@redhat.co= m" href=3D"mailto:iheim@redhat.com">iheim@redhat.com</a><br>> &nbs= p; <mailto:<a ymailto=3D"mailto:iheim@redhat.com" href=3D"mailto:iheim@= redhat.com">iheim@redhat.com</a>> <mailto:<a ymailto=3D"mailto:iheim@= redhat.com" href=3D"mailto:iheim@redhat.com">iheim@redhat.com</a><br>>&n= bsp; <mailto:<a ymailto=3D"mailto:iheim@redhat.com" href=3D"mail= to:iheim@redhat.com">iheim@redhat.com</a>>>><br>> = > > *To:* David Li <<a ymailto= =3D"mailto:david_li@sbcglobal.net" href=3D"mailto:david_li@sbcglobal.net">d= avid_li@sbcglobal.net</a><br>> <mailto:<a ymailto=3D"ma= ilto:david_li@sbcglobal.net" href=3D"mailto:david_li@sbcglobal.net">david_l= i@sbcglobal.net</a>><br>> > <m= ailto:<a ymailto=3D"mailto:david_li@sbcglobal.net" href=3D"mailto:david_li@= sbcglobal.net">david_li@sbcglobal.net</a><br>> <mailto:= <a ymailto=3D"mailto:david_li@sbcglobal.net" href=3D"mailto:david_li@sbcglo= bal.net">david_li@sbcglobal.net</a>>>>; "<a ymailto=3D"mailto:user= s@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a><br>>&nb= sp; <mailto:<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto= :users@ovirt.org">users@ovirt.org</a>><br>> >&= nbsp; <mailto:<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>> > >&nbs= p; <<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ov= irt.org">users@ovirt.org</a> <mailto:<a ymailto=3D"mailto:users@ovirt.or= g" href=3D"mailto:users@ovirt.org">users@ovirt.org</a>><br>> &n= bsp; <mailto:<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>&g= t; > > *Sent:* W= ednesday, December 18, 2013 1:17 AM<br>> > = > *Subject:* Re: [Users] What parameters to u= se in<br>> automated node<br>> >= > install to enable engine CLI register?<br>>&nb= sp; > ><br>> = > > On 12/17/2013 05:59 PM, David L= i wrote:<br>> > > &n= bsp; > Hi,<br>> > &= gt; ><br>> > = > ><br>> > = > > My node install followed the a= utomatic install<br>> instructions in<br>> = > > ><br>>  = ; > > ><br>> &nb= sp; > ><br>> ><br>>&= nbsp; <a href=3D"https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterpr= ise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Gui= de-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor= _Kernel_Parameters_and_Automated_Installation.html" target=3D"_blank">https= ://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualiza= tion/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Installing_= Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kernel_Parame= ters_and_Automated_Installation.html</a><br>> >&n= bsp; > ><br>>  = ; > > ><br>> &nbs= p; > > > For the ke= rnel boot parameters, I used<br>> > = > ><br>> > > > management_server=3D<m= y machine IP running ovirt-shell<br>> CLI><br>> = ; > > > rhev= m_admin_password=3Dxyz<br>> > = > ><br>> >  = ; ><br>> > >&nbs= p; do you see the node in pending approval state in the<br>> = ; engine?'<br>> > >= ;<br>> > ><br>> &= nbsp; > > > However= I see a few problems when I tried to use<br>> >&= nbsp; ovirt-shell CLI to<br>> > &nbs= p; > > connect to the engine.<br>> > > &n= bsp; ><br>> > >&= nbsp; > [oVirt shell (disconnected)]# connect --url<br>>= ; > > "http://&l= t;node-IP>:8080/api"<br>> >  = ; > > --username "admin" --password "xyz"<br>>= > ><br>> &nb= sp; > > ovirt-shell is to engine to = approve the node, not to node<br>> > = directly.<br>> > ><br>>= ; > > >= ;<br>> > > &n= bsp; ><br>> > > > 1. Though I can ping the node, but this cmd = gave<br>> errors:<br>> > &= nbsp; error:<br>> > > = ; [Errno<br>> > >&n= bsp; > 113] No route to host<br>> &= gt; > > 2. What should I use = for "--username" argument?<br>> What is<br>> &nbs= p; > "@domain"?<br>> >&nbs= p; > ><br>> = > > > David<br>> = > > ><br>>  = ; > > ><br>> &nbs= p; > > ><br>> > >  = ; ><br>> > >&nbs= p; > _______________________________________________<br>&g= t; > > &g= t; Users mailing list<br>> > = > > <a ymailto=3D"mailto:Users@ovirt.org" href=3D= "mailto:Users@ovirt.org">Users@ovirt.org</a> <mailto:<a ymailto=3D"mailt= o:Users@ovirt.org" href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a>><= br>> <mailto:<a ymailto=3D"mailto:Users@ovirt.org" href= =3D"mailto:Users@ovirt.org">Users@ovirt.org</a> <mailto:<a ymailto=3D"ma= ilto:Users@ovirt.org" href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a>&g= t;><br>> > <mailto:<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@ovir= t.org">Users@ovirt.org</a>><br>> <mailto:<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>> >= > > <a href=3D"http://lists.= ovirt.org/mailman/listinfo/users" target=3D"_blank">http://lists.ovirt.org/= mailman/listinfo/users</a><br>> > &n= bsp; > ><br>> > &= nbsp; ><br>> > >= <br>> > ><br>> &n= bsp; ><br>> ><br>> &nbs= p; ><br>><br>><br>><br><br><br><br></div> </div> </div> </blockquote></div> </div></body></html> ---204173969-770200664-1387501849=:83923--