---482694697-632449327-1386811971=:4732
Content-Type: text/plain; charset=us-ascii
Hi Fabian,
I booted the new node stateless. But how can connect to it from ovirt engine cli? The cli
asks for three things: URL, user name and password. I am not sure how to put them on the
kernel boot option line.
David
---482694697-632449327-1386811971=:4732
Content-Type: text/html; charset=us-ascii
<table cellspacing="0" cellpadding="0"
border="0"><tr><td valign="top"><p
dir="ltr">Hi Fabian,</p>
<p dir="ltr">I booted the new node stateless. But how can connect to it
from ovirt engine cli? The cli asks for three things: URL, user name and password. I am
not sure how to put them on the kernel boot option line.</p>
<p dir="ltr">David<br>
</p>
</td></tr></table> <div id="_origMsg_">
<div>
<br />
<div>
<div style="font-size:0.9em">
<hr size="1">
<b>
<span
style="font-weight:bold">From:</span>
</b>
Fabian Deutsch &lt;fabiand(a)redhat.com&gt;;
<br>
<b>
<span
style="font-weight:bold">To:</span>
</b>
David Li &lt;david_li(a)sbcglobal.net&gt;;
<br>
<b>
<span
style="font-weight:bold">Cc:</span>
</b>
users(a)ovirt.org &lt;users(a)ovirt.org&gt;;
<br>
<b>
<span
style="font-weight:bold">Subject:</span>
</b>
Re: [Users] How to pxeboot ovrit node into memory
automatically? <br>
<b>
<span
style="font-weight:bold">Sent:</span>
</b>
Wed, Dec 11, 2013 8:00:40 AM
<br>
</div>
<br>
<table cellspacing="0" cellpadding="0"
border="0">
<tbody>
<tr>
<td valign="top">Am Dienstag, den
10.12.2013, 16:00 -0800 schrieb David Li:<BR>> Hi Fabian,<BR>>
<BR>> <BR>> Does the stateless ovirt node have the VDSM
built-in? <BR><BR>Hey David,<BR><BR>stateless is a feature or a
special mode of oVirt Node which is also<BR>available on the "oVirt Node for
oVirt Engine" image [1].<BR>But please note that you will have to approve the
Node in Engine after<BR>each reboot if you use the stateless feature. This bug [2]
might also<BR>tackle the problem of a stateless Node.<BR><BR>-
fabian<BR><BR>--<BR>[1]<BR><a
href="http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0...
target=_blank
>http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0.3-1.1.vdsm.fc19.iso</a><BR>[2]
<a
href="https://bugzilla.redhat.com/show_bug.cgi?id=875088" target=_blank
>https://bugzilla.redhat.com/show_bug.cgi?id=875088</a><BR><BR>>
<BR>> David<BR>>
<BR>>
<BR>>
______________________________________________________________<BR>>
From: Fabian Deutsch <<a
ymailto="mailto:fabiand@redhat.com"
href="javascript:return">fabiand@redhat.com</a>><BR>>
To: David Li <<a
ymailto="mailto:david_li@sbcglobal.net"
href="javascript:return">david_li@sbcglobal.net</a>>
<BR>> Cc: "<a
ymailto="mailto:users@ovirt.org"
href="javascript:return">users@ovirt.org</a>" <<a
ymailto="mailto:users@ovirt.org"
href="javascript:return">users@ovirt.org</a>>
<BR>> Sent: Thursday, December 5,
2013 11:47 PM<BR>> Subject: Re:
[Users] How to pxeboot ovrit node into memory<BR>>
automatically?<BR>>
<BR>>
<BR>>
Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb
David Li:<BR>> > Hi
Fabian,<BR>> >
<BR>> > I think the bad
route is a link local route 169.254.0.0/16.<BR>>
I am not quite sure if it's a real bug but in my case I
have<BR>> to remove this
route.<BR>> > Also I am
using ramdisk based node without a local disk. Can<BR>>
anything be persisted? <BR>>
<BR>> Hey
David,<BR>>
<BR>> when you refer to stateless
mode, then no, nothing can be<BR>>
persisted.<BR>> Regarding the
bug - Please provide the whole cmdline you are<BR>>
using to<BR>>
boot the node, to give me a chance to reproduce
it.<BR>>
<BR>> -
fabian<BR>>
<BR>> >
David<BR>> >
<BR>> >
<BR>> >
<BR>> > ----- Original
Message -----<BR>> >
> From: Fabian Deutsch <<a ymailto="mailto:fabiand@redhat.com"
href="javascript:return">fabiand@redhat.com</a>><BR>>
> > To: David Li <<a
ymailto="mailto:david_li@sbcglobal.net"
href="javascript:return">david_li@sbcglobal.net</a>><BR>>
> > Cc: "<a
ymailto="mailto:users@ovirt.org"
href="javascript:return">users@ovirt.org</a>" <<a
ymailto="mailto:users@ovirt.org"
href="javascript:return">users@ovirt.org</a>><BR>>
> > Sent: Wednesday, December 4, 2013
11:17 AM<BR>> > >
Subject: Re: [Users] How to pxeboot ovrit node into memory<BR>>
automatically?<BR>>
> > <BR>>
> > Am Montag, den 02.12.2013, 13:53 -0800 schrieb
David Li:<BR>> >
>> Hi Fabian,<BR>>
> >> <BR>>
> >> Everytime the ovirt node boots up, it adds
a route entry<BR>> that I have to
<BR>> > > manually
remove. Otherwise it messed up my routing. <BR>>
> >> How do I modify the boot
scripts to automatically
remove<BR>>
it?<BR>> > >
<BR>> > > Hey
David,<BR>> > >
<BR>> > > could you
file a bug for that route problem?<BR>>
> > <BR>>
> > You can try the following
workaround:<BR>> >
> <BR>> > >
# Create /etc/rc.d/rc.local with the commands to run<BR>>
> > $ vi
/etc/rc.d/rc.local<BR>> >
> $ chmod a+x /etc/rc.d/rc.local<BR>>
> > $ persist /etc/rc.d/rc.local<BR>>
> > <BR>>
> > /etc/rc.d/rc.local should then be run
on every boot.<BR>>
> > <BR>>
> > - fabian<BR>>
> > <BR>>
> >> ----- Original Message
-----<BR>> >
>> > From: Fabian Deutsch <<a
ymailto="mailto:fabiand@redhat.com"
href="javascript:return">fabiand@redhat.com</a>><BR>>
> >> > To: David
Li <<a ymailto="mailto:david_li@sbcglobal.net"
href="javascript:return">david_li@sbcglobal.net</a>><BR>>
> >> > Cc:
"<a ymailto="mailto:users@ovirt.org"
href="javascript:return">users@ovirt.org</a>" <<a
ymailto="mailto:users@ovirt.org"
href="javascript:return">users@ovirt.org</a>><BR>>
> >> > Sent:
Monday, October 28, 2013 7:45 AM<BR>>
> >> > Subject:
Re: [Users] How to pxeboot ovrit node into<BR>>
memory <BR>>
> > automatically?<BR>>
> >> >
<BR>> >
>> > Am Montag, den 28.10.2013, 07:42 -0700 schrieb
David<BR>>
Li:<BR>> >
>> >> <BR>>
> >> >> Hi
Fabian,<BR>> >
>> >> <BR>>
> >> >> Yes
rootpwd worked too! Thanks.<BR>>
> >> >> <BR>>
> >>
>> Two new problems:<BR>>
> >> >>
<BR>> >
>>
>> But I found there is no networking for the
stateless<BR>>
node.<BR>> >
>> >> What kernel boot options are used to
either use DHCP<BR>> or
<BR>> > >
statically <BR>> >
>> > configure the IP address for an interface on the
node?<BR>> >
>> >> <BR>>
> >> >> I
also need to have the sshd enabled. Is there a<BR>>
kernel option <BR>>
> > for that?<BR>>
> >> > <BR>>
> >> > Hey
David,<BR>> >
>> > <BR>>
> >> > here you can find all the
supported boot params in<BR>>
ovirt node:<BR>> >
>> > <BR>>
> ><BR>>
<a
href="http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=blob;f=scrip...
target=_blank
>http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=blob;f=scripts/ovirt-init-functions.sh.in;h=c4280caefb89c77afc1e8bec8c925aa7f3039733;hb=HEAD#l214</a><BR>>
> >> >
<BR>> >
>> > Greetings<BR>>
> >> >
fabian<BR>> >
>> > <BR>>
> >> >>
David<BR>>
> >> >>
<BR>> >
>> >> <BR>>
> >> >>
<BR>> >
>> >> ----- Original Message
-----<BR>> >
>> >> > From: Fabian Deutsch
<<a ymailto="mailto:fabiand@redhat.com"
href="javascript:return">fabiand@redhat.com</a>><BR>>
> >>
>> > To: David Li <<a
ymailto="mailto:david_li@sbcglobal.net"
href="javascript:return">david_li@sbcglobal.net</a>><BR>>
> >>
>> > Cc: "<a
ymailto="mailto:users@ovirt.org"
href="javascript:return">users@ovirt.org</a>" <<a
ymailto="mailto:users@ovirt.org"
href="javascript:return">users@ovirt.org</a>><BR>>
>
>> >> > Sent: Friday, October 25,
2013 9:10 AM<BR>> >
>> >> > Subject: Re: [Users] How to
pxeboot ovrit node<BR>> into
memory <BR>> >
>> > automatically?<BR>>
> >> >>
> <BR>> >
>> >> > Am Freitag, den 25.10.2013,
08:57 -0700 schrieb<BR>> David
Li:<BR>> >
>> >> >> Hi
Fabian,<BR>> >
>> >> >>
<BR>> >
>> >> >> That
kernel option worked for me! The node is<BR>>
booted <BR>>
> > up in RAM. <BR>>
> >> >
Thanks!<BR>> >
>> >> >>
<BR>> >
>> >> >> My next
question is:<BR>> >
>> >> >> How do I specify
the root login and passwd as<BR>>
boot <BR>> > >
parameters? <BR>> >
>> >> >
<BR>> >
>> >> > Hey
David.<BR>> >
>> >> >
<BR>> >
>> >> > Nice that it worked! Were
you able to register to<BR>> the
<BR>> > >
Engine?<BR>> >
>> >> >
<BR>> >
>> >> > You can use the adminpw=
and rootpw= kernel<BR>> arguments
to set <BR>> > >
<BR>> >
>> > passwords.<BR>>
> >> >>
> use<BR>> >
>> >> > $ openssl passwd -salt
42<BR>> >
>> >> > to create one or two
passwords<BR>> >
>> >> >
<BR>> >
>> >> >
Greetings<BR>> >
>> >> >
fabian<BR>> >
>> >> >
<BR>> >
>> >> >>
David<BR>> >
>> >> >>
<BR>> >
>> >> >>
<BR>> >
>> >> >>
<BR>> >
>> >> >>
<BR>> >
>> >> >> -----
Original Message -----<BR>>
> >> >> >>
> From: Fabian Deutsch <<a ymailto="mailto:fabiand@redhat.com"
href="javascript:return">fabiand@redhat.com</a>><BR>>
> >>
>> >> > To: David Li <<a
ymailto="mailto:david_li@sbcglobal.net"
href="javascript:return">david_li@sbcglobal.net</a>><BR>>
> >>
>> >> > Cc: "<a
ymailto="mailto:users@ovirt.org"
href="javascript:return">users@ovirt.org</a>"
<BR>> > >
<<a ymailto="mailto:users@ovirt.org"
href="javascript:return">users@ovirt.org</a>><BR>>
> >>
>> >> > Sent: Thursday, October 24,
2013 11:47 PM<BR>> >
>> >> >> >
Subject: Re: [Users] How to pxeboot ovrit<BR>>
node <BR>>
> > into memory <BR>>
> >> >> >
automatically?<BR>> >
>> >> >> >
<BR>> >
>> >> >> >
Am Donnerstag, den 24.10.2013, 16:26 -0700<BR>>
schrieb <BR>>
> > David Li:<BR>>
> >> >>
>> >> Hi,<BR>>
> >>
>> >> >>
<BR>> >
>> >> >>
>> I was following the instructions at
<BR>> >
>> >> > <a
href="http://www.ovirt.org/Node_PXE" target=_blank
>http://www.ovirt.org/Node_PXE</a>. My goal <BR>>
> >>
>> >> > is to use pxeboot (iPXE) to
boot the node<BR>> entirely
<BR>> > > into RAM
<BR>>
> >> > with
<BR>> >
>> >> > rootfs. What I
<BR>> >
>> >> >> >
got now is an installation screen which<BR>>
requires a <BR>>
> > local <BR>>
> >> > storage. My <BR>>
> >>
>> > system has <BR>>
> >> >>
>> > no disk and this doesn't quite work for me.
<BR>> >
>> >> >>
>> <BR>> >
>> >> >>
>> What's are the kernel parameters I need
<BR>> > > to use
to
<BR>> >
>> > boot the <BR>>
> >> >>
> node into <BR>> >
>> >> >> >
RAM automatically? I am OK as the first step<BR>>
with <BR>>
> > a <BR>>
> >> > stateless node.
<BR>> >
>> >> >> >
<BR>> >
>> >> >> >
Hey David,<BR>> >
>> >> >> >
<BR>> >
>> >> >> >
the stateless mode is currently not<BR>>
completely <BR>>
> > working with <BR>>
> >> > oVirt<BR>>
> >>
>> >> > Engine. That means a Node
needs to be<BR>> approved
<BR>> > > each time
it <BR>> >
>> > boots into<BR>>
> >> >>
>> > the stateless mode.<BR>>
> >>
>> >> > The stateless mode can be
entered by<BR>> appending
<BR>> > > stateless
to <BR>> >
>> > the <BR>>
> >> >> >
default<BR>> >
>> >>
>> > kernel arguments.<BR>>
> >>
>> >> >
<BR>> >
>> >> >> >
Greetings<BR>> >
>> >> >> >
fabian<BR>> >
>> >> >> >
<BR>> >
>> >> >
<BR>> >
>> > <BR>>
> > <BR>>
<BR>>
<BR>>
<BR>>
<BR><BR></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
---482694697-632449327-1386811971=:4732--