--431184223-1049269596-1387477928=:62908
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi Itamar,=0A=0A=0AUnfortunately I am restricted to using CLI on the machin=
e running the engine. =A0Is there any way to use ovirt CLI to do this?=0A=
=0ADavid=0A=0A=0A=0A>________________________________=0A> From: Itamar Heim=
<iheim(a)redhat.com>=0A>To: David Li <david_li(a)sbcglobal.net>;
"users(a)ovirt.=
org" <users(a)ovirt.org> =0A>Sent: Wednesday, December 18, 2013 5:31
PM=0A>Su=
bject: Re: [Users] What parameters to use in automated node install to enab=
le engine CLI register?=0A> =0A>=0A>On 12/18/2013 04:33 PM, David Li wrote:=
=0A>> I am still confused. My ovirt shell cli is in "disconnected" mode
lik=
e this:=0A>>=0A>> [oVirt shell (disconnected)]#=0A>> [oVirt shell
(disconne=
cted)]#=0A>> [oVirt shell (disconnected)]#=0A>>=0A>>=0A>> The only
commands=
I can use are connect, exit and help. How do I see my=0A>> node?=A0 Or may=
be the question is if the parameters I provided to the=0A>> kernel boot opt=
ions have indeed enabled the node to register with the=0A>> engine. But aga=
in I have no way to know this. Is there a log on the node=0A>> side that mi=
ght give me some clues?=0A>=0A>well, to begin with, do you see the node in =
the engine via the webadmin gui?=0A>=0A>>=0A>>
David=0A>>=0A>>=A0 =A0 ----=
--------------------------------------------------------------------=0A>>=
=A0 =A0 *From:* Itamar Heim <iheim(a)redhat.com>=0A>>=A0 =A0 *To:* David Li=
<david_li(a)sbcglobal.net>; "users(a)ovirt.org"=0A>>=A0 =A0
<users(a)ovirt.org>=
=0A>>=A0 =A0 *Sent:* Wednesday, December 18, 2013 12:04 PM=0A>>=A0 =A0 *S=
ubject:* 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 10:3=
9 AM, David Li wrote:=0A>>=A0 =A0 =A0 > Hi Itamar,=0A>>=A0 =A0 =A0
>=0A>>=
=A0 =A0 =A0 > I am not sure I understand the question.=0A>>=A0 =A0 =A0 > Ho=
w can I see the node from over-shell CLI if it's not connected=0A>>=A0 =A0 =
to it?=0A>>=A0 =A0 =A0 >=A0 Are you refering to some CLI cmd that allows m=
e to do this?=0A>>=0A>>=0A>>=A0 =A0 if you PXE boot the node to
register t=
o the engine, it will register=0A>>=A0 =A0 itself in the engine, so the ov=
irt-shell can "see it" and approve it.=0A>>=0A>>=A0 =A0 note you
can also =
just add the ovirt-node directly from the engine (via=0A>>=A0 =A0 the gui/=
cli/api/sdk without the node registering (you would need to=0A>>=A0 =A0 kn=
ow=0A>>=A0 =A0 set in the node the root password (for ssh) or the engine s=
sh key for=0A>>=A0 =A0 this to be able to add the node without registering=
it first.=0A>>=A0 =A0 if you register it, it will also get the engine ssh=
key as part of=0A>>=A0 =A0 registration)=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(a)redhat.com <mailto:iheim@redhat.com=
>=0A>>=A0 =A0 =A0 >=A0 =A0 *To:* David Li
<david_li(a)sbcglobal.net=0A>>=A0 =
=A0
<mailto:david_li@sbcglobal.net>>; "users(a)ovirt.org=0A>>=A0 =A0
<mailt=
o:users@ovirt.org>"=0A>>=A0 =A0 =A0 >=A0 =A0 <users(a)ovirt.org
<mailto:users=
@ovirt.org>>=0A>>=A0 =A0 =A0 >=A0 =A0 *Sent:* Wednesday, December 18, 2013
=
1:17 AM=0A>>=A0 =A0 =A0 >=A0 =A0 *Subject:* Re: [Users] What parameters to =
use in automated node=0A>>=A0 =A0 =A0 >=A0 =A0 install to enable engine CLI=
register?=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 On 12/17/2013
05:59 P=
M, David Li wrote:=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 > Hi,=0A>>=A0 =A0 =A0
>=A0 =
=A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0
=A0 > My =
node install followed the automatic install instructions in=0A>>=A0 =A0 =A0=
=A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0
=A0 =A0 >=0A>>=A0 =A0 h=
ttps://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtua=
lization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Install=
ing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kernel_Pa=
rameters_and_Automated_Installation.html=0A>>=A0 =A0 =A0 >=A0 =A0 =A0
>=0A>=
=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0
> For the kernel b=
oot parameters, I used=0A>>=A0 =A0 =A0 >=A0 =A0 =A0
>=0A>>=A0 =A0 =A0 >=A0 =
=A0 =A0 > management_server=3D<my machine IP running ovirt-shell
CLI>=0A>>=
=A0 =A0 =A0 >=A0 =A0 =A0 > rhevm_admin_password=3Dxyz=0A>>=A0 =A0 =A0 >=A0
=
=A0 =A0 >=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 do you see the
node in=
pending approval state in the engine?'=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0
=A0 >=
=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 > However I see a few problems when I tried t=
o use=0A>>=A0 =A0 ovirt-shell CLI to=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >
connec=
t to the engine.=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0
=A0 =
=A0 > [oVirt shell (disconnected)]# connect --url=0A>>=A0 =A0 =A0 >=A0 =A0 =
"http://<node-IP>:8080/api"=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >
--username "admi=
n" --password "xyz"=0A>>=A0 =A0 =A0 >=0A>>=A0 =A0 =A0
>=A0 =A0 ovirt-shell =
is to engine to approve the node, not to node=0A>>=A0 =A0 directly.=0A>>=
=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0
=A0 =A0 >=
=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 > 1. Though I can ping the node, but this cmd=
gave errors:=0A>>=A0 =A0 error:=0A>>=A0 =A0 =A0 >=A0 =A0
[Errno=0A>>=A0 =
=A0 =A0 >=A0 =A0 =A0 > 113] No route to host=0A>>=A0 =A0 =A0 >=A0 =A0 =A0
>=
2. What should I use for "--username" argument?=A0 What is=0A>>=A0 =A0
"@=
domain"?=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0 >=A0 =A0
=A0 > Davi=
d=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 >=A0 =A0 =A0 >=0A>>=A0 =A0 =A0
>=A0 =A0=
=A0 > _______________________________________________=0A>>=A0 =A0 =A0 >=A0=
=A0 =A0 > Users mailing list=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >
Users(a)ovirt.or=
g <mailto:Users@ovirt.org>=0A>>=A0 =A0 <mailto:Users@ovirt.org
<mailto:Use=
rs(a)ovirt.org>>=0A>>=A0 =A0 =A0 >=A0 =A0 =A0 >
http://lists.ovirt.org/mailma=
n/listinfo/users=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>
--431184223-1049269596-1387477928=:62908
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"color:#000; background-color:#fff;
font-family:ti=
mes new roman, new york, times, serif;font-size:12pt"><div><span>Hi
Itamar,=
</span></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px;
font-famil=
y: 'times new roman', 'new york', times, serif; background-color:
transpare=
nt; font-style: normal;"><span><br></span></div><div
style=3D"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></spa=
n></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family:
't=
imes new roman', 'new york', times, serif; background-color: transparent; f=
ont-style: normal;"><span>Unfortunately I am restricted to using CLI on
the=
machine running the engine. Is there any way to use ovirt CLI to do =
this?</span></div><div style=3D"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=3D"col=
or: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new yor=
k', times, serif; background-color: transparent; font-style:
normal;"><span=
David</span></div><div><br><blockquote
style=3D"border-left: 2px solid rgb=
(16, 16, 255); margin-left: 5px;
margin-top: 5px; padding-left: 5px;"> <di=
v style=3D"font-family: 'times new roman', 'new york', times, serif;
font-s=
ize: 12pt;"> <div style=3D"font-family: 'times new roman',
'new york', time=
s, serif; font-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 &lt;iheim(a)redhat.com&gt;<br>
<b><span style=3D"font-weight: b=
old;">To:</span></b> David Li
&lt;david_li(a)sbcglobal.net&gt;; "users(a)ovirt.=
org" &lt;users(a)ovirt.org&gt; <br> <b><span
style=3D"font-weight: bold;">Sen=
t:</span></b> Wednesday, December 18, 2013 5:31 PM<br> <b><span
style=3D"fo=
nt-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/18/2013 04:33 PM, David Li
wrote:<br>>=
I am still confused. My ovirt shell cli is in "disconnected" mode like thi=
s:<br>><br>> [oVirt shell (disconnected)]#<br>>
[oVirt shell (disc=
onnected)]#<br>> [oVirt shell
(disconnected)]#<br>><br>><br>> T=
he only commands I can use are connect, exit and help. How do I see my<br>&=
gt; node? Or maybe the question is if the parameters I provided to th=
e<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 o=
n the node<br>> side that might give me some clues?<br><br>well,
to begi=
n with, do you see the node in the engine via the webadmin
gui?<br><br>>=
<br>> David<br>><br>>
------------------------------=
------------------------------------------<br>> *From:*
It=
amar Heim <<a ymailto=3D"mailto:iheim@redhat.com"
href=3D"mailto:iheim@redhat.com">iheim@redhat.com</a>><br>>
&n=
bsp; *To:* David Li <<a ymailto=3D"mailto:david_li@sbcglobal.net"
href=
=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>>;
"<a ymai=
lto=3D"mailto:users@ovirt.org"
href=3D"mailto:users@ovirt.org">users@ovirt.=
org</a>"<br>> <<a
ymailto=3D"mailto:users@ovirt.org" hr=
ef=3D"mailto:users@ovirt.org">users@ovirt.org</a>><br>>
=
*Sent:* Wednesday, December 18, 2013 12:04 PM<br>>
*Subje=
ct:* Re: [Users] What parameters to use in automated node<br>>
&nb=
sp; install to enable engine CLI register?<br>><br>>
O=
n 12/18/2013 10:39 AM, David Li wrote:<br>>
> Hi =
Itamar,<br>>
><br>> > I=
am not sure I understand the question.<br>>
> Ho=
w can I see the node from over-shell CLI if it's not
connected<br>> =
;
to it?<br>> > Are you
refering to some CL=
I cmd that allows me to do
this?<br>><br>><br>> if y=
ou PXE boot the node to register to the engine, it will
register<br>>&nb=
sp; itself in the engine, so the ovirt-shell can "see it" and
appro=
ve it.<br>><br>> note you can also just
add the ovirt-n=
ode directly from the engine (via<br>> the
gui/cli/api/sdk=
without the node registering (you would need to<br>>
know=
<br>> set in the node the root password (for ssh) or
the e=
ngine ssh key for<br>> this to be able to add the node
wit=
hout registering it first.<br>> if you register it, it
wil=
l also get the engine ssh key as part of<br>>
registration=
)<br>><br>>
><br>> >=
David<br>>
><br>>
><br>>
-----------------------------------------------=
-------------------------<br>>
> *Fr=
om:* Itamar Heim <<a ymailto=3D"mailto:iheim@redhat.com"
href=3D"mailto:=
iheim@redhat.com">iheim(a)redhat.com</a> <mailto:<a
ymailto=3D"mailto:ihei=
m(a)redhat.com"
href=3D"mailto:iheim@redhat.com">iheim@redhat.com</a>>>=
<br>> > *To:*
David Li <<a ymailt=
o=3D"mailto:david_li@sbcglobal.net"
href=3D"mailto:david_li@sbcglobal.net">=
david_li(a)sbcglobal.net</a><br>&gt;&nbsp;
<mailto:<a ymailto=3D"m=
ailto:david_li@sbcglobal.net"
href=3D"mailto:david_li@sbcglobal.net">david_=
li(a)sbcglobal.net</a>&gt;&gt;; "<a
ymailto=3D"mailto:users@ovirt.org" href=
=3D"mailto:users@ovirt.org">users@ovirt.org</a><br>>
<m=
ailto:<a ymailto=3D"mailto:users@ovirt.org"
href=3D"mailto:users@ovirt.org"=
users(a)ovirt.org</a>&gt;"<br>&gt;&nbsp;
> <=
;<a
ymailto=3D"mailto:users@ovirt.org"
href=3D"mailto:users@ovirt.org">users@o=
virt.org</a> <mailto:<a ymailto=3D"mailto:users@ovirt.org"
href=3D"mailt=
o: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>>
> instal=
l to enable engine CLI register?<br>>
><br>>&n=
bsp; > On 12/17/2013 05:59 PM, David Li
wrote=
:<br>> >
> Hi,<br>>&nbs=
p; >
><br>> =
> ><br>>
> =
> My node install followed the automatic install instructions in=
<br>> >
><br>>
> ><br>>
><br>&=
gt; <a
href=3D"https://access.redhat.com/site/documentation/e=
n-US/Red_Hat_Enterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide=
/sect-Deployment_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervi=
sors-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation.html" tar=
get=3D"_blank">https://access.redhat.com/site/documentation/...
nterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployme=
nt_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hype=
rvisor_Kernel_Parameters_and_Automated_Installation.html</a><br>>
=
>
><br>> >=
; ><br>>
> &n=
bsp; > For the kernel boot parameters, I used<br>>
 =
; > ><br>>
>
> management_server=3D<my machine IP running
ovirt-she=
ll CLI><br>> >
> rhevm_=
admin_password=3Dxyz<br>> >
&=
gt;<br>> ><br>>
> =
do you see the node in pending approval state in the
engine?'<br>&g=
t; ><br>>
><br>> =
> > However I see a
few problems wh=
en I tried to use<br>> ovirt-shell CLI
to<br>> &n=
bsp; > > connect to the
engine.<br>>&nb=
sp; >
><br>> =
> > [oVirt shell (disconnected)]# connect
--url<=
br>> >
"http://<node-IP>:8080/=
api"<br>> >
>
--username "admin" --password "xyz"<br>>
><br>&g=
t; > ovirt-shell is to engine
to approv=
e the node, not to node<br>>
directly.<br>>  =
; ><br>> >
><br>=
> >
><br>> =
> > 1. Though I can ping the
node, but th=
is cmd gave errors:<br>>
error:<br>>  =
; > [Errno<br>>
> &n=
bsp; > 113] No route to host<br>>
> &nbs=
p; > 2. What should I use for "--username" argument?
What i=
s<br>> "@domain"?<br>>
> &=
nbsp; ><br>>
> >=
David<br>> >
><br>> >
><br>>&nbs=
p; >
><br>> =
> ><br>>
> =
>
_______________________________________________<br>> =
> > Users mailing
list<br>> =
; > > <a
ymailto=3D"mailto:Users@ov=
irt.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@ov=
irt.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/us...
; >
><br>> &n=
bsp; ><br>>
><br>> >=
<br>><br>><br>><br><br><br><br></div>
</div> </div> </blockquote><=
/div> </div></body></html>
--431184223-1049269596-1387477928=:62908--