[Users] How to pxeboot ovrit node into memory automatically?

Hi, I was following the instructions at http://www.ovirt.org/Node_PXE. My goal is to use pxeboot (iPXE) to boot the node entirely into RAM with rootfs. What I got now is an installation screen which requires a local storage. My system has no disk and this doesn't quite work for me. What's are the kernel parameters I need to use to boot the node into RAM automatically? I am OK as the first step with a stateless node. David

Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb David Li:
Hi,
I was following the instructions at http://www.ovirt.org/Node_PXE. My goal is to use pxeboot (iPXE) to boot the node entirely into RAM with rootfs. What I got now is an installation screen which requires a local storage. My system has no disk and this doesn't quite work for me.
What's are the kernel parameters I need to use to boot the node into RAM automatically? I am OK as the first step with a stateless node.
Hey David, the stateless mode is currently not completely working with oVirt Engine. That means a Node needs to be approved each time it boots into the stateless mode. The stateless mode can be entered by appending stateless to the default kernel arguments. Greetings fabian

Hi Fabian, That kernel option worked for me! The node is booted up in RAM. Thanks! My next question is: How do I specify the root login and passwd as boot parameters? David ----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Thursday, October 24, 2013 11:47 PM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb David Li:
Hi,
I was following the instructions at http://www.ovirt.org/Node_PXE. My goal is to use pxeboot (iPXE) to boot the node entirely into RAM with rootfs. What I got now is an installation screen which requires a local storage. My system has no disk and this doesn't quite work for me.
What's are the kernel parameters I need to use to boot the node into RAM automatically? I am OK as the first step with a stateless node.
Hey David,
the stateless mode is currently not completely working with oVirt Engine. That means a Node needs to be approved each time it boots into the stateless mode. The stateless mode can be entered by appending stateless to the default kernel arguments.
Greetings fabian

Am Freitag, den 25.10.2013, 08:57 -0700 schrieb David Li:
Hi Fabian,
That kernel option worked for me! The node is booted up in RAM. Thanks!
My next question is: How do I specify the root login and passwd as boot parameters?
Hey David. Nice that it worked! Were you able to register to the Engine? You can use the adminpw= and rootpw= kernel arguments to set passwords. use $ openssl passwd -salt 42 to create one or two passwords Greetings fabian
David
----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Thursday, October 24, 2013 11:47 PM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb David Li:
Hi,
I was following the instructions at http://www.ovirt.org/Node_PXE. My goal is to use pxeboot (iPXE) to boot the node entirely into RAM with rootfs. What I got now is an installation screen which requires a local storage. My system has no disk and this doesn't quite work for me.
What's are the kernel parameters I need to use to boot the node into RAM automatically? I am OK as the first step with a stateless node.
Hey David,
the stateless mode is currently not completely working with oVirt Engine. That means a Node needs to be approved each time it boots into the stateless mode. The stateless mode can be entered by appending stateless to the default kernel arguments.
Greetings fabian

Hi Fabian, Yes rootpwd worked too! Thanks. Two new problems: But I found there is no networking for the stateless node. What kernel boot options are used to either use DHCP or statically configure the IP address for an interface on the node? I also need to have the sshd enabled. Is there a kernel option for that? David ----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Friday, October 25, 2013 9:10 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Freitag, den 25.10.2013, 08:57 -0700 schrieb David Li:
Hi Fabian,
That kernel option worked for me! The node is booted up in RAM. Thanks!
My next question is: How do I specify the root login and passwd as boot parameters?
Hey David.
Nice that it worked! Were you able to register to the Engine?
You can use the adminpw= and rootpw= kernel arguments to set passwords. use $ openssl passwd -salt 42 to create one or two passwords
Greetings fabian
David
----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Thursday, October 24, 2013 11:47 PM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb David Li:
Hi,
I was following the instructions at http://www.ovirt.org/Node_PXE. My goal is to use pxeboot (iPXE) to boot the node entirely into RAM with rootfs. What I got now is an installation screen which requires a local storage. My system has no disk and this doesn't quite work for me.
What's are the kernel parameters I need to use to boot the node into RAM automatically? I am OK as the first step with a stateless node.
Hey David,
the stateless mode is currently not completely working with oVirt Engine. That means a Node needs to be approved each time it boots into the stateless mode. The stateless mode can be entered by appending stateless to the default kernel arguments.
Greetings fabian

Am Montag, den 28.10.2013, 07:42 -0700 schrieb David Li:
Hi Fabian,
Yes rootpwd worked too! Thanks.
Two new problems:
But I found there is no networking for the stateless node. What kernel boot options are used to either use DHCP or statically configure the IP address for an interface on the node?
I also need to have the sshd enabled. Is there a kernel option for that?
Hey David, here you can find all the supported boot params in ovirt node: http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=blob;f=scripts/ovirt-init-... Greetings fabian
David
----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Friday, October 25, 2013 9:10 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Freitag, den 25.10.2013, 08:57 -0700 schrieb David Li:
Hi Fabian,
That kernel option worked for me! The node is booted up in RAM. Thanks!
My next question is: How do I specify the root login and passwd as boot parameters?
Hey David.
Nice that it worked! Were you able to register to the Engine?
You can use the adminpw= and rootpw= kernel arguments to set passwords. use $ openssl passwd -salt 42 to create one or two passwords
Greetings fabian
David
----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Thursday, October 24, 2013 11:47 PM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb David Li:
Hi,
I was following the instructions at http://www.ovirt.org/Node_PXE. My goal is to use pxeboot (iPXE) to boot the node entirely into RAM with rootfs. What I got now is an installation screen which requires a local storage. My system has no disk and this doesn't quite work for me.
What's are the kernel parameters I need to use to boot the node into RAM automatically? I am OK as the first step with a stateless node.
Hey David,
the stateless mode is currently not completely working with oVirt Engine. That means a Node needs to be approved each time it boots into the stateless mode. The stateless mode can be entered by appending stateless to the default kernel arguments.
Greetings fabian

Hi Fabian, Everytime the ovirt node boots up, it adds a route entry that I have to manually remove. Otherwise it messed up my routing. How do I modify the boot scripts to automatically remove it? ----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Monday, October 28, 2013 7:45 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Montag, den 28.10.2013, 07:42 -0700 schrieb David Li:
Hi Fabian,
Yes rootpwd worked too! Thanks.
Two new problems:
But I found there is no networking for the stateless node. What kernel boot options are used to either use DHCP or statically
configure the IP address for an interface on the node?
I also need to have the sshd enabled. Is there a kernel option for that?
Hey David,
here you can find all the supported boot params in ovirt node: http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=blob;f=scripts/ovirt-init-...
Greetings fabian
David
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Friday, October 25, 2013 9:10 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Freitag, den 25.10.2013, 08:57 -0700 schrieb David Li:
Hi Fabian,
That kernel option worked for me! The node is booted up in RAM. Thanks!
My next question is: How do I specify the root login and passwd as boot parameters?
Hey David.
Nice that it worked! Were you able to register to the Engine?
You can use the adminpw= and rootpw= kernel arguments to set
use $ openssl passwd -salt 42 to create one or two passwords
Greetings fabian
David
----- Original Message ----- > From: Fabian Deutsch <fabiand@redhat.com> > To: David Li <david_li@sbcglobal.net> > Cc: "users@ovirt.org" <users@ovirt.org> > Sent: Thursday, October 24, 2013 11:47 PM > Subject: Re: [Users] How to pxeboot ovrit node into memory automatically? > > Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb David Li: >> Hi, >> >> I was following the instructions at http://www.ovirt.org/Node_PXE. My goal > is to use pxeboot (iPXE) to boot the node entirely into RAM with rootfs. What I > got now is an installation screen which requires a local storage. My system has > no disk and this doesn't quite work for me. >> >> What's are the kernel parameters I need to use to boot the node into > RAM automatically? I am OK as the first step with a stateless node. > > Hey David, > > the stateless mode is currently not completely working with oVirt > Engine. That means a Node needs to be approved each time it boots into > the stateless mode. > The stateless mode can be entered by appending stateless to
----- Original Message ----- passwords. the
default
> kernel arguments. > > Greetings > fabian >

Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li:
Hi Fabian,
Everytime the ovirt node boots up, it adds a route entry that I have to manually remove. Otherwise it messed up my routing. How do I modify the boot scripts to automatically remove it?
Hey David, could you file a bug for that route problem? You can try the following workaround: # Create /etc/rc.d/rc.local with the commands to run $ vi /etc/rc.d/rc.local $ chmod a+x /etc/rc.d/rc.local $ persist /etc/rc.d/rc.local /etc/rc.d/rc.local should then be run on every boot. - fabian
----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Monday, October 28, 2013 7:45 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Montag, den 28.10.2013, 07:42 -0700 schrieb David Li:
Hi Fabian,
Yes rootpwd worked too! Thanks.
Two new problems:
But I found there is no networking for the stateless node. What kernel boot options are used to either use DHCP or statically
configure the IP address for an interface on the node?
I also need to have the sshd enabled. Is there a kernel option for that?
Hey David,
here you can find all the supported boot params in ovirt node: http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=blob;f=scripts/ovirt-init-...
Greetings fabian
David
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Friday, October 25, 2013 9:10 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Freitag, den 25.10.2013, 08:57 -0700 schrieb David Li:
Hi Fabian,
That kernel option worked for me! The node is booted up in RAM. Thanks!
My next question is: How do I specify the root login and passwd as boot parameters?
Hey David.
Nice that it worked! Were you able to register to the Engine?
You can use the adminpw= and rootpw= kernel arguments to set
use $ openssl passwd -salt 42 to create one or two passwords
Greetings fabian
David
----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Thursday, October 24, 2013 11:47 PM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb David Li: > Hi, > > I was following the instructions at http://www.ovirt.org/Node_PXE. My goal is to use pxeboot (iPXE) to boot the node entirely into RAM with rootfs. What I got now is an installation screen which requires a local storage. My system has no disk and this doesn't quite work for me. > > What's are the kernel parameters I need to use to boot the node into RAM automatically? I am OK as the first step with a stateless node.
Hey David,
the stateless mode is currently not completely working with oVirt Engine. That means a Node needs to be approved each time it boots into the stateless mode. The stateless mode can be entered by appending stateless to
----- Original Message ----- passwords. the
default
kernel arguments.
Greetings fabian

Hi Fabian, I think the bad route is a link local route 169.254.0.0/16. I am not quite sure if it's a real bug but in my case I have to remove this route. Also I am using ramdisk based node without a local disk. Can anything be persisted? David ----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Wednesday, December 4, 2013 11:17 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li:
Hi Fabian,
Everytime the ovirt node boots up, it adds a route entry that I have to manually remove. Otherwise it messed up my routing. How do I modify the boot scripts to automatically remove it?
Hey David,
could you file a bug for that route problem?
You can try the following workaround:
# Create /etc/rc.d/rc.local with the commands to run $ vi /etc/rc.d/rc.local $ chmod a+x /etc/rc.d/rc.local $ persist /etc/rc.d/rc.local
/etc/rc.d/rc.local should then be run on every boot.
- fabian
----- Original Message -----
From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Monday, October 28, 2013 7:45 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Montag, den 28.10.2013, 07:42 -0700 schrieb David Li:
Hi Fabian,
Yes rootpwd worked too! Thanks.
Two new problems:
But I found there is no networking for the stateless node. What kernel boot options are used to either use DHCP or
statically configure the IP address for an interface on the node?
I also need to have the sshd enabled. Is there a kernel option
for that?
Hey David,
here you can find all the supported boot params in ovirt node:
http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=blob;f=scripts/ovirt-init-...
Greetings fabian
David
----- Original Message ----- > From: Fabian Deutsch <fabiand@redhat.com> > To: David Li <david_li@sbcglobal.net> > Cc: "users@ovirt.org" <users@ovirt.org> > Sent: Friday, October 25, 2013 9:10 AM > Subject: Re: [Users] How to pxeboot ovrit node into memory automatically? > > Am Freitag, den 25.10.2013, 08:57 -0700 schrieb David Li: >> Hi Fabian, >> >> That kernel option worked for me! The node is booted
Thanks!
>> >> My next question is: >> How do I specify the root login and passwd as boot
up in RAM. parameters?
> > Hey David. > > Nice that it worked! Were you able to register to the Engine? > > You can use the adminpw= and rootpw= kernel arguments to set
> use > $ openssl passwd -salt 42 > to create one or two passwords > > Greetings > fabian > >> David >> >> >> >> >> ----- Original Message ----- >> > From: Fabian Deutsch <fabiand@redhat.com> >> > To: David Li <david_li@sbcglobal.net> >> > Cc: "users@ovirt.org" <users@ovirt.org> >> > Sent: Thursday, October 24, 2013 11:47 PM >> > Subject: Re: [Users] How to pxeboot ovrit node into memory > automatically? >> > >> > Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb David Li: >> >> Hi, >> >> >> >> I was following the instructions at > http://www.ovirt.org/Node_PXE. My goal >> > is to use pxeboot (iPXE) to boot the node entirely into RAM with > rootfs. What I >> > got now is an installation screen which requires a local storage. My > system has >> > no disk and this doesn't quite work for me. >> >> >> >> What's are the kernel parameters I need to use to boot the > node into >> > RAM automatically? I am OK as the first step with a stateless node. >> > >> > Hey David, >> > >> > the stateless mode is currently not completely working with oVirt >> > Engine. That means a Node needs to be approved each time it boots into >> > the stateless mode. >> > The stateless mode can be entered by appending stateless to
passwords. the
> default >> > kernel arguments. >> > >> > Greetings >> > fabian >> > >

--=-R7WkZuHQymWmUdpI8NHg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb David Li: > Hi Fabian, >=20 > I think the bad route is a link local route 169.254.0.0/16. I am not quit= e sure if it's a real bug but in my case I have to remove this route. > Also I am using ramdisk based node without a local disk. Can anything be = persisted?=20 Hey David, when you refer to stateless mode, then no, nothing can be persisted. Regarding the bug - Please provide the whole cmdline you are using to boot the node, to give me a chance to reproduce it. - fabian > David >=20 >=20 >=20 > ----- Original Message ----- > > From: Fabian Deutsch <fabiand@redhat.com> > > To: David Li <david_li@sbcglobal.net> > > Cc: "users@ovirt.org" <users@ovirt.org> > > Sent: Wednesday, December 4, 2013 11:17 AM > > Subject: Re: [Users] How to pxeboot ovrit node into memory automaticall= y? > >=20 > > Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li: > >> Hi Fabian, > >>=20 > >> Everytime the ovirt node boots up, it adds a route entry that I have = to=20 > > manually remove. Otherwise it messed up my routing.=20 > >> How do I modify the boot scripts to automatically remove it? > >=20 > > Hey David, > >=20 > > could you file a bug for that route problem? > >=20 > > You can try the following workaround: > >=20 > > # Create /etc/rc.d/rc.local with the commands to run > > $ vi /etc/rc.d/rc.local > > $ chmod a+x /etc/rc.d/rc.local > > $ persist /etc/rc.d/rc.local > >=20 > > /etc/rc.d/rc.local should then be run on every boot. > >=20 > > - fabian > >=20 > >> ----- Original Message ----- > >> > From: Fabian Deutsch <fabiand@redhat.com> > >> > To: David Li <david_li@sbcglobal.net> > >> > Cc: "users@ovirt.org" <users@ovirt.org> > >> > Sent: Monday, October 28, 2013 7:45 AM > >> > Subject: Re: [Users] How to pxeboot ovrit node into memory=20 > > automatically? > >> >=20 > >> > Am Montag, den 28.10.2013, 07:42 -0700 schrieb David Li: > >> >>=20 > >> >> Hi Fabian, > >> >>=20 > >> >> Yes rootpwd worked too! Thanks. > >> >>=20 > >> >> Two new problems: > >> >>=20 > >> >> But I found there is no networking for the stateless node. > >> >> What kernel boot options are used to either use DHCP or=20 > > statically=20 > >> > configure the IP address for an interface on the node? > >> >>=20 > >> >> I also need to have the sshd enabled. Is there a kernel option= =20 > > for that? > >> >=20 > >> > Hey David, > >> >=20 > >> > here you can find all the supported boot params in ovirt node: > >> >=20 > > http://gerrit.ovirt.org/gitweb?p=3Dovirt-node.git;a=3Dblob;f=3Dscripts/= ovirt-init-functions.sh.in;h=3Dc4280caefb89c77afc1e8bec8c925aa7f3039733;hb= =3DHEAD#l214 > >> >=20 > >> > Greetings > >> > fabian > >> >=20 > >> >> David > >> >>=20 > >> >>=20 > >> >>=20 > >> >> ----- Original Message ----- > >> >> > From: Fabian Deutsch <fabiand@redhat.com> > >> >> > To: David Li <david_li@sbcglobal.net> > >> >> > Cc: "users@ovirt.org" <users@ovirt.org> > >> >> > Sent: Friday, October 25, 2013 9:10 AM > >> >> > Subject: Re: [Users] How to pxeboot ovrit node into memory=20 > >> > automatically? > >> >> >=20 > >> >> > Am Freitag, den 25.10.2013, 08:57 -0700 schrieb David Li: > >> >> >> Hi Fabian, > >> >> >>=20 > >> >> >> That kernel option worked for me! The node is booted=20 > > up in RAM.=20 > >> > Thanks! > >> >> >>=20 > >> >> >> My next question is: > >> >> >> How do I specify the root login and passwd as boot=20 > > parameters?=20 > >> >> >=20 > >> >> > Hey David. > >> >> >=20 > >> >> > Nice that it worked! Were you able to register to the=20 > > Engine? > >> >> >=20 > >> >> > You can use the adminpw=3D and rootpw=3D kernel arguments to se= t=20 > >=20 > >> > passwords. > >> >> > use > >> >> > $ openssl passwd -salt 42 > >> >> > to create one or two passwords > >> >> >=20 > >> >> > Greetings > >> >> > fabian > >> >> >=20 > >> >> >> David > >> >> >>=20 > >> >> >>=20 > >> >> >>=20 > >> >> >>=20 > >> >> >> ----- Original Message ----- > >> >> >> > From: Fabian Deutsch <fabiand@redhat.com> > >> >> >> > To: David Li <david_li@sbcglobal.net> > >> >> >> > Cc: "users@ovirt.org"=20 > > <users@ovirt.org> > >> >> >> > Sent: Thursday, October 24, 2013 11:47 PM > >> >> >> > Subject: Re: [Users] How to pxeboot ovrit node=20 > > into memory=20 > >> >> > automatically? > >> >> >> >=20 > >> >> >> > Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb=20 > > David Li: > >> >> >> >> Hi, > >> >> >> >>=20 > >> >> >> >> I was following the instructions at=20 > >> >> > http://www.ovirt.org/Node_PXE. My goal=20 > >> >> >> > is to use pxeboot (iPXE) to boot the node entirely=20 > > into RAM=20 > >> > with=20 > >> >> > rootfs. What I=20 > >> >> >> > got now is an installation screen which requires a=20 > > local=20 > >> > storage. My=20 > >> >> > system has=20 > >> >> >> > no disk and this doesn't quite work for me.=20 > >> >> >> >>=20 > >> >> >> >> What's are the kernel parameters I need=20 > > to use to=20 > >> > boot the=20 > >> >> > node into=20 > >> >> >> > RAM automatically? I am OK as the first step with=20 > > a=20 > >> > stateless node.=20 > >> >> >> >=20 > >> >> >> > Hey David, > >> >> >> >=20 > >> >> >> > the stateless mode is currently not completely=20 > > working with=20 > >> > oVirt > >> >> >> > Engine. That means a Node needs to be approved=20 > > each time it=20 > >> > boots into > >> >> >> > the stateless mode. > >> >> >> > The stateless mode can be entered by appending=20 > > stateless to=20 > >> > the=20 > >> >> > default > >> >> >> > kernel arguments. > >> >> >> >=20 > >> >> >> > Greetings > >> >> >> > fabian > >> >> >> >=20 > >> >> >=20 > >> >=20 > >=20 --=-R7WkZuHQymWmUdpI8NHg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAABAgAGBQJSoYD1AAoJEC9+uOgSHVGUg8MP/0Jx3cWme0c7rEaTjhLA3Q+s ylMtZIisHr6zXHzFenR+WbM+QPjJZeIj2S2oGHAmsen9XnIbsj8zzz3BGqVDs6cV hfm1mM7f030bmhkBe6N9cX27ebY//11K3jMyQT0UMdW22CRwyrNPinTOvm06+7zx CWC/ii8KjvvGAPiDPgSXMNfnM7Xc4JvRfJ5Bxn3h5nJaFtgS+4+ie0EV6zelVr57 tbBMu1svuMAM34YvfAzbt1PeTWoT+O8IwVGWuYwkNlgj9a6tS7jogPBX6xKvkbPU 0ZaKT3D8gladPADWaETHsxj3mJgNjDMzRY0+L41BsoqGNb8ho1jv6wumT/ZEnJ0r GXeWfT9h5iq9zHQJMlsKCMh9/w0KEsCW9eTp2vVEnJdfio2V+VBNZu9WYa112+IV vWvVect2geWdsYF2iDNTTnFBTEs29JTcLc0BAI1l5RV5VY+HHjpbbP9ol3Bax4h1 xtDfZrAtab1GcQq459EcxifkX4Sn3/xBQtQ4v0yd0Ht9/W1gl+Id2nGV0agui+FP WMq1E4tdsjIA/DLyTCpoogneGBxbamONuie+BcUuuDMnBPlwurKxmiiSHB9Y2/lr Uan7NF8iEYBdrMyJbsexMaLFLilzoiYmPUK7sEEIBm5P3yZJdzTHtbnizZRwwIck ExdmglXVxtnLdHwhtl6d =4YuX -----END PGP SIGNATURE----- --=-R7WkZuHQymWmUdpI8NHg--

could you file a bug for that route problem?=0A>> > =0A>> > You can tr= y the following workaround:=0A>> > =0A>> > # Create /etc/rc.d/rc.local with=
--431184223-617318750-1386720001=:4918 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Fabian,=0A=0ADoes the stateless ovirt node have the VDSM built-in?=A0=0A= =0ADavid=0A=0A=0A=0A>________________________________=0A> From: Fabian Deut= sch <fabiand@redhat.com>=0A>To: David Li <david_li@sbcglobal.net> =0A>Cc: "= users@ovirt.org" <users@ovirt.org> =0A>Sent: Thursday, December 5, 2013 11:= 47 PM=0A>Subject: Re: [Users] How to pxeboot ovrit node into memory automat= ically?=0A> =0A>=0A>Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb Davi= d Li:=0A>> Hi Fabian,=0A>> =0A>> I think the bad route is a link local rout= e 169.254.0.0/16. I am not quite sure if it's a real bug but in my case I h= ave to remove this route.=0A>> Also I am using ramdisk based node without a= local disk. Can anything be persisted? =0A>=0A>Hey David,=0A>=0A>when you = refer to stateless mode, then no, nothing can be persisted.=0A>Regarding th= e bug - Please provide the whole cmdline you are using to=0A>boot the node,= to give me a chance to reproduce it.=0A>=0A>- fabian=0A>=0A>> David=0A>> = =0A>> =0A>> =0A>> ----- Original Message -----=0A>> > From: Fabian Deutsch = <fabiand@redhat.com>=0A>> > To: David Li <david_li@sbcglobal.net>=0A>> > Cc= : "users@ovirt.org" <users@ovirt.org>=0A>> > Sent: Wednesday, December 4, 2= 013 11:17 AM=0A>> > Subject: Re: [Users] How to pxeboot ovrit node into mem= ory automatically?=0A>> > =0A>> > Am Montag, den 02.12.2013, 13:53 -0800 sc= hrieb David Li:=0A>> >>=A0 Hi Fabian,=0A>> >> =0A>> >>=A0 Everytime the ovi= rt node boots up, it adds a route entry that I have to =0A>> > manually rem= ove. Otherwise it messed up my routing. =0A>> >>=A0 How do I modify the bo= ot scripts to automatically remove it?=0A>> > =0A>> > Hey David,=0A>> > =0A= the commands to run=0A>> > $ vi /etc/rc.d/rc.local=0A>> > $ chmod a+x /etc= /rc.d/rc.local=0A>> > $ persist /etc/rc.d/rc.local=0A>> > =0A>> > /etc/rc.d= /rc.local should then be run on every boot.=0A>> > =0A>> > - fabian=0A>> > = =0A>> >>=A0 ----- Original Message -----=0A>> >>=A0 > From: Fabian Deutsch = <fabiand@redhat.com>=0A>> >>=A0 > To: David Li <david_li@sbcglobal.net>=0A>=
=A0 > Cc: "users@ovirt.org" <users@ovirt.org>=0A>> >>=A0 > Sent: Monday= , October 28, 2013 7:45 AM=0A>> >>=A0 > Subject: Re: [Users] How to pxeboot= ovrit node into memory =0A>> > automatically?=0A>> >>=A0 > =0A>> >>=A0 > A= m Montag, den 28.10.2013, 07:42 -0700 schrieb David Li:=0A>> >>=A0 >> =0A>>= =A0 >>=A0 Hi Fabian,=0A>> >>=A0 >> =0A>> >>=A0 >>=A0 Yes rootpwd worked = too! Thanks.=0A>> >>=A0 >> =0A>> >>=A0 >>=A0 Two new problems:=0A>> >>=A0 >= =0A>> >>=A0 >>=A0 But I found there is no networking for the stateless no= de.=0A>> >>=A0 >>=A0 What kernel boot options are used to either use DHCP= =A0 or =0A>> > statically =0A>> >>=A0 > configure the IP address for an int= erface on the node?=0A>> >>=A0 >> =0A>> >>=A0 >>=A0 I also need to have the= sshd enabled. Is there a kernel option =0A>> > for that?=0A>> >>=A0 > =0A>= =A0 > Hey David,=0A>> >>=A0 > =0A>> >>=A0 > here you can find all the s= upported boot params in ovirt node:=0A>> >>=A0 > =0A>> > http://gerrit.ovir= t.org/gitweb?p=3Dovirt-node.git;a=3Dblob;f=3Dscripts/ovirt-init-functions.s= h.in;h=3Dc4280caefb89c77afc1e8bec8c925aa7f3039733;hb=3DHEAD#l214=0A>> >>=A0= =0A>> >>=A0 > Greetings=0A>> >>=A0 > fabian=0A>> >>=A0 > =0A>> >>=A0 >>= =A0 David=0A>> >>=A0 >> =0A>> >>=A0 >> =0A>> >>=A0 >> =0A>> >>=A0 >>=A0 ---= -- Original Message -----=0A>> >>=A0 >>=A0 > From: Fabian Deutsch <fabiand@= redhat.com>=0A>> >>=A0 >>=A0 > To: David Li <david_li@sbcglobal.net>=0A>> >= =A0 >>=A0 > Cc: "users@ovirt.org" <users@ovirt.org>=0A>> >>=A0 >>=A0 > Sen= t: Friday, October 25, 2013 9:10 AM=0A>> >>=A0 >>=A0 > Subject: Re: [Users]= How to pxeboot ovrit node into memory =0A>> >>=A0 > automatically?=0A>> >>= =A0 >>=A0 > =0A>> >>=A0 >>=A0 > Am Freitag, den 25.10.2013, 08:57 -0700 sch= rieb David Li:=0A>> >>=A0 >>=A0 >>=A0 Hi Fabian,=0A>> >>=A0 >>=A0 >> =0A>> = =A0 >>=A0 >>=A0 That kernel option worked for me!=A0 The node is booted = =0A>> > up in RAM. =0A>> >>=A0 > Thanks!=0A>> >>=A0 >>=A0 >> =0A>> >>=A0 >>= =A0 >>=A0 My next question is:=0A>> >>=A0 >>=A0 >> How do I specify the roo= t login and passwd as boot =0A>> > parameters? =0A>> >>=A0 >>=A0 > =0A>> >>= =A0 >>=A0 > Hey David.=0A>> >>=A0 >>=A0 > =0A>> >>=A0 >>=A0 > Nice that it = worked! Were you able to register to the =0A>> > Engine?=0A>> >>=A0 >>=A0 >= =0A>> >>=A0 >>=A0 > You can use the adminpw=3D and rootpw=3D kernel argume= nts to set =0A>> > =0A>> >>=A0 > passwords.=0A>> >>=A0 >>=A0 > use=0A>> >>= =A0 >>=A0 > $ openssl passwd -salt 42=0A>> >>=A0 >>=A0 > to create one or t= wo passwords=0A>> >>=A0 >>=A0 > =0A>> >>=A0 >>=A0 > Greetings=0A>> >>=A0 >>= =A0 > fabian=0A>> >>=A0 >>=A0 > =0A>> >>=A0 >>=A0 >>=A0 David=0A>> >>=A0 >>= =A0 >> =0A>> >>=A0 >>=A0 >> =0A>> >>=A0 >>=A0 >> =0A>> >>=A0 >>=A0 >> =0A>>= =A0 >>=A0 >>=A0 ----- Original Message -----=0A>> >>=A0 >>=A0 >>=A0 > Fr= om: Fabian Deutsch <fabiand@redhat.com>=0A>> >>=A0 >>=A0 >>=A0 > To: David = Li <david_li@sbcglobal.net>=0A>> >>=A0 >>=A0 >>=A0 > Cc: "users@ovirt.org" = =0A>> > <users@ovirt.org>=0A>> >>=A0 >>=A0 >>=A0 > Sent: Thursday, October = 24, 2013 11:47 PM=0A>> >>=A0 >>=A0 >>=A0 > Subject: Re: [Users] How to pxeb= oot ovrit node =0A>> > into memory =0A>> >>=A0 >>=A0 > automatically?=0A>> = =A0 >>=A0 >>=A0 > =0A>> >>=A0 >>=A0 >>=A0 > Am Donnerstag, den 24.10.2013= , 16:26 -0700 schrieb =0A>> > David Li:=0A>> >>=A0 >>=A0 >>=A0 >>=A0 Hi,=0A=
=A0 >>=A0 >>=A0 >> =0A>> >>=A0 >>=A0 >>=A0 >>=A0 I was following the i= nstructions at =0A>> >>=A0 >>=A0 > http://www.ovirt.org/Node_PXE. My goal = =0A>> >>=A0 >>=A0 >>=A0 > is to use pxeboot (iPXE) to boot the node entirel= y =0A>> > into RAM =0A>> >>=A0 > with =0A>> >>=A0 >>=A0 > rootfs. What I = =0A>> >>=A0 >>=A0 >>=A0 > got now is an installation screen which requires = a =0A>> > local =0A>> >>=A0 > storage. My =0A>> >>=A0 >>=A0 > system has = =0A>> >>=A0 >>=A0 >>=A0 > no disk and this doesn't quite work for me. =0A>>= =A0 >>=A0 >>=A0 >> =0A>> >>=A0 >>=A0 >>=A0 >>=A0 What's are the kernel p= arameters I need =0A>> > to use to =0A>> >>=A0 > boot the =0A>> >>=A0 >>=A0= node into =0A>> >>=A0 >>=A0 >>=A0 > RAM automatically?=A0 I am OK as the= first step with =0A>> > a =0A>> >>=A0 > stateless node. =0A>> >>=A0 >>=A0 = =A0 > =0A>> >>=A0 >>=A0 >>=A0 > Hey David,=0A>> >>=A0 >>=A0 >>=A0 > =0A>>= =A0 >>=A0 >>=A0 > the stateless mode is currently not completely =0A>> >= working with =0A>> >>=A0 > oVirt=0A>> >>=A0 >>=A0 >>=A0 > Engine. That mea= ns a Node needs to be approved =0A>> > each time it =0A>> >>=A0 > boots int= o=0A>> >>=A0 >>=A0 >>=A0 > the stateless mode.=0A>> >>=A0 >>=A0 >>=A0 > The= stateless mode can be entered by appending =0A>> > stateless to =0A>> >>= =A0 > the =0A>> >>=A0 >>=A0 > default=0A>> >>=A0 >>=A0 >>=A0 > kernel argum= ents.=0A>> >>=A0 >>=A0 >>=A0 > =0A>> >>=A0 >>=A0 >>=A0 > Greetings=0A>> >>= =A0 >>=A0 >>=A0 > fabian=0A>> >>=A0 >>=A0 >>=A0 > =0A>> >>=A0 >>=A0 > =0A>>= =A0 > =0A>> > =0A>=0A>=0A>=0A> --431184223-617318750-1386720001=:4918 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
> >> <br>> >> Everytime the ovirt node boots up, i= t adds a route entry that I have to <br>> > manually remove. Otherwis= e it messed up my routing. <br>> >> How do I modify the boo= t scripts to automatically remove 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<b= r>> > $ 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=3D"mailto:fab= iand@redhat.com" href=3D"mailto:fabiand@redhat.com">fabiand@redhat.com</a>&= gt;<br>> >> > To: David Li <<a ymailto=3D"mailto:david= _li@sbcglobal.net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcgloba= l.net</a>><br>> >> > Cc: "<a ymailto=3D"mailto:users@o= virt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a>" <<a ymail= to=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.o= rg</a>><br>> >> > Sent: Monday, October 28, 2013 7:45 = AM<br>> >> > Subject: Re: [Users] How to pxeboot ovrit no= de into memory <br>> > automatically?<br>> >> > <br>> &= gt;> > Am Montag, den 28.10.2013, 07:42 -0700 schrieb David Li:= <br>> >> >> <br>> >> >> Hi = Fabian,<br>> >> >> <br>> >> >>&nb= sp; Yes rootpwd worked too! Thanks.<br>> >> >> <br>>= ; >> >> Two new problems:<br>> >> &g= t;> <br>> >> >> But I found there is no netwo= rking for the stateless node.<br>> >> >> What ke= rnel boot options are used to either use DHCP or <br>> > static= ally <br>> >> > configure the IP address for an interface= on the node?<br>> >> >> <br>> >> >&= gt; I also need to have the sshd enabled. Is there a kernel option <b= r>> > for that?<br>> >> > <br>> >> > Hey David,<br>> >> > <br>> >&g= t; > here you can find all the supported boot params in ovirt node= :<br>> >> > <br>> > http://gerrit.ovirt.org/gitweb?=
> >> >> > to create one or two passwords<br>= > >> >> > <br>> >> >> > Greetings<br>> >> >> > f= abian<br>> >> >> > <br>> >> &g= t;> >> David<br>> >> >> >= ;> <br>> >> >> >> <br>> >>&nbs=
<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 Fabian,= </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;">Does the statel= ess ovirt node have the VDSM built-in? </div><div style=3D"color: rgb(= 0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', time= s, serif; background-color: transparent; font-style: normal;"><br></div><di= v style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new ro= man', 'new york', times, serif; background-color: transparent; font-style: = normal;">David</div><div><br><blockquote style=3D"border-left: 2px solid rg= b(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div st= yle=3D"font-family: 'times new roman', 'new york', times, serif; font-size:= 12pt;"> <div style=3D"font-family: 'times new roman', 'new york', times, s= erif; 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> Fab= ian Deutsch <fabiand@redhat.com><br> <b><span style=3D"font-weight: b= old;">To:</span></b> David Li <david_li@sbcglobal.net> <br><b><span s= tyle=3D"font-weight: bold;">Cc:</span></b> "users@ovirt.org" <users@ovir= t.org> <br> <b><span style=3D"font-weight: bold;">Sent:</span></b> Thurs= day, December 5, 2013 11:47 PM<br> <b><span style=3D"font-weight: bold;">Su= bject:</span></b> Re: [Users] How to pxeboot ovrit node into memory automat= ically?<br> </font> </div> <div class=3D"y_msg_container"><br>=0AAm Donners= tag, den 05.12.2013, 16:30 -0800 schrieb David Li:<br>> Hi Fabian,<br>&g= t; <br>> I think the bad route is a link local route 169.254.0.0/16. I a= m not quite sure if it's a real bug but in my case I have to remove this ro= ute.<br>> Also I am using ramdisk based node without a local disk. Can a= nything be persisted? <br><br>Hey David,<br><br>when you refer to stateless= mode, then no, nothing can be persisted.<br>Regarding the bug - Please pro= vide the whole cmdline you are using to<br>boot the node, to give me a chan= ce to reproduce it.<br><br>- fabian<br><br>> David<br>> <br>> <br>= > <br>> ----- Original Message -----<br>> > From: Fabian Deutsc= h <<a ymailto=3D"mailto:fabiand@redhat.com" href=3D"mailto:fabiand@redha= t.com">fabiand@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>> > Cc: "<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@o= virt.org</a>" <<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:user= s@ovirt.org">users@ovirt.org</a>><br>> > Sent: Wednesday, December= 4, 2013 11:17 AM<br>> > Subject: Re: [Users] How to pxeboot ovrit no= de into memory automatically?<br>> > <br>> > Am Montag, den 02.= 12.2013, 13:53 -0800 schrieb David Li:<br>> >> Hi Fabian,<br= p=3Dovirt-node.git;a=3Dblob;f=3Dscripts/ovirt-init-functions.sh.in;h=3Dc428= 0caefb89c77afc1e8bec8c925aa7f3039733;hb=3DHEAD#l214<br>> >> = > <br>> >> > Greetings<br>> >> > fab= ian<br>> >> > <br>> >> >> Davi= d<br>> >> >> <br>> >> >> <br>>= >> >> <br>> >> >> ----- Origi= nal Message -----<br>> >> >> > From: Fabian D= eutsch <<a ymailto=3D"mailto:fabiand@redhat.com" href=3D"mailto:fabiand@= redhat.com">fabiand@redhat.com</a>><br>> >> >> = ; > To: David Li <<a ymailto=3D"mailto:david_li@sbcglobal.net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>&= gt; >> >> > Cc: "<a ymailto=3D"mailto:users@ovir= t.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a>" <<a ymailto= =3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org= </a>><br>> >> >> > Sent: Friday, October 2= 5, 2013 9:10 AM<br>> >> >> > Subject: Re: [Us= ers] How to pxeboot ovrit node into memory <br>> >> > aut= omatically?<br>> >> >> > <br>> >>&nb= sp; >> > Am Freitag, den 25.10.2013, 08:57 -0700 schrieb Dav= id Li:<br>> >> >> >> Hi Fabian,<br>&= gt; >> >> >> <br>> >> >>= >> That kernel option worked for me! The node is b= ooted <br>> > up in RAM. <br>> >> > Thanks!<br>> >> >> >> <br>> >> >>&nb= sp; >> My next question is:<br>> >> >>&nbs= p; >> How do I specify the root login and passwd as boot <br>> >= ; parameters? <br>> >> >> > <br>> >>= >> > Hey David.<br>> >> >> = > <br>> >> >> > Nice that it worked! Were= you able to register to the <br>> > Engine?<br>> >> &= gt;> > <br>> >> >> > You can use = the adminpw=3D and rootpw=3D kernel arguments to set <br>> > <br>>= >> > passwords.<br>> >> >> > = use<br>> >> >> > $ openssl passwd -salt 42<br= p; >> >> <br>> >> >> >> = <br>> >> >> >> ----- Original Messag= e -----<br>> >> >> >> > From: Fab= ian Deutsch <<a ymailto=3D"mailto:fabiand@redhat.com" href=3D"mailto:fab= iand@redhat.com">fabiand@redhat.com</a>><br>> >> >>= >> > To: David Li <<a ymailto=3D"mailto:david_li@s= bcglobal.net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net= </a>><br>> >> >> >> > Cc: "<a = ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a>" <br>> > <<a = ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ov= irt.org</a>><br>> >> >> >> > S= ent: Thursday, October 24, 2013 11:47 PM<br>> >> >>&nb= sp; >> > Subject: Re: [Users] How to pxeboot ovrit node <br>= > > into memory <br>> >> >> > automatic= ally?<br>> >> >> >> > <br>> &g= t;> >> >> > Am Donnerstag, den 24.10.20= 13, 16:26 -0700 schrieb <br>> > David Li:<br>> >> >= > >> >> Hi,<br>> >> >>= ; >> >> <br>> >> >> >= > >> I was following the instructions at <br>> >= > >> > <a href=3D"http://www.ovirt.org/Node_PXE" target=3D"_blank">http://www.ovirt.org/Node_PXE</a>. My goal <br>> >= > >> >> > is to use pxeboot (iPXE) to b= oot the node entirely <br>> > into RAM <br>> >> > w= ith <br>> >> >> > rootfs. What I <br>> >= ;> >> >> > got now is an installation s= creen which requires a <br>> > local <br>> >> > sto= rage. My <br>> >> >> > system has <br>> &g= t;> >> >> > no disk and this doesn't qu= ite work for me. <br>> >> >> >> >= > <br>> >> >> >> >> W= hat'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 with <br>> > a <br>&g= t; >> > stateless node. <br>> >> >>&nbs= p; >> > <br>> >> >> >> = ; > Hey David,<br>> >> >> >> >= <br>> >> >> >> > the stateless m= ode is currently not completely <br>> > working with <br>> >>= ; > oVirt<br>> >> >> >> >= ; Engine. That means a Node needs to be approved <br>> > each time it= <br>> >> > boots into<br>> >> >>&nb= sp; >> > the stateless mode.<br>> >> >>= >> > The stateless mode can be entered by appending <= br>> > stateless to <br>> >> > the <br>> >>= ; >> > default<br>> >> >> >> > kernel arguments.<br>> >> = ; >> >> > <br>> >> >> = >> > Greetings<br>> >> >> >&g= t; > fabian<br>> >> >> >> &= gt; <br>> >> >> > <br>> >> >= ; <br>> > <br><br><br><br></div> </div> </div> </blockquote></div> = </div></body></html> --431184223-617318750-1386720001=:4918--

--=-oO6urnztMIht7v43UQPt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Dienstag, den 10.12.2013, 16:00 -0800 schrieb David Li:
Hi Fabian, =20 =20 Does the stateless ovirt node have the VDSM built-in?=20
Hey David, stateless is a feature or a special mode of oVirt Node which is also available on the "oVirt Node for oVirt Engine" image [1]. But please note that you will have to approve the Node in Engine after each reboot if you use the stateless feature. This bug [2] might also tackle the problem of a stateless Node. - fabian -- [1] http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0.3-1.1.vdsm.f= c19.iso [2] https://bugzilla.redhat.com/show_bug.cgi?id=3D875088
=20 David =20 =20 ______________________________________________________________ From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net>=20 Cc: "users@ovirt.org" <users@ovirt.org>=20 Sent: Thursday, December 5, 2013 11:47 PM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically? =20 =20 Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb David Li: > Hi Fabian, >=20 > I think the bad route is a link local route 169.254.0.0/16. I am not quite sure if it's a real bug but in my case I have to remove this route. > Also I am using ramdisk based node without a local disk. Can anything be persisted?=20 =20 Hey David, =20 when you refer to stateless mode, then no, nothing can be persisted. Regarding the bug - Please provide the whole cmdline you are using to boot the node, to give me a chance to reproduce it. =20 - fabian =20 > David >=20 >=20 >=20 > ----- Original Message ----- > > From: Fabian Deutsch <fabiand@redhat.com> > > To: David Li <david_li@sbcglobal.net> > > Cc: "users@ovirt.org" <users@ovirt.org> > > Sent: Wednesday, December 4, 2013 11:17 AM > > Subject: Re: [Users] How to pxeboot ovrit node into memory automatically? > >=20 > > Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li: > >> Hi Fabian, > >>=20 > >> Everytime the ovirt node boots up, it adds a route entry that I have to=20 > > manually remove. Otherwise it messed up my routing.=20 > >> How do I modify the boot scripts to automatically remove it? > >=20 > > Hey David, > >=20 > > could you file a bug for that route problem? > >=20 > > You can try the following workaround: > >=20 > > # Create /etc/rc.d/rc.local with the commands to run > > $ vi /etc/rc.d/rc.local > > $ chmod a+x /etc/rc.d/rc.local > > $ persist /etc/rc.d/rc.local > >=20 > > /etc/rc.d/rc.local should then be run on every boot. > >=20 > > - fabian > >=20 > >> ----- Original Message ----- > >> > From: Fabian Deutsch <fabiand@redhat.com> > >> > To: David Li <david_li@sbcglobal.net> > >> > Cc: "users@ovirt.org" <users@ovirt.org> > >> > Sent: Monday, October 28, 2013 7:45 AM > >> > Subject: Re: [Users] How to pxeboot ovrit node into memory=20 > > automatically? > >> >=20 > >> > Am Montag, den 28.10.2013, 07:42 -0700 schrieb David Li: > >> >>=20 > >> >> Hi Fabian, > >> >>=20 > >> >> Yes rootpwd worked too! Thanks. > >> >>=20 > >> >> Two new problems: > >> >>=20 > >> >> But I found there is no networking for the stateless node. > >> >> What kernel boot options are used to either use DHCP or=20 > > statically=20 > >> > configure the IP address for an interface on the node? > >> >>=20 > >> >> I also need to have the sshd enabled. Is there a kernel option=20 > > for that? > >> >=20 > >> > Hey David, > >> >=20 > >> > here you can find all the supported boot params in ovirt node: > >> >=20 > > http://gerrit.ovirt.org/gitweb?p=3Dovirt-node.git;a=3Dblob;f=3Dsc= ripts/ovirt-init-functions.sh.in;h=3Dc4280caefb89c77afc1e8bec8c925aa7f30397= 33;hb=3DHEAD#l214 > >> >=20 > >> > Greetings > >> > fabian > >> >=20 > >> >> David > >> >>=20 > >> >>=20 > >> >>=20 > >> >> ----- Original Message ----- > >> >> > From: Fabian Deutsch <fabiand@redhat.com> > >> >> > To: David Li <david_li@sbcglobal.net> > >> >> > Cc: "users@ovirt.org" <users@ovirt.org> > >> >> > Sent: Friday, October 25, 2013 9:10 AM > >> >> > Subject: Re: [Users] How to pxeboot ovrit node into memory=20 > >> > automatically? > >> >> >=20 > >> >> > Am Freitag, den 25.10.2013, 08:57 -0700 schrieb David Li: > >> >> >> Hi Fabian, > >> >> >>=20 > >> >> >> That kernel option worked for me! The node is booted=20 > > up in RAM.=20 > >> > Thanks! > >> >> >>=20 > >> >> >> My next question is: > >> >> >> How do I specify the root login and passwd as boot=20 > > parameters?=20 > >> >> >=20 > >> >> > Hey David. > >> >> >=20 > >> >> > Nice that it worked! Were you able to register to the=20 > > Engine? > >> >> >=20 > >> >> > You can use the adminpw=3D and rootpw=3D kernel arguments to set=20 > >=20 > >> > passwords. > >> >> > use > >> >> > $ openssl passwd -salt 42 > >> >> > to create one or two passwords > >> >> >=20 > >> >> > Greetings > >> >> > fabian > >> >> >=20 > >> >> >> David > >> >> >>=20 > >> >> >>=20 > >> >> >>=20 > >> >> >>=20 > >> >> >> ----- Original Message ----- > >> >> >> > From: Fabian Deutsch <fabiand@redhat.com> > >> >> >> > To: David Li <david_li@sbcglobal.net> > >> >> >> > Cc: "users@ovirt.org"=20 > > <users@ovirt.org> > >> >> >> > Sent: Thursday, October 24, 2013 11:47 PM > >> >> >> > Subject: Re: [Users] How to pxeboot ovrit node=20 > > into memory=20 > >> >> > automatically? > >> >> >> >=20 > >> >> >> > Am Donnerstag, den 24.10.2013, 16:26 -0700 schrieb=20 > > David Li: > >> >> >> >> Hi, > >> >> >> >>=20 > >> >> >> >> I was following the instructions at=20 > >> >> > http://www.ovirt.org/Node_PXE. My goal=20 > >> >> >> > is to use pxeboot (iPXE) to boot the node entirely=20 > > into RAM=20 > >> > with=20 > >> >> > rootfs. What I=20 > >> >> >> > got now is an installation screen which requires a=20 > > local=20 > >> > storage. My=20 > >> >> > system has=20 > >> >> >> > no disk and this doesn't quite work for me.=20 > >> >> >> >>=20 > >> >> >> >> What's are the kernel parameters I need=20 > > to use to=20 > >> > boot the=20 > >> >> > node into=20 > >> >> >> > RAM automatically? I am OK as the first step with=20 > > a=20 > >> > stateless node.=20 > >> >> >> >=20 > >> >> >> > Hey David, > >> >> >> >=20 > >> >> >> > the stateless mode is currently not completely=20 > > working with=20 > >> > oVirt > >> >> >> > Engine. That means a Node needs to be approved=20 > > each time it=20 > >> > boots into > >> >> >> > the stateless mode. > >> >> >> > The stateless mode can be entered by appending=20 > > stateless to=20 > >> > the=20 > >> >> > default > >> >> >> > kernel arguments. > >> >> >> >=20 > >> >> >> > Greetings > >> >> >> > fabian > >> >> >> >=20 > >> >> >=20 > >> >=20 > >=20 =20 =20 =20 =20
--=-oO6urnztMIht7v43UQPt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAABAgAGBQJSqBuoAAoJEC9+uOgSHVGUC+8P/j1MTSMDEc7mpbVF1y7q3kWO 8Jf98ovvT5lGsrUZGuR1Kae+Dy5BsSfcDuDBGOuZJX4LQIVbGCjhVdOlOYG1CpSB 3orR2Sd/w+fQ9o7D8dGYnLiias6nvKwkQpgGed9ibMEkIrtJo62DCDEpcEBVTaUE nV3nA3uVQnmLRjfyMSOY0fvQZlvSWhQWhdbBBxuVUb44PiASuLH7hvZBwy6SUEXW eXikOSgin3bfSBjT14Cw/MqKwTPHm+kBw8Sur8TcVm2my0lheQEHU70lD6uYyqiv p8hFpyWTq3n06bmKmWyTH3NqN2+zoZpk1Oi4K/LcI8R1x+7YHWaEDKBfbz9mMqAp U636et0jtxb9X52xFL9vqEXzsFhctJ2XndvbAFPQ7fL7+Bd5x/Qf0Dh62W5Jw2+a uGLWKF8swj3BNMeFUjSjMjyCsKQ2v7pVxs8xiw4JsA6DxBrb6Z3u7kBroF72o3qM rWDxZb63dX/3T8JrVNUXxnSyL3i7VaDo2EEaOpT7EBIKbpoeUnlNmaoprd80LhfK fxyRg3Z4x4wZjqA9wbSNsmZLsk0EgO4DFaSpBO7sOfT7EV8FIVQI6+8osNEjOK3T EIUQKg20ADFOf3WWj4eL8ypjbTLSCDittUFsK+0kmqGrnr0WvttUOTOBaNsZZGTn xUiyY+VRmk8zgZ8vT7rn =XoBZ -----END PGP SIGNATURE----- --=-oO6urnztMIht7v43UQPt--

---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 <fabiand@redhat.com>; <br> <b> <span style="font-weight:bold">To:</span> </b> David Li <david_li@sbcglobal.net>; <br> <b> <span style="font-weight:bold">Cc:</span> </b> users@ovirt.org <users@ovirt.org>; <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.3-1.1.vdsm.fc..." 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=scripts/ovirt-init-..." 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--

--=-Gsg9rXjjnSvmt+OopBm4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Mittwoch, den 11.12.2013, 17:32 -0800 schrieb David Li: > Hi Fabian, >=20 > 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. >=20 > David >=20 >=20 >=20 Hey David, please take a look here to find the correct cmdline: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtu= alization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Instal= ling_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kernel_P= arameters_and_Automated_Installation.html - fabian >=20 > ______________________________________________________________________ > From: Fabian Deutsch <fabiand@redhat.com>;=20 > To: David Li <david_li@sbcglobal.net>;=20 > Cc: users@ovirt.org <users@ovirt.org>;=20 > Subject: Re: [Users] How to pxeboot ovrit node into memory > automatically?=20 > Sent: Wed, Dec 11, 2013 8:00:40 AM=20 >=20 >=20 > Am Dienstag, den 10.12.2013, 16:00 -0800 schrieb David Li: > > Hi Fabian, > >=20 > >=20 > > Does the stateless ovirt node have the VDSM built-in?=20 >=20 > Hey David, >=20 > stateless is a feature or a special mode of oVirt Node which is also > available on the "oVirt Node for oVirt Engine" image [1]. > But please note that you will have to approve the Node in Engine after > each reboot if you use the stateless feature. This bug [2] might also > tackle the problem of a stateless Node. >=20 > - fabian >=20 > -- > [1] > http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0.3-1.1.vdsm= .fc19.iso > [2] https://bugzilla.redhat.com/show_bug.cgi?id=3D875088 >=20 > >=20 > > David > >=20 > > =20 > > > ______________________________________________________________ > > From: Fabian Deutsch <fabiand@redhat.com> > > To: David Li <david_li@sbcglobal.net>=20 > > Cc: "users@ovirt.org" <users@ovirt.org>=20 > > Sent: Thursday, December 5, 2013 11:47 PM > > Subject: Re: [Users] How to pxeboot ovrit node into memory > > automatically? > > =20 > > =20 > > Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb David Li: > > > Hi Fabian, > > >=20 > > > I think the bad route is a link local route 169.254.0.0/16. > > I am not quite sure if it's a real bug but in my case I have > > to remove this route. > > > Also I am using ramdisk based node without a local disk. > Can > > anything be persisted?=20 > > =20 > > Hey David, > > =20 > > when you refer to stateless mode, then no, nothing can be > > persisted. > > Regarding the bug - Please provide the whole cmdline you are > > using to > > boot the node, to give me a chance to reproduce it. > > =20 > > - fabian > > =20 > > > David > > >=20 > > >=20 > > >=20 > > > ----- Original Message ----- > > > > From: Fabian Deutsch <fabiand@redhat.com> > > > > To: David Li <david_li@sbcglobal.net> > > > > Cc: "users@ovirt.org" <users@ovirt.org> > > > > Sent: Wednesday, December 4, 2013 11:17 AM > > > > Subject: Re: [Users] How to pxeboot ovrit node into > memory > > automatically? > > > >=20 > > > > Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li: > > > >> Hi Fabian, > > > >>=20 > > > >> Everytime the ovirt node boots up, it adds a route > entry > > that I have to=20 > > > > manually remove. Otherwise it messed up my routing.=20 > > > >> How do I modify the boot scripts to automatically > remove > > it? > > > >=20 > > > > Hey David, > > > >=20 > > > > could you file a bug for that route problem? > > > >=20 > > > > You can try the following workaround: > > > >=20 > > > > # Create /etc/rc.d/rc.local with the commands to run > > > > $ vi /etc/rc.d/rc.local > > > > $ chmod a+x /etc/rc.d/rc.local > > > > $ persist /etc/rc.d/rc.local > > > >=20 > > > > /etc/rc.d/rc.local should then be run on every boot. > > > >=20 > > > > - fabian > > > >=20 > > > >> ----- Original Message ----- > > > >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> > To: David Li <david_li@sbcglobal.net> > > > >> > Cc: "users@ovirt.org" <users@ovirt.org> > > > >> > Sent: Monday, October 28, 2013 7:45 AM > > > >> > Subject: Re: [Users] How to pxeboot ovrit node into > > memory=20 > > > > automatically? > > > >> >=20 > > > >> > Am Montag, den 28.10.2013, 07:42 -0700 schrieb David > > Li: > > > >> >>=20 > > > >> >> Hi Fabian, > > > >> >>=20 > > > >> >> Yes rootpwd worked too! Thanks. > > > >> >>=20 > > > >> >> Two new problems: > > > >> >>=20 > > > >> >> But I found there is no networking for the > stateless > > node. > > > >> >> What kernel boot options are used to either use > DHCP > > or=20 > > > > statically=20 > > > >> > configure the IP address for an interface on the > node? > > > >> >>=20 > > > >> >> I also need to have the sshd enabled. Is there a > > kernel option=20 > > > > for that? > > > >> >=20 > > > >> > Hey David, > > > >> >=20 > > > >> > here you can find all the supported boot params in > > ovirt node: > > > >> >=20 > > > > > > > http://gerrit.ovirt.org/gitweb?p=3Dovirt-node.git;a=3Dblob;f=3Dscripts/ov= irt-init-functions.sh.in;h=3Dc4280caefb89c77afc1e8bec8c925aa7f3039733;hb=3D= HEAD#l214 > > > >> >=20 > > > >> > Greetings > > > >> > fabian > > > >> >=20 > > > >> >> David > > > >> >>=20 > > > >> >>=20 > > > >> >>=20 > > > >> >> ----- Original Message ----- > > > >> >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> >> > To: David Li <david_li@sbcglobal.net> > > > >> >> > Cc: "users@ovirt.org" <users@ovirt.org> > > > >> >> > Sent: Friday, October 25, 2013 9:10 AM > > > >> >> > Subject: Re: [Users] How to pxeboot ovrit node > > into memory=20 > > > >> > automatically? > > > >> >> >=20 > > > >> >> > Am Freitag, den 25.10.2013, 08:57 -0700 schrieb > > David Li: > > > >> >> >> Hi Fabian, > > > >> >> >>=20 > > > >> >> >> That kernel option worked for me! The node is > > booted=20 > > > > up in RAM.=20 > > > >> > Thanks! > > > >> >> >>=20 > > > >> >> >> My next question is: > > > >> >> >> How do I specify the root login and passwd as > > boot=20 > > > > parameters?=20 > > > >> >> >=20 > > > >> >> > Hey David. > > > >> >> >=20 > > > >> >> > Nice that it worked! Were you able to register to > > the=20 > > > > Engine? > > > >> >> >=20 > > > >> >> > You can use the adminpw=3D and rootpw=3D kernel > > arguments to set=20 > > > >=20 > > > >> > passwords. > > > >> >> > use > > > >> >> > $ openssl passwd -salt 42 > > > >> >> > to create one or two passwords > > > >> >> >=20 > > > >> >> > Greetings > > > >> >> > fabian > > > >> >> >=20 > > > >> >> >> David > > > >> >> >>=20 > > > >> >> >>=20 > > > >> >> >>=20 > > > >> >> >>=20 > > > >> >> >> ----- Original Message ----- > > > >> >> >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> >> >> > To: David Li <david_li@sbcglobal.net> > > > >> >> >> > Cc: "users@ovirt.org"=20 > > > > <users@ovirt.org> > > > >> >> >> > Sent: Thursday, October 24, 2013 11:47 PM > > > >> >> >> > Subject: Re: [Users] How to pxeboot ovrit > > node=20 > > > > into memory=20 > > > >> >> > automatically? > > > >> >> >> >=20 > > > >> >> >> > Am Donnerstag, den 24.10.2013, 16:26 -0700 > > schrieb=20 > > > > David Li: > > > >> >> >> >> Hi, > > > >> >> >> >>=20 > > > >> >> >> >> I was following the instructions at=20 > > > >> >> > http://www.ovirt.org/Node_PXE. My goal=20 > > > >> >> >> > is to use pxeboot (iPXE) to boot the node > > entirely=20 > > > > into RAM=20 > > > >> > with=20 > > > >> >> > rootfs. What I=20 > > > >> >> >> > got now is an installation screen which > > requires a=20 > > > > local=20 > > > >> > storage. My=20 > > > >> >> > system has=20 > > > >> >> >> > no disk and this doesn't quite work for me.=20 > > > >> >> >> >>=20 > > > >> >> >> >> What's are the kernel parameters I need=20 > > > > to use to=20 > > > >> > boot the=20 > > > >> >> > node into=20 > > > >> >> >> > RAM automatically? I am OK as the first step > > with=20 > > > > a=20 > > > >> > stateless node.=20 > > > >> >> >> >=20 > > > >> >> >> > Hey David, > > > >> >> >> >=20 > > > >> >> >> > the stateless mode is currently not > > completely=20 > > > > working with=20 > > > >> > oVirt > > > >> >> >> > Engine. That means a Node needs to be > > approved=20 > > > > each time it=20 > > > >> > boots into > > > >> >> >> > the stateless mode. > > > >> >> >> > The stateless mode can be entered by > > appending=20 > > > > stateless to=20 > > > >> > the=20 > > > >> >> > default > > > >> >> >> > kernel arguments. > > > >> >> >> >=20 > > > >> >> >> > Greetings > > > >> >> >> > fabian > > > >> >> >> >=20 > > > >> >> >=20 > > > >> >=20 > > > >=20 > > =20 > > =20 > > =20 > > =20 >=20 >=20 --=-Gsg9rXjjnSvmt+OopBm4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAABAgAGBQJSqdjVAAoJEC9+uOgSHVGUrc4P/RkLGNzaQkg1XR0+jgwA+esr W6UDnlCQdlA+iRGM8xh/E3Qdog2iyhwa5KwiGFhSgNp/QQCDmtqi872KEyHdHny9 p9FZgBAPiJo3kr23dKnRsxAjpiQoSyVo5AecNLZLxNJWBU01L5zIj2nI37yLjrSm ESXaKYuBbqNTLTr0nPZIksY3LXrUvDXoFY196tKhPvATe4biI+FPjDlPZAmQ0CLb eP9wsMpeZ3upi+X692BARTl/bzEh7LuWxNJK/RAfiHnTswGwH+HOMyhopkzTdJxX LQJa53Nf3lxjWf9VW5Qp/Sc2xrf08bTe45kUl4EKcK7YQCH0RhweUv4vKmAwAzEN q0ccOVmhm2BWJ3O/e+6PVS/uk3oMPxtWgfl+/ShrDrRD3Ch1h3Q6N9aKAAgcZvcK fHPrsU9/YVz0B5XY0WJ01oqAIUgMuNN7nE2nZCFIFfeyox964FaaNIIyJCkrjvai JxqgScta3v7PXKUbWTzrVyztE/hxwRmey21j9nSkKi02RHpwhc8yPt+bGNTMvZmY dwaNQditU9ucX1QB2119ICWTGqpx62KWl01xs+lQp7PLArRFSDmmEYXWSDbExOzD VPeXyKmCrVB2tM9++y98OvtcfFA4kjFBgUamVaxUXmgA1B8koym93MiqptfA6LF/ ljhZJeF+ZdV0S4b/8sGu =Cdzv -----END PGP SIGNATURE----- --=-Gsg9rXjjnSvmt+OopBm4--

; =0A>> To: David Li <david_li@sbcglobal.net>; =0A>> Cc: users@ovirt.org <= users@ovirt.org>; =0A>> Subject: Re: [Users] How to pxeboot ovrit node into= memory=0A>> automatically? =0A>> Sent: Wed, Dec 11, 2013 8:00:40 AM =0A>> = =0A>> =0A>> Am Dienstag, den 10.12.2013, 16:00 -0800 schrieb David Li:=0A>>= Hi Fabian,=0A>> > =0A>> > =0A>> > Does the stateless ovirt node have the= VDSM built-in? =0A>> =0A>> Hey David,=0A>> =0A>> stateless is a feature or= a special mode of oVirt Node which is also=0A>> available on the "oVirt No= de for oVirt Engine" image [1].=0A>> But please note that you will have to = approve the Node in Engine after=0A>> each reboot if you use the stateless = feature. This bug [2] might also=0A>> tackle the problem of a stateless Nod= e.=0A>> =0A>> - fabian=0A>> =0A>> --=0A>> [1]=0A>> http://resources.ovirt.o= rg/releases/3.3/iso/ovirt-node-iso-3.0.3-1.1.vdsm.fc19.iso=0A>> [2] https:/= /bugzilla.redhat.com/show_bug.cgi?id=3D875088=0A>> =0A>> > =0A>> > David=0A=
=0A>> >=A0 =A0 =A0 =A0 =0A>> >=0A>> __________________________________= ____________________________=0A>> >=A0 =A0 =A0 =A0 From: Fabian Deutsch <fa= biand@redhat.com>=0A>> >=A0 =A0 =A0 =A0 To: David Li <david_li@sbcglobal.ne= t> =0A>> >=A0 =A0 =A0 =A0 Cc: "users@ovirt.org" <users@ovirt.org> =0A>> >= =A0 =A0 =A0 =A0 Sent: Thursday, December 5, 2013 11:47 PM=0A>> >=A0 =A0 =A0= =A0 Subject: Re: [Users] How to pxeboot ovrit node into memory=0A>> >=A0 = =A0 =A0 =A0 automatically?=0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 =0A= =A0 =A0 =A0 =A0 Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb Davi= d Li:=0A>> >=A0 =A0 =A0 =A0 > Hi Fabian,=0A>> >=A0 =A0 =A0 =A0 > =0A>> >=A0= =A0 =A0 =A0 > I think the bad route is a link local route 169.254.0.0/16.= =0A>> >=A0 =A0 =A0 =A0 I am not quite sure if it's a real bug but in my cas= e I have=0A>> >=A0 =A0 =A0 =A0 to remove this route.=0A>> >=A0 =A0 =A0 =A0 = Also I am using ramdisk based node without a local disk.=0A>> Can=0A>> >= =A0 =A0 =A0 =A0 anything be persisted? =0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 = =A0 =A0 =A0 Hey David,=0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 when yo= u refer to stateless mode, then no, nothing can be=0A>> >=A0 =A0 =A0 =A0 pe= rsisted.=0A>> >=A0 =A0 =A0 =A0 Regarding the bug - Please provide the whole= cmdline you are=0A>> >=A0 =A0 =A0 =A0 using to=0A>> >=A0 =A0 =A0 =A0 boot =
=A0 =A0 =A0 =A0 - fabian=0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 > Da= vid=0A>> >=A0 =A0 =A0 =A0 > =0A>> >=A0 =A0 =A0 =A0 > =0A>> >=A0 =A0 =A0 =A0= =0A>> >=A0 =A0 =A0 =A0 > ----- Original Message -----=0A>> >=A0 =A0 =A0 = =A0 > > From: Fabian Deutsch <fabiand@redhat.com>=0A>> >=A0 =A0 =A0 =A0 > >= To: David Li <david_li@sbcglobal.net>=0A>> >=A0 =A0 =A0 =A0 > > Cc: "users= @ovirt.org" <users@ovirt.org>=0A>> >=A0 =A0 =A0 =A0 > > Sent: Wednesday, De= cember 4, 2013 11:17 AM=0A>> >=A0 =A0 =A0 =A0 > > Subject: Re: [Users] How = to pxeboot ovrit node into=0A>> memory=0A>> >=A0 =A0 =A0 =A0 automatically?= =0A>> >=A0 =A0 =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0 > > Am Montag, den 02.12.= 2013, 13:53 -0800 schrieb David Li:=0A>> >=A0 =A0 =A0 =A0 > >>=A0 Hi Fabian= ,=0A>> >=A0 =A0 =A0 =A0 > >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 Everytime the o= virt node boots up, it adds a route=0A>> entry=0A>> >=A0 =A0 =A0 =A0 that I= have to =0A>> >=A0 =A0 =A0 =A0 > > manually remove. Otherwise it messed up= my routing. =0A>> >=A0 =A0 =A0 =A0 > >>=A0 How do I modify the boot script= s to automatically=0A>> remove=0A>> >=A0 =A0 =A0 =A0 it?=0A>> >=A0 =A0 =A0 = =A0 > > =0A>> >=A0 =A0 =A0 =A0 > > Hey David,=0A>> >=A0 =A0 =A0 =A0 > > =0A=
=A0 =A0 =A0 =A0 > > could you file a bug for that route problem?=0A>> >= =A0 =A0 =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0 > > You can try the following wo= rkaround:=0A>> >=A0 =A0 =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0 > > # Create /et= c/rc.d/rc.local with the commands to run=0A>> >=A0 =A0 =A0 =A0 > > $ vi /et= c/rc.d/rc.local=0A>> >=A0 =A0 =A0 =A0 > > $ chmod a+x /etc/rc.d/rc.local=0A= =A0 =A0 =A0 =A0 > > $ persist /etc/rc.d/rc.local=0A>> >=A0 =A0 =A0 =A0 = =0A>> >=A0 =A0 =A0 =A0 > > /etc/rc.d/rc.local should then be run on eve= ry boot.=0A>> >=A0 =A0 =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0 > > - fabian=0A>>= =A0 =A0 =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 ----- Original Message= -----=0A>> >=A0 =A0 =A0 =A0 > >>=A0 > From: Fabian Deutsch <fabiand@redhat= .com>=0A>> >=A0 =A0 =A0 =A0 > >>=A0 > To: David Li <david_li@sbcglobal.net>= =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > Cc: "users@ovirt.org" <users@ovirt.org>=0A= =A0 =A0 =A0 =A0 > >>=A0 > Sent: Monday, October 28, 2013 7:45 AM=0A>> >= =A0 =A0 =A0 =A0 > >>=A0 > Subject: Re: [Users] How to pxeboot ovrit node in= to=0A>> >=A0 =A0 =A0 =A0 memory =0A>> >=A0 =A0 =A0 =A0 > > automatically?= =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > Am Montag= , den 28.10.2013, 07:42 -0700 schrieb David=0A>> >=A0 =A0 =A0 =A0 Li:=0A>> = =A0 =A0 =A0 =A0 > >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 Hi Fabian,= =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 Yes = rootpwd worked too! Thanks.=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >> =0A>> >=A0 =A0= =A0 =A0 > >>=A0 >>=A0 Two new problems:=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >> = =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 But I found there is no networking for=
=A0 David=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>= =A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>= =A0 ----- Original Message -----=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > From= : Fabian Deutsch <fabiand@redhat.com>=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >= To: David Li <david_li@sbcglobal.net>=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 = Cc: "users@ovirt.org" <users@ovirt.org>=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>= =A0 > Sent: Friday, October 25, 2013 9:10 AM=0A>> >=A0 =A0 =A0 =A0 > >>=A0 = =A0 > Subject: Re: [Users] How to pxeboot ovrit node=0A>> >=A0 =A0 =A0 = =A0 into memory =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > automatically?=0A>> >=A0 = =A0 =A0 =A0 > >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > Am Freit= ag, den 25.10.2013, 08:57 -0700 schrieb=0A>> >=A0 =A0 =A0 =A0 David Li:=0A>= =A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 Hi Fabian,=0A>> >=A0 =A0 =A0 =A0 > >= =A0 >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 That kernel option= worked for me!=A0 The node is=0A>> >=A0 =A0 =A0 =A0 booted =0A>> >=A0 =A0 = =A0 =A0 > > up in RAM. =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > Thanks!=0A>> >=A0 = =A0 =A0 =A0 > >>=A0 >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 My = next question is:=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >> How do I specify t= he root login and passwd as=0A>> >=A0 =A0 =A0 =A0 boot =0A>> >=A0 =A0 =A0 = =A0 > > parameters? =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > =0A>> >=A0 =A0 = =A0 =A0 > >>=A0 >>=A0 > Hey David.=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > = =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > Nice that it worked! Were you able t= o register to=0A>> >=A0 =A0 =A0 =A0 the =0A>> >=A0 =A0 =A0 =A0 > > Engine?= =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0= You can use the adminpw=3D and rootpw=3D kernel=0A>> >=A0 =A0 =A0 =A0 ar= guments to set =0A>> >=A0 =A0 =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > =
=A0 >>=A0 > $ openssl passwd -salt 42=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>= =A0 > to create one or two passwords=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > = =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > Greetings=0A>> >=A0 =A0 =A0 =A0 > >>= =A0 >>=A0 > fabian=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0= =A0 > >>=A0 >>=A0 >>=A0 David=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 >>=A0 ----- Original Message -----=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 = =A0 > From: Fabian Deutsch <fabiand@redhat.com>=0A>> >=A0 =A0 =A0 =A0 > >= =A0 >>=A0 >>=A0 > To: David Li <david_li@sbcglobal.net>=0A>> >=A0 =A0 =A0 = =A0 > >>=A0 >>=A0 >>=A0 > Cc: "users@ovirt.org" =0A>> >=A0 =A0 =A0 =A0 > > = <users@ovirt.org>=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > Sent: Thursda= y, October 24, 2013 11:47 PM=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > Su= bject: Re: [Users] How to pxeboot ovrit=0A>> >=A0 =A0 =A0 =A0 node =0A>> >= =A0 =A0 =A0 =A0 > > into memory =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > auto= matically?=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 = =A0 > >>=A0 >>=A0 >>=A0 > Am Donnerstag, den 24.10.2013, 16:26 -0700=0A>> >= =A0 =A0 =A0 =A0 schrieb =0A>> >=A0 =A0 =A0 =A0 > > David Li:=0A>> >=A0 =A0 = =A0 =A0 > >>=A0 >>=A0 >>=A0 >>=A0 Hi,=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >= =A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 >>=A0 I was following th= e instructions at =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > http://www.ovirt.o= rg/Node_PXE. My goal =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > is to use=
--1013620071-1922147181-1386897821=:40672 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Fabian,=0A=0A=0AI have now a setup like this:=0A=0A=0A=A0 +-----------+ = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 +----------= ----------+=0A=A0 | =A0ovirt-shell | =A0---- network ---------| =A0 =A0 =A0= stateless node =A0 |=0A+------------+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0+-------------------+=0A=0AA few more questi= ons:=0A=0A1. Where is the source to build this image?=A0ovirt-node-iso-3.0.= 3-1.1.vdsm.fc19.iso. Is it the same as=A0http://gerrit.ovirt.org/p/ovirt-no= de.git?=0A=0A2. I am a little confused by the kernel parameter rhevm_admin_= password and management_server. Are they used by ovirt-shell to connect to = the ovirt-node? For example in ovirt-shell, =A0should I use "connect =A0--u= rl http://<ovirt-node-ip-addr>:8080/api --user "user@domain" --password "rh= evm_admin_password"? =A0Also in this command line, what's "user@domain" and= where do I specify "user" and "domain"?=0A=0A=0AThanks.=0A=0A=0A>_________= _______________________=0A> From: Fabian Deutsch <fabiand@redhat.com>=0A>To= : David Li <david_li@sbcglobal.net> =0A>Cc: "users@ovirt.org" <users@ovirt.= org> =0A>Sent: Thursday, December 12, 2013 7:40 AM=0A>Subject: Re: [Users] = How to pxeboot ovrit node into memory automatically?=0A> =0A>=0A>Am Mittwoc= h, den 11.12.2013, 17:32 -0800 schrieb David Li:=0A>> Hi Fabian,=0A>> =0A>>= I booted the new node stateless. But how can connect to it from ovirt=0A>>= engine cli? The cli asks for three things: URL, user name and=0A>> passwor= d. I am not sure how to put them on the kernel boot option=0A>> line.=0A>> = =0A>> David=0A>> =0A>> =0A>> =0A>=0A>Hey David,=0A>=0A>please take a look h= ere to find the correct cmdline:=0A>https://access.redhat.com/site/document= ation/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Hypervisor_Deploymen= t_Guide/sect-Deployment_Guide-Installing_Red_Hat_Enterprise_Virtualization_= Hypervisors-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation.ht= ml=0A>=0A>- fabian=0A>=0A>> =0A>> _________________________________________= _____________________________=0A>> From: Fabian Deutsch <fabiand@redhat.com= the node, to give me a chance to reproduce it.=0A>> >=A0 =A0 =A0 =A0 =0A>> = the=0A>> stateless=0A>> >=A0 =A0 =A0 =A0 node.=0A>> >=A0 =A0 =A0 =A0 > >>= =A0 >>=A0 What kernel boot options are used to either use=0A>> DHCP=0A>> >= =A0 =A0 =A0 =A0 or =0A>> >=A0 =A0 =A0 =A0 > > statically =0A>> >=A0 =A0 =A0= =A0 > >>=A0 > configure the IP address for an interface on the=0A>> node?= =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 I al= so need to have the sshd enabled. Is there a=0A>> >=A0 =A0 =A0 =A0 kernel o= ption =0A>> >=A0 =A0 =A0 =A0 > > for that?=0A>> >=A0 =A0 =A0 =A0 > >>=A0 > = =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > Hey David,=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >= =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > here you can find all the supported boot = params in=0A>> >=A0 =A0 =A0 =A0 ovirt node:=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >= =0A>> >=A0 =A0 =A0 =A0 > >=0A>> >=0A>> http://gerrit.ovirt.org/gitweb?p=3D= ovirt-node.git;a=3Dblob;f=3Dscripts/ovirt-init-functions.sh.in;h=3Dc4280cae= fb89c77afc1e8bec8c925aa7f3039733;hb=3DHEAD#l214=0A>> >=A0 =A0 =A0 =A0 > >>= =A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > Greetings=0A>> >=A0 =A0 =A0 =A0 > >>= =A0 > fabian=0A>> >=A0 =A0 =A0 =A0 > >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0= passwords.=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > use=0A>> >=A0 =A0 =A0 =A0 = pxeboot (iPXE) to boot the node=0A>> >=A0 =A0 =A0 =A0 entirely =0A>> >=A0 = =A0 =A0 =A0 > > into RAM =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > with =0A>> >=A0 = =A0 =A0 =A0 > >>=A0 >>=A0 > rootfs. What I =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >=
=A0 >>=A0 > got now is an installation screen which=0A>> >=A0 =A0 =A0 =A0 = requires a =0A>> >=A0 =A0 =A0 =A0 > > local =0A>> >=A0 =A0 =A0 =A0 > >>=A0 = storage. My =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > system has =0A>> >=A0 = =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > no disk and this doesn't quite work for m= e. =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >= =A0 >>=A0 >>=A0 >>=A0 What's are the kernel parameters I need =0A>> >=A0 = =A0 =A0 =A0 > > to use to =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > boot the =0A>> >= =A0 =A0 =A0 =A0 > >>=A0 >>=A0 > node into =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>= =A0 >>=A0 > RAM automatically?=A0 I am OK as the first step=0A>> >=A0 =A0 = =A0 =A0 with =0A>> >=A0 =A0 =A0 =A0 > > a =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > = stateless node. =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > =0A>> >=A0 =A0= =A0 =A0 > >>=A0 >>=A0 >>=A0 > Hey David,=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>= =A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > the stateless mode= is currently not=0A>> >=A0 =A0 =A0 =A0 completely =0A>> >=A0 =A0 =A0 =A0 >= working with =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > oVirt=0A>> >=A0 =A0 =A0 = =A0 > >>=A0 >>=A0 >>=A0 > Engine. That means a Node needs to be=0A>> >=A0 = =A0 =A0 =A0 approved =0A>> >=A0 =A0 =A0 =A0 > > each time it =0A>> >=A0 =A0= =A0 =A0 > >>=A0 > boots into=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > t= he stateless mode.=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > The stateles= s mode can be entered by=0A>> >=A0 =A0 =A0 =A0 appending =0A>> >=A0 =A0 =A0= =A0 > > stateless to =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > the =0A>> >=A0 =A0 = =A0 =A0 > >>=A0 >>=A0 > default=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 >= kernel arguments.=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > =0A>> >=A0 = =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > Greetings=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >= =A0 >>=A0 > fabian=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > =0A>> >=A0 = =A0 =A0 =A0 > >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > =0A>> >=A0 =A0= =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 =A0 = =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 =0A>> =0A>> =0A>=0A>=0A>=0A> --1013620071-1922147181-1386897821=:40672 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
<b><span style=3D"font-weight:bold;">From:</span></b> Fabian Deutsch <= fabiand@redhat.com><br> <b><span style=3D"font-weight: bold;">To:</span>= </b> David Li <david_li@sbcglobal.net> <br><b><span style=3D"font-weight: bold;">C= c:</span></b> "users@ovirt.org" <users@ovirt.org> <br> <b><span style= =3D"font-weight: bold;">Sent:</span></b> Thursday, December 12, 2013 7:40 A= M<br> <b><span style=3D"font-weight: bold;">Subject:</span></b> Re: [Users]= How to pxeboot ovrit node into memory automatically?<br> </font> </div> <d= iv class=3D"y_msg_container"><br>=0AAm Mittwoch, den 11.12.2013, 17:32 -080= 0 schrieb David Li:<br>> Hi Fabian,<br>> <br>> I booted the new no= de stateless. But how can connect to it from ovirt<br>> engine cli? The = cli asks for three things: URL, user name and<br>> password. I am not su= re how to put them on the kernel boot option<br>> line.<br>> <br>>= David<br>> <br>> <br>> <br><br>Hey David,<br><br>please take a lo= ok here to find the correct cmdline:<br><a href=3D"https://access.redhat.co= m/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Hyper= visor_Deployment_Guide/sect-Deployment_Guide-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_H= at_Enterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Depl= oyment_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_= Hypervisor_Kernel_Parameters_and_Automated_Installation.html</a><br><br>- f= abian<br><br>> <br>> ________________________________________________= ______________________<br>> From: Fabian Deutsch <<a ymailto=3D"mailt= o:fabiand@redhat.com" href=3D"mailto:fabiand@redhat.com">fabiand@redhat.com= </a>>; <br>> To: David Li <<a ymailto=3D"mailto:david_li@sbcglobal= .net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>>= ; <br>> Cc: <a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@o= virt.org">users@ovirt.org</a> <<a ymailto=3D"mailto:users@ovirt.org" hre= f=3D"mailto:users@ovirt.org">users@ovirt.org</a>>; <br>> Subject: Re:= [Users] How to pxeboot ovrit node into memory<br>> automatically? <br>&= gt; Sent: Wed, Dec 11, 2013 8:00:40 AM <br>> <br>> <br>> Am Dienstag, den 1= 0.12.2013, 16:00 -0800 schrieb David Li:<br>> > Hi Fabian,<br>> &g= t; <br>> > <br>> > Does the stateless ovirt node have the VDSM = built-in? <br>> <br>> Hey David,<br>> <br>> stateless is a feat= ure 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 w= ill have to approve the Node in Engine after<br>> each reboot if you use=
> <a
> > > >> > Thanks!<br>&= gt; > > >> >> >> <br>> > > >= > >> >> My next question is:<br>> >&= nbsp; > >> >> >> How = do I specify the root login and passwd as<br>> > = boot <br>> > > > parameters? = <br>> > > >> >> = > <br>> > > >> >>= > Hey David.<br>> > > >>= ; >> > <br>> > > &= gt;> >> > Nice that it worked! Were you able to reg= ister to<br>> > the <br>> > &n= bsp; > > Engine?<br>> >  = ; > >> >> > <br>> > > >> >> > You can use the admi= npw=3D and rootpw=3D kernel<br>> > argumen= ts to set <br>> > > > <br>> >&= nbsp; > >> > passwords.<br>> >= > >> >> > use<br>= > > > >> >> >= ; $ openssl passwd -salt 42<br>> > > &g= t;> >> > to create one or two passwords<br>> >= ; > >> >> > <br>&g= t; > > >> >> > = Greetings<br>> > > >> >&= gt; > fabian<br>> > > >>= >> > <br>> > > >> >> >> David<br>> > &nbs=
> > > >> >> &g= t; rootfs. What I <br>> > > >>&nb= sp; >> >> > got now is an installation screen wh= ich<br>> > requires a <br>> > = > > local <br>> > &nbs=
> > > >> >> &g= t;> >> What's are the kernel parameters I need <br>> > > > to use to <br>> >= > >> > boot the <br>> >= > >> >> > node in= to <br>> > > >> >>&nb= sp; >> > RAM automatically? I am OK as the first step<= br>> > with <br>> > &nb= sp; > > a <br>> > > >&g= t; > stateless node. <br>> > >= >> >> >> > <br>> > &nbs=
<html><body><div style=3D"color:#000; background-color:#fff; font-family:ti= mes new roman, new york, times, serif;font-size:12pt"><div>Hi Fabian,</div>= <div><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-fam= ily: 'times new roman', 'new york', times, serif; background-color: transpa= rent; font-style: normal;"><br></div><div style=3D"color: rgb(0, 0, 0); fon= t-size: 16px; font-family: 'times new roman', 'new york', times, serif; bac= kground-color: transparent; font-style: normal;">I have now a setup like th= is:</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;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size= : 16px; font-family: 'times new roman', 'new york', times, serif; backgroun= d-color: transparent; font-style: normal;"><br></div><div style=3D"color: r= gb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', t= imes, serif; background-color: transparent; font-style: normal;"> +-------= ----+ = +--------------------+</div><div= style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new rom= an', 'new york', times, serif; background-color: transparent; font-style: n= ormal;"> | ovirt-shell | ---- network ---------| &= nbsp; stateless node |</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;">+------------+ =  = ; +-------------------+</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;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; fon= t-family: 'times new roman', 'new york', times, serif; background-color: tr= ansparent; font-style: normal;">A few more questions:</div><div style=3D"co= lor: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new yo= rk', times, serif; background-color: transparent; font-style: normal;"><br>= </div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'tim= es new roman', 'new york', times, serif; background-color: transparent; fon= t-style: normal;">1. Where is the source to build this image? <span st= yle=3D"font-size: 12pt;">ovirt-node-iso-3.0.3-1.1.vdsm.fc19.iso. Is it the = same as </span><span style=3D"background-color: rgb(136, 136, 136); co= lor: rgb(238, 238, 238); font-family: Monaco, Menlo, Consolas, 'Courier New= ', monospace; font-size: 13px; line-height: 20px; white-space: pre-wrap;">h= ttp://gerrit.ovirt.org/p/ovirt-node.git?</span></div><div><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new rom= an', 'new york', times, serif; background-color: transparent; font-style: n= ormal;">2. I am a little confused by the kernel parameter rhevm_admin_passw= ord and management_server. Are they used by ovirt-shell to connect to the o= virt-node? For example in ovirt-shell, should I use "connect --= url http://<ovirt-node-ip-addr>:8080/api --user "user@domain" --passw= ord "rhevm_admin_password"? Also in this command line, what's "user@d= omain" and where do I specify "user" and "domain"?</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;"><br></d= iv><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times = new roman', 'new york', times, serif; background-color: transparent; font-s= tyle: normal;"><br></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;">Thanks.</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;"><br></div><div= style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new rom= an', 'new york', times, serif; background-color: transparent; font-style: n= ormal;"><blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); margi= n-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style=3D"font-fami= ly: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div st= yle=3D"font-family: 'times new roman', 'new york', times, serif; font-size:= 12pt;"> <div dir=3D"ltr"> <hr size=3D"1"> <font size=3D"2" face=3D"Arial"= the stateless feature. This bug [2] might also<br>> tackle the problem = of a stateless Node.<br>> <br>> - fabian<br>> <br>> --<br>> = [1]<br>> http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0.= 3-1.1.vdsm.fc19.iso<br>> [2] <a href=3D"https://bugzilla.redhat.com/show= _bug.cgi?id=3D875088" target=3D"_blank">https://bugzilla.redhat.com/show_bu= g.cgi?id=3D875088</a><br>> <br>> > <br>> > David<br>> >= ; <br>> > <br>> ><br>> ___________= ___________________________________________________<br>> > &nbs= p; From: Fabian Deutsch <<a ymailto=3D"mailto:fabiand@redh= at.com" href=3D"mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>&g= t; > To: David Li <<a ymailto=3D"mailto:da= vid_li@sbcglobal.net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcgl= obal.net</a>> <br>> > Cc: "<a ymailto= =3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org= </a>" <<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.= org">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>> >&n= bsp; automatically?<br>> > &= nbsp; <br>> > <br>> > = Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb David Li:<br>>= ; > > Hi Fabian,<br>> > = > <br>> > > I think t= he 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 hav= e<br>> > to remove this route.<br>> >= ; > Also I am using ramdisk based node withou= t a local disk.<br>> Can<br>> > anythin= g be persisted? <br>> > <br>> > = ; Hey David,<br>> > <= br>> > when you refer to stateless mode, t= hen no, nothing can be<br>> > persisted.<br>> > Regarding the bug - Ple= ase provide the whole cmdline you are<br>> > &nbs= p; using to<br>> > boot the node, to give = me a chance to reproduce it.<br>> > <br>&g= t; > - fabian<br>> >  = ; <br>> > > David<br>> >&n= bsp; > <br>> > >= ; <br>> > > <br>> > = > ----- Original Message -----<br>> > &= nbsp; > > From: Fabian Deutsch <<a ymailto=3D"mailto:fabian= d@redhat.com" href=3D"mailto:fabiand@redhat.com">fabiand@redhat.com</a>>= <br>> > > > To: David Li <<a ymai= lto=3D"mailto:david_li@sbcglobal.net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>&= gt; > > > Cc: "<a ymailto=3D"mailto:use= rs@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a>" <<a y= mailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovi= rt.org</a>><br>> > > > Sent: Wedn= esday, December 4, 2013 11:17 AM<br>> > &g= t; > Subject: Re: [Users] How to pxeboot ovrit node into<br>> memory<= br>> > automatically?<br>> > &= nbsp; > > <br>> > >= > Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li:<br>> >= > >> Hi Fabian,<br>> >&nbs= p; > >> <br>> > &nb= sp; > >> Everytime the ovirt node boots up, it adds a route<br>> entry<br>> > that I have to= <br>> > > > manually remove. Otherw= ise it messed up my routing. <br>> > > = >> How do I modify the boot scripts to automatically<br>> re= move<br>> > it?<br>> > = > > <br>> > > > = Hey David,<br>> > > > <br>> >&= nbsp; > > could you file a bug for that route pr= oblem?<br>> > > > <br>> > = ; > > You can try the following workaround:<br>&= gt; > > > <br>> > &n= bsp; > > # Create /etc/rc.d/rc.local with the commands to run<= br>> > > > $ vi /etc/rc.d/rc.local<br>> > > > $ chm= od 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>> > &= gt; > <br>> > > > - fabian<br>>= ; > > > <br>> > &nbs= p; > >> ----- Original Message -----<br>> >&nbs= p; > >> > From: Fabian Deutsch <<= a ymailto=3D"mailto:fabiand@redhat.com" href=3D"mailto:fabiand@redhat.com">= fabiand@redhat.com</a>><br>> > > >= ;> > To: David Li <<a ymailto=3D"mailto:david_li@sbcglobal.n= et" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>&= gt; > > >> > Cc: "<a ymailt= o=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.or= g</a>" <<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt= .org">users@ovirt.org</a>><br>> > > = >> > Sent: Monday, October 28, 2013 7:45 AM<br>> >&nbs= p; > >> > Subject: Re: [Users] How t= o pxeboot ovrit node into<br>> > memory <b= r>> > > > automatically?<br>> >= ; > >> > <br>> > &= nbsp; > >> > Am Montag, den 28.10.2013, 07:= 42 -0700 schrieb David<br>> > Li:<br>> = > > >> >> <br>> > > >> >> Hi Fabi= an,<br>> > > >> >> <b= r>> > > >> >> Y= es rootpwd worked too! Thanks.<br>> > >= >> >> <br>> > > >= > >> Two new problems:<br>> >  = ; > >> >> <br>> > &nb= sp; > >> >> But I found there is no networking f= or the<br>> stateless<br>> > node.<br>&= gt; > > >> >> What= kernel boot options are used to either use<br>> DHCP<br>> > = or <br>> > > >= statically <br>> > > >> > configure the IP address for an interface on the<br>&g= t; node?<br>> > > >> >&g= t; <br>> > > >> >>&nb= sp; I also need to have the sshd enabled. Is there a<br>> > &nb= sp; kernel option <br>> > &g= t; > for that?<br>> > > >>&nbs= p; > <br>> > > >> > H= ey David,<br>> > > >> > = <br>> > > >> > here you = can find all the supported boot params in<br>> > = ovirt node:<br>> > > >>&nb= sp; > <br>> > > ><br>> ><br= href=3D"http://gerrit.ovirt.org/gitweb?p=3Dovirt-node.git;a=3Dblob;f=3Dscr= ipts/ovirt-init-functions.sh.in;h=3Dc4280caefb89c77afc1e8bec8c925aa7f303973= 3;hb=3DHEAD#l214" target=3D"_blank">http://gerrit.ovirt.org/gitweb?p=3Dovir= t-node.git;a=3Dblob;f=3Dscripts/ovirt-init-functions.sh.in;h=3Dc4280caefb89= c77afc1e8bec8c925aa7f3039733;hb=3DHEAD#l214</a><br>> > &= nbsp; > >> > <br>> > &nb= sp; > >> > Greetings<br>> > &nb= sp; > >> > fabian<br>> > = > >> > <br>> > > >= ;> >> David<br>> > &g= t; >> >> <br>> > > &g= t;> >> <br>> > > >>= ; >> <br>> > > >>&nbs= p; >> ----- Original Message -----<br>> > > = >> >> > From: Fabian Deutsch <<a ymailto=3D"m= ailto:fabiand@redhat.com" href=3D"mailto:fabiand@redhat.com">fabiand@redhat= .com</a>><br>> > > >> &g= t;> > To: David Li <<a ymailto=3D"mailto:david_li@sbcglobal.= net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><= br>> > > >> >> = > Cc: "<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.= org">users@ovirt.org</a>" <<a ymailto=3D"mailto:users@ovirt.org" href=3D= "mailto:users@ovirt.org">users@ovirt.org</a>><br>> > = > >> >> > Sent: Friday, October= 25, 2013 9:10 AM<br>> > > >>&nbs= p; >> > Subject: Re: [Users] How to pxeboot ovrit node<br>&g= t; > into memory <br>> > &nb= sp; > >> > automatically?<br>> >  = ; > >> >> > <br>> > = > >> >> > Am Freitag, d= en 25.10.2013, 08:57 -0700 schrieb<br>> > = David Li:<br>> > > >> >&= gt; >> Hi Fabian,<br>> > = > >> >> >> <br>> > &nb= sp; > >> >> >> That kernel op= tion worked for me! The node is<br>> > &nbs= p; booted <br>> > > > up in RAM. <br= p; > >> >> >> <br>> >&= nbsp; > >> >> >> <br>= > > > >> >> >= ;> <br>> > > >> >>= >> <br>> > > >> = ; >> >> ----- Original Message -----<br>> >&n= bsp; > >> >> >> = > From: Fabian Deutsch <<a ymailto=3D"mailto:fabiand@redhat.com" hre= f=3D"mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> >&nbs= p; > >> >> >> &= gt; To: David Li <<a ymailto=3D"mailto:david_li@sbcglobal.net" href=3D"m= ailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>> > > >> >> >>= ; > Cc: "<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:user= s@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>> > &g= t; >> >> >> > Sent: Thursday, Octobe= r 24, 2013 11:47 PM<br>> > > >>&n= bsp; >> >> > Subject: Re: [Users] How to pxeboot= ovrit<br>> > node <br>> > &nb= sp; > > into memory <br>> > &= nbsp; > >> >> > automatically?<br>> >&n= bsp; > >> >> >> = > <br>> > > >> >> >> > Am Donnerstag, den 24.10.2013, 16:26 -0= 700<br>> > schrieb <br>> > &nb= sp; > > David Li:<br>> > &nbs= p; > >> >> >> >> Hi,<br>= > > > >> >> >= ;> >> <br>> > > >>= >> >> >> I was following the ins= tructions at <br>> > > >> &= gt;> > <a href=3D"http://www.ovirt.org/Node_PXE" target=3D"_bla= nk">http://www.ovirt.org/Node_PXE</a>. My goal <br>> > &= nbsp; > >> >> >> > is to u= se pxeboot (iPXE) to boot the node<br>> > = entirely <br>> > > > into RAM <br>> > > >> > with <br= p; > >> > storage. My <br>> > &= nbsp; > >> >> > system has <br>> > = ; > >> >> >> &g= t; no disk and this doesn't quite work for me. <br>> > &= nbsp; > >> >> >> >> <br= p; > >> >> >> > Hey= David,<br>> > > >> >>= ; >> > <br>> > > &= gt;> >> >> > the stateless mode is currently not<br>> > completely <br>&g= t; > > > working with <br>> >&nbs= p; > >> > oVirt<br>> > &= nbsp; > >> >> >> > = Engine. That means a Node needs to be<br>> > &nbs= p; approved <br>> > > > each time it= <br>> > > >> > boots in= to<br>> > > >> >>&nbs= p; >> > the stateless mode.<br>> > = > >> >> >> > The stateles= s mode can be entered by<br>> > appending = <br>> > > > stateless to <br>> &g= t; > >> > the <br>> > > >> >> > de= fault<br>> > > >> >>&= nbsp; >> > kernel arguments.<br>> >  = ; > >> >> >> > <br>> &g= t; > >> >> >>&n= bsp; > Greetings<br>> > > >>&n= bsp; >> >> > fabian<br>> > &n= bsp; > >> >> >> > <br>>= > > >> >> > <b= r>> > > >> > <br>> &g= t; > > <br>> > &= nbsp; <br>> > <br>> > &= nbsp; <br>> > <br>> <br>> <br><br><br><br></div> </div> </div> </blockquote></div> </div>= </body></html> --1013620071-1922147181-1386897821=:40672--

______________________________________________________________________=0A=
From: Fabian Deutsch <fabiand@redhat.com>; =0A>> To: David Li <david_li@= sbcglobal.net>; =0A>> Cc: users@ovirt.org <users@ovirt.org>; =0A>> Subject:= Re: [Users] How to pxeboot ovrit node into memory=0A>> automatically? =0A>= Sent: Wed, Dec 11, 2013 8:00:40 AM =0A>> =0A>> =0A>> Am Dienstag, den 10.= 12.2013, 16:00 -0800 schrieb David Li:=0A>> > Hi Fabian,=0A>> > =0A>> > =0A=
Does the stateless ovirt node have the VDSM built-in? =0A>> =0A>> Hey = David,=0A>> =0A>> stateless is a feature or a special mode of oVirt Node wh= ich is also=0A>> available on the "oVirt Node for oVirt Engine" image [1].= =0A>> But please note that you will have to approve the Node in Engine afte= r=0A>> each reboot if you use the stateless feature. This bug [2] might als= o=0A>> tackle the problem of a stateless Node.=0A>> =0A>> - fabian=0A>> =0A= --=0A>> [1]=0A>> http://resources.ovirt.org/releases/3.3/iso/ovirt-node-= iso-3.0.3-1.1.vdsm.fc19.iso=0A>> [2] https://bugzilla.redhat.com/show_bug.c= gi?id=3D875088=0A>> =0A>> > =0A>> > David=0A>> > =0A>> >=A0 =A0 =A0 =A0 =0A= =0A>> ______________________________________________________________=0A= =A0 =A0 =A0 =A0 From: Fabian Deutsch <fabiand@redhat.com>=0A>> >=A0 =A0= =A0 =A0 To: David Li <david_li@sbcglobal.net> =0A>> >=A0 =A0 =A0 =A0 Cc: "= users@ovirt.org" <users@ovirt.org> =0A>> >=A0 =A0 =A0 =A0 Sent: Thursday, D= ecember 5, 2013 11:47 PM=0A>> >=A0 =A0 =A0 =A0 Subject: Re: [Users] How to =
=A0 =A0 =A0 =A0 > > Sent: Wednesday, December 4, 2013 11:17 AM=0A>> >=A0 = =A0 =A0 =A0 > > Subject: Re: [Users] How to pxeboot ovrit node into=0A>> me= mory=0A>> >=A0 =A0 =A0 =A0 automatically?=0A>> >=A0 =A0 =A0 =A0 > > =0A>> >= =A0 =A0 =A0 =A0 > > Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li= :=0A>> >=A0 =A0 =A0 =A0 > >>=A0 Hi Fabian,=0A>> >=A0 =A0 =A0 =A0 > >> =0A>>= =A0 =A0 =A0 =A0 > >>=A0 Everytime the ovirt node boots up, it adds a rout= e=0A>> entry=0A>> >=A0 =A0 =A0 =A0 that I have to =0A>> >=A0 =A0 =A0 =A0 > = manually remove. Otherwise it messed up my routing. =0A>> >=A0 =A0 =A0 = =A0 > >>=A0 How do I modify the boot scripts to automatically=0A>> remove= =0A>> >=A0 =A0 =A0 =A0 it?=0A>> >=A0 =A0 =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0=
Hey David,=0A>> >=A0 =A0 =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0 > > could = you file a bug for that route problem?=0A>> >=A0 =A0 =A0 =A0 > > =0A>> >=A0= =A0 =A0 =A0 > > You can try the following workaround:=0A>> >=A0 =A0 =A0 = =A0 > > =0A>> >=A0 =A0 =A0 =A0 > > # Create /etc/rc.d/rc.local with the com= mands to run=0A>> >=A0 =A0 =A0 =A0 > > $ vi /etc/rc.d/rc.local=0A>> >=A0 = =A0 =A0 =A0 > > $ chmod a+x /etc/rc.d/rc.local=0A>> >=A0 =A0 =A0 =A0 > > $ =
/etc/rc.d/rc.local should then be run on every boot.=0A>> >=A0 =A0 =A0= =A0 > > =0A>> >=A0 =A0 =A0 =A0 > > - fabian=0A>> >=A0 =A0 =A0 =A0 > > =0A>= =A0 =A0 =A0 =A0 > >>=A0 ----- Original Message -----=0A>> >=A0 =A0 =A0 = =A0 > >>=A0 > From: Fabian Deutsch <fabiand@redhat.com>=0A>> >=A0 =A0 =A0 = =A0 > >>=A0 > To: David Li <david_li@sbcglobal.net>=0A>> >=A0 =A0 =A0 =A0 >= =A0 > Cc: "users@ovirt.org" <users@ovirt.org>=0A>> >=A0 =A0 =A0 =A0 > >>= =A0 > Sent: Monday, October 28, 2013 7:45 AM=0A>> >=A0 =A0 =A0 =A0 > >>=A0 = Subject: Re: [Users] How to pxeboot ovrit node into=0A>> >=A0 =A0 =A0 =A0= memory =0A>> >=A0 =A0 =A0 =A0 > > automatically?=0A>> >=A0 =A0 =A0 =A0 > >= =A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > Am Montag, den 28.10.2013, 07:42 -0= 700 schrieb David=0A>> >=A0 =A0 =A0 =A0 Li:=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >= =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 Hi Fabian,=0A>> >=A0 =A0 =A0 =A0 > >= =A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 Yes rootpwd worked too! Thanks= .=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 Two= new problems:=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>= =A0 >>=A0 But I found there is no networking for the=0A>> stateless=0A>> >= =A0 =A0 =A0 =A0 node.=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 What kernel boot =
=A0 > Hey David,=0A>> >=A0 =A0 =A0 =A0 > >>=A0 > =0A>> >=A0 =A0 =A0 =A0 >= =A0 > here you can find all the supported boot params in=0A>> >=A0 =A0 = =A0 =A0 ovirt node:=0A>> >=A0 =A0 =A0 =A0 > >>=A0 > =0A>> >=A0 =A0 =A0 =A0 = =0A>> >=0A>> http://gerrit.ovirt.org/gitweb?p=3Dovirt-node.git;a=3Dblob;= f=3Dscripts/ovirt-init-functions.sh.in;h=3Dc4280caefb89c77afc1e8bec8c925aa7= f3039733;hb=3DHEAD#l214=0A>> >=A0 =A0 =A0 =A0 > >>=A0 > =0A>> >=A0 =A0 =A0 = =A0 > >>=A0 > Greetings=0A>> >=A0 =A0 =A0 =A0 > >>=A0 > fabian=0A>> >=A0 = =A0 =A0 =A0 > >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 David=0A>> >=A0 = =A0 =A0 =A0 > >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >> =0A>> >=A0 =A0 =A0= =A0 > >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 ----- Original Message= -----=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > From: Fabian Deutsch <fabiand@= redhat.com>=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > To: David Li <david_li@sb= cglobal.net>=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > Cc: "users@ovirt.org" <u= sers@ovirt.org>=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > Sent: Friday, October= 25, 2013 9:10 AM=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > Subject: Re: [Users= ] How to pxeboot ovrit node=0A>> >=A0 =A0 =A0 =A0 into memory =0A>> >=A0 = =A0 =A0 =A0 > >>=A0 > automatically?=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > = =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > Am Freitag, den 25.10.2013, 08:57 -0= 700 schrieb=0A>> >=A0 =A0 =A0 =A0 David Li:=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >= =A0 >>=A0 Hi Fabian,=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >> =0A>> >=A0 =A0= =A0 =A0 > >>=A0 >>=A0 >>=A0 That kernel option worked for me!=A0 The node = is=0A>> >=A0 =A0 =A0 =A0 booted =0A>> >=A0 =A0 =A0 =A0 > > up in RAM. =0A>>= =A0 =A0 =A0 =A0 > >>=A0 > Thanks!=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >> = =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 My next question is:=0A>> >=A0 = =A0 =A0 =A0 > >>=A0 >>=A0 >> How do I specify the root login and passwd as= =0A>> >=A0 =A0 =A0 =A0 boot =0A>> >=A0 =A0 =A0 =A0 > > parameters? =0A>> >= =A0 =A0 =A0 =A0 > >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > Hey = David.=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0= =A0 > Nice that it worked! Were you able to register to=0A>> >=A0 =A0 = =A0 =A0 the =0A>> >=A0 =A0 =A0 =A0 > > Engine?=0A>> >=A0 =A0 =A0 =A0 > >>= =A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > You can use the adminpw= =3D and rootpw=3D kernel=0A>> >=A0 =A0 =A0 =A0 arguments to set =0A>> >=A0 = =A0 =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > passwords.=0A>> >=A0 =A0 = =A0 =A0 > >>=A0 >>=A0 > use=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > $ openssl=
---482694697-950170067-1387319042=:76127 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Fabiand,=0A=0AI have a iSCSI partition on my stateless node. But the pro= blem is I can't format the partition. The same partition can be formatted a= nd mounted on a regular machine without problems.=A0=0A=0A[root@localhost ~= ]# mkfs.ext3 /dev/sda=0Amke2fs 1.42.7 (21-Jan-2013)=0A/dev/sda is entire de= vice, not just one partition!=0AProceed anyway? (y,n) y=0A/dev/sda is appar= ently in use by the system; will not make a filesystem here!=0A=0A=0AThe er= ror message doesn't seem to make sense as the iSCSI partition isn't used by= any other machine. =A0=0A=0AAny idea why this isn't working in a stateless= node?=A0=0A=0ADavid=0A=0A=0A=0A>________________________________=0A> From:= Fabian Deutsch <fabiand@redhat.com>=0A>To: David Li <david_li@sbcglobal.ne= t> =0A>Cc: "users@ovirt.org" <users@ovirt.org> =0A>Sent: Thursday, December= 12, 2013 7:40 AM=0A>Subject: Re: [Users] How to pxeboot ovrit node into me= mory automatically?=0A> =0A>=0A>Am Mittwoch, den 11.12.2013, 17:32 -0800 sc= hrieb David Li:=0A>> Hi Fabian,=0A>> =0A>> I booted the new node stateless.= But how can connect to it from ovirt=0A>> engine cli? The cli asks for thr= ee things: URL, user name and=0A>> password. I am not sure how to put them = on the kernel boot option=0A>> line.=0A>> =0A>> David=0A>> =0A>> =0A>> =0A>= =0A>Hey David,=0A>=0A>please take a look here to find the correct cmdline:= =0A>https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_V= irtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-In= stalling_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kern= el_Parameters_and_Automated_Installation.html=0A>=0A>- fabian=0A>=0A>> =0A>= pxeboot ovrit node into memory=0A>> >=A0 =A0 =A0 =A0 automatically?=0A>> >= =A0 =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 Am Donnerstag= , den 05.12.2013, 16:30 -0800 schrieb David Li:=0A>> >=A0 =A0 =A0 =A0 > Hi = Fabian,=0A>> >=A0 =A0 =A0 =A0 > =0A>> >=A0 =A0 =A0 =A0 > I think the bad ro= ute is a link local route 169.254.0.0/16.=0A>> >=A0 =A0 =A0 =A0 I am not qu= ite sure if it's a real bug but in my case I have=0A>> >=A0 =A0 =A0 =A0 to = remove this route.=0A>> >=A0 =A0 =A0 =A0 > Also I am using ramdisk based no= de without a local disk.=0A>> Can=0A>> >=A0 =A0 =A0 =A0 anything be persist= ed? =0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 Hey David,=0A>> >=A0 =A0 = =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 when you refer to stateless mode, then no, n= othing can be=0A>> >=A0 =A0 =A0 =A0 persisted.=0A>> >=A0 =A0 =A0 =A0 Regard= ing the bug - Please provide the whole cmdline you are=0A>> >=A0 =A0 =A0 = =A0 using to=0A>> >=A0 =A0 =A0 =A0 boot the node, to give me a chance to re= produce it.=0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 - fabian=0A>> >=A0= =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 > David=0A>> >=A0 =A0 =A0 =A0 > =0A>> >= =A0 =A0 =A0 =A0 > =0A>> >=A0 =A0 =A0 =A0 > =0A>> >=A0 =A0 =A0 =A0 > ----- O= riginal Message -----=0A>> >=A0 =A0 =A0 =A0 > > From: Fabian Deutsch <fabia= nd@redhat.com>=0A>> >=A0 =A0 =A0 =A0 > > To: David Li <david_li@sbcglobal.n= et>=0A>> >=A0 =A0 =A0 =A0 > > Cc: "users@ovirt.org" <users@ovirt.org>=0A>> = persist /etc/rc.d/rc.local=0A>> >=A0 =A0 =A0 =A0 > > =0A>> >=A0 =A0 =A0 =A0= options are used to either use=0A>> DHCP=0A>> >=A0 =A0 =A0 =A0 or =0A>> >= =A0 =A0 =A0 =A0 > > statically =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > configure t= he IP address for an interface on the=0A>> node?=0A>> >=A0 =A0 =A0 =A0 > >>= =A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 I also need to have the sshd en= abled. Is there a=0A>> >=A0 =A0 =A0 =A0 kernel option =0A>> >=A0 =A0 =A0 = =A0 > > for that?=0A>> >=A0 =A0 =A0 =A0 > >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > = passwd -salt 42=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > to create one or two= passwords=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >=
=A0 >>=A0 > Greetings=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > fabian=0A>> >= =A0 =A0 =A0 =A0 > >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 = David=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 >>=A0 ----- Original Me= ssage -----=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > From: Fabian Deutsc= h <fabiand@redhat.com>=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > To: Davi= d Li <david_li@sbcglobal.net>=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > C= c: "users@ovirt.org" =0A>> >=A0 =A0 =A0 =A0 > > <users@ovirt.org>=0A>> >=A0= =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > Sent: Thursday, October 24, 2013 11:47 P= M=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > Subject: Re: [Users] How to p= xeboot ovrit=0A>> >=A0 =A0 =A0 =A0 node =0A>> >=A0 =A0 =A0 =A0 > > into mem= ory =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 > automatically?=0A>> >=A0 =A0 =A0= =A0 > >>=A0 >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > Am = Donnerstag, den 24.10.2013, 16:26 -0700=0A>> >=A0 =A0 =A0 =A0 schrieb =0A>>= =A0 =A0 =A0 =A0 > > David Li:=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 >= =A0 Hi,=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 >> =0A>> >=A0 =A0 =A0 = =A0 > >>=A0 >>=A0 >>=A0 >>=A0 I was following the instructions at =0A>> >= =A0 =A0 =A0 =A0 > >>=A0 >>=A0 > http://www.ovirt.org/Node_PXE. My goal =0A>= =A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > is to use pxeboot (iPXE) to boot t= he node=0A>> >=A0 =A0 =A0 =A0 entirely =0A>> >=A0 =A0 =A0 =A0 > > into RAM = =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > with =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 = rootfs. What I =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > got now is an= installation screen which=0A>> >=A0 =A0 =A0 =A0 requires a =0A>> >=A0 =A0 = =A0 =A0 > > local =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > storage. My =0A>> >=A0 = =A0 =A0 =A0 > >>=A0 >>=A0 > system has =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0= =A0 > no disk and this doesn't quite work for me. =0A>> >=A0 =A0 =A0 =A0=
=A0 >>=A0 >>=A0 >> =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 >>=A0 Wh= at's are the kernel parameters I need =0A>> >=A0 =A0 =A0 =A0 > > to use to = =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > boot the =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>= =A0 > node into =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > RAM automatica= lly?=A0 I am OK as the first step=0A>> >=A0 =A0 =A0 =A0 with =0A>> >=A0 =A0= =A0 =A0 > > a =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > stateless node. =0A>> >=A0 = =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>= =A0 > Hey David,=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > =0A>> >=A0 =A0= =A0 =A0 > >>=A0 >>=A0 >>=A0 > the stateless mode is currently not=0A>> >= =A0 =A0 =A0 =A0 completely =0A>> >=A0 =A0 =A0 =A0 > > working with =0A>> >= =A0 =A0 =A0 =A0 > >>=A0 > oVirt=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 >= Engine. That means a Node needs to be=0A>> >=A0 =A0 =A0 =A0 approved =0A>>= =A0 =A0 =A0 =A0 > > each time it =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > boots i= nto=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > the stateless mode.=0A>> >= =A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > The stateless mode can be entered by= =0A>> >=A0 =A0 =A0 =A0 appending =0A>> >=A0 =A0 =A0 =A0 > > stateless to = =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > the =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >= default=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > kernel arguments.=0A>>= =A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>= =A0 >>=A0 > Greetings=0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > fabian=0A= =A0 =A0 =A0 =A0 > >>=A0 >>=A0 >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 >>= =A0 > =0A>> >=A0 =A0 =A0 =A0 > >>=A0 > =0A>> >=A0 =A0 =A0 =A0 > > =0A>> >= =A0 =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 =A0 =A0 =A0 =0A>> >=A0 = =A0 =A0 =A0 =0A>> =0A>> =0A>=0A>=0A>=0A> ---482694697-950170067-1387319042=:76127 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
<span style=3D"font-weight: bold;">Cc:</span></b> "users@ovirt.org" <us= ers@ovirt.org> <br> <b><span style=3D"font-weight: bold;">Sent:</span></= b> Thursday, December 12, 2013 7:40 AM<br> <b><span style=3D"font-weight: b=
> <a
> > > >> > Thanks!<br>&= gt; > > >> >> >> <br>> > > >= > >> >> My next question is:<br>> >&= nbsp; > >> >> >> How = do I specify the root login and passwd as<br>> > = boot <br>> > > > parameters? = <br>> > > >> >> = > <br>> > > >> >>= > Hey David.<br>> > > >>= ; >> > <br>> > > &= gt;> >> > Nice that it worked! Were you able to reg= ister to<br>> > the <br>> > &n= bsp; > > Engine?<br>> >  = ; > >> >> > <br>> > > >> >> > You can use the admi= npw=3D and rootpw=3D kernel<br>> > argumen= ts to set <br>> > > > <br>> >&= nbsp; > >> > passwords.<br>> >= > >> >> > use<br>= > > > >> >> >= ; $ openssl passwd -salt 42<br>> > > &g= t;> >> > to create one or two passwords<br>> >= ; > >> >> > <br>&g= t; > > >> >> > = Greetings<br>> > > >> >&= gt; > fabian<br>> > > >>= >> > <br>> > > >> >> >> David<br>> > &nbs=
> > > >> >> &g= t; rootfs. What I <br>> > > >>&nb= sp; >> >> > got now is an installation screen wh= ich<br>> > requires a <br>> > = > > local <br>> > &nbs=
> > > >> >> &g= t;> >> What's are the kernel parameters I need <br>> > > > to use to <br>> >= > >> > boot the <br>> >= > >> >> > node in= to <br>> > > >> >>&nb= sp; >> > RAM automatically? I am OK as the first step<= br>> > with <br>> > &nb= sp; > > a <br>> > > >&g= t; > stateless node. <br>> > >= >> >> >> > <br>> > &nbs=
<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 Fabiand,</span></div><div style=3D"font-family: 'times new roman', 'new = york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color= : transparent; font-style: normal;"><span><br></span></div><div style=3D"fo= nt-family: 'times new roman', 'new york', times, serif; font-size: 16px; co= lor: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><spa= n>I have a iSCSI partition on my stateless node. But the problem is I can't= format the partition. The same partition can be formatted and mounted on a= regular machine without problems. </span></div><div style=3D"font-fam= ily: 'times new roman', 'new york', times, serif; font-size: 16px; color: r= gb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style=3D"background-color: transparen= t;">[root@localhost ~]# mkfs.ext3 /dev/sda</div><div style=3D"background-co= lor: transparent;">mke2fs 1.42.7 (21-Jan-2013)</div><div style=3D"backgroun= d-color: transparent;">/dev/sda is entire device, not just one partition!</= div><div style=3D"background-color: transparent;">Proceed anyway? (y,n) y</= div><div style=3D"background-color: transparent;"><span></span></div><div s= tyle=3D"background-color: transparent;">/dev/sda is apparently in use by th= e system; will not make a filesystem here!</div><div style=3D"background-co= lor: transparent;"><br></div><div style=3D"background-color: transparent; c= olor: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new y= ork', times, serif; font-style: normal;"><br></div><div style=3D"background= -color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'ti= mes new roman', 'new york', times, serif; font-style: normal;">The error me= ssage doesn't seem to make sense as the iSCSI partition isn't used by any other = machine. </div><div style=3D"background-color: transparent; color: rg= b(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', ti= mes, serif; font-style: normal;"><br></div><div style=3D"background-color: = transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new = roman', 'new york', times, serif; font-style: normal;">Any idea why this is= n't working in a stateless node? </div><div style=3D"background-color:= transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new= roman', 'new york', times, serif; font-style: normal;"><br></div><div styl= e=3D"background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; f= ont-family: 'times new roman', 'new york', times, serif; font-style: normal= ;">David</div><div style=3D"font-family: 'times new roman', 'new york', tim= es, serif; font-size: 12pt;"><br><blockquote style=3D"border-left: 2px soli= d 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; fo= nt-size: 12pt;"> <div style=3D"font-family: 'times new roman', 'new york', = times, serif; font-size: 12pt;"> <div dir=3D"ltr"> <hr size=3D"1"> <font s= ize=3D"2" face=3D"Arial"> <b><span style=3D"font-weight:bold;">From:</span>= </b> Fabian Deutsch <fabiand@redhat.com><br> <b><span style=3D"font-w= eight: bold;">To:</span></b> David Li <david_li@sbcglobal.net> <br><b= old;">Subject:</span></b> Re: [Users] How to pxeboot ovrit node into memory= automatically?<br> </font> </div> <div class=3D"y_msg_container"><br>=0AAm= Mittwoch, den 11.12.2013, 17:32 -0800 schrieb David Li:<br>> Hi Fabian,= <br>> <br>> I booted the new node stateless. But how can connect to i= t from ovirt<br>> engine cli? The cli asks for three things: URL, user n= ame and<br>> password. I am not sure how to put them on the kernel boot = option<br>> line.<br>> <br>> David<br>> <br>> <br>> <br><= br>Hey David,<br><br>please take a look here to find the correct cmdline:<b= r><a href=3D"https://access.redhat.com/site/documentation/en-US/Red_Hat_Ent= erprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment= _Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hyperv= isor_Kernel_Parameters_and_Automated_Installation.html" target=3D"_blank">https://access.redhat.com/site/documentation/en-US/Red_H= at_Enterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Depl= oyment_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_= Hypervisor_Kernel_Parameters_and_Automated_Installation.html</a><br><br>- f= abian<br><br>> <br>> ________________________________________________= ______________________<br>> From: Fabian Deutsch <<a ymailto=3D"mailt= o:fabiand@redhat.com" href=3D"mailto:fabiand@redhat.com">fabiand@redhat.com= </a>>; <br>> To: David Li <<a ymailto=3D"mailto:david_li@sbcglobal= .net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>>= ; <br>> Cc: <a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@o= virt.org">users@ovirt.org</a> <<a ymailto=3D"mailto:users@ovirt.org" hre= f=3D"mailto:users@ovirt.org">users@ovirt.org</a>>; <br>> Subject: Re:= [Users] How to pxeboot ovrit node into memory<br>> automatically? <br>&= gt; Sent: Wed, Dec 11, 2013 8:00:40 AM <br>> <br>> <br>> Am Dienstag, den 1= 0.12.2013, 16:00 -0800 schrieb David Li:<br>> > Hi Fabian,<br>> &g= t; <br>> > <br>> > Does the stateless ovirt node have the VDSM = built-in? <br>> <br>> Hey David,<br>> <br>> stateless is a feat= ure 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 w= ill 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>> http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0.= 3-1.1.vdsm.fc19.iso<br>> [2] <a href=3D"https://bugzilla.redhat.com/show= _bug.cgi?id=3D875088" target=3D"_blank">https://bugzilla.redhat.com/show_bu= g.cgi?id=3D875088</a><br>> <br>> > <br>> > David<br>> >= ; <br>> > <br>> ><br>> ___________= ___________________________________________________<br>> > &nbs= p; From: Fabian Deutsch <<a ymailto=3D"mailto:fabiand@redh= at.com" href=3D"mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>&g= t; > To: David Li <<a ymailto=3D"mailto:da= vid_li@sbcglobal.net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcgl= obal.net</a>> <br>> > Cc: "<a ymailto= =3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org= </a>" <<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.= org">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>> >&n= bsp; automatically?<br>> > &= nbsp; <br>> > <br>> > = Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb David Li:<br>>= ; > > Hi Fabian,<br>> > = > <br>> > > I think t= he 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 hav= e<br>> > to remove this route.<br>> >= ; > Also I am using ramdisk based node withou= t a local disk.<br>> Can<br>> > anythin= g be persisted? <br>> > <br>> > = ; Hey David,<br>> > <= br>> > when you refer to stateless mode, t= hen no, nothing can be<br>> > persisted.<br>> > Regarding the bug - Ple= ase provide the whole cmdline you are<br>> > &nbs= p; using to<br>> > boot the node, to give = me a chance to reproduce it.<br>> > <br>&g= t; > - fabian<br>> >  = ; <br>> > > David<br>> >&n= bsp; > <br>> > >= ; <br>> > > <br>> > = > ----- Original Message -----<br>> > &= nbsp; > > From: Fabian Deutsch <<a ymailto=3D"mailto:fabian= d@redhat.com" href=3D"mailto:fabiand@redhat.com">fabiand@redhat.com</a>>= <br>> > > > To: David Li <<a ymai= lto=3D"mailto:david_li@sbcglobal.net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>&= gt; > > > Cc: "<a ymailto=3D"mailto:use= rs@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.org</a>" <<a y= mailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovi= rt.org</a>><br>> > > > Sent: Wedn= esday, December 4, 2013 11:17 AM<br>> > &g= t; > Subject: Re: [Users] How to pxeboot ovrit node into<br>> memory<= br>> > automatically?<br>> > &= nbsp; > > <br>> > >= > Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li:<br>> >= > >> Hi Fabian,<br>> >&nbs= p; > >> <br>> > &nb= sp; > >> Everytime the ovirt node boots up, it adds a route<br>> entry<br>> > that I have to= <br>> > > > manually remove. Otherw= ise it messed up my routing. <br>> > > = >> How do I modify the boot scripts to automatically<br>> re= move<br>> > it?<br>> > = > > <br>> > > > = Hey David,<br>> > > > <br>> >&= nbsp; > > could you file a bug for that route pr= oblem?<br>> > > > <br>> > = ; > > You can try the following workaround:<br>&= gt; > > > <br>> > &n= bsp; > > # Create /etc/rc.d/rc.local with the commands to run<= br>> > > > $ vi /etc/rc.d/rc.local<br>> > > > $ chm= od 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>> > &= gt; > <br>> > > > - fabian<br>>= ; > > > <br>> > &nbs= p; > >> ----- Original Message -----<br>> >&nbs= p; > >> > From: Fabian Deutsch <<= a ymailto=3D"mailto:fabiand@redhat.com" href=3D"mailto:fabiand@redhat.com">= fabiand@redhat.com</a>><br>> > > >= ;> > To: David Li <<a ymailto=3D"mailto:david_li@sbcglobal.n= et" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>&= gt; > > >> > Cc: "<a ymailt= o=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.org">users@ovirt.or= g</a>" <<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt= .org">users@ovirt.org</a>><br>> > > = >> > Sent: Monday, October 28, 2013 7:45 AM<br>> >&nbs= p; > >> > Subject: Re: [Users] How t= o pxeboot ovrit node into<br>> > memory <b= r>> > > > automatically?<br>> >= ; > >> > <br>> > &= nbsp; > >> > Am Montag, den 28.10.2013, 07:= 42 -0700 schrieb David<br>> > Li:<br>> = > > >> >> <br>> > > >> >> Hi Fabi= an,<br>> > > >> >> <b= r>> > > >> >> Y= es rootpwd worked too! Thanks.<br>> > >= >> >> <br>> > > >= > >> Two new problems:<br>> >  = ; > >> >> <br>> > &nb= sp; > >> >> But I found there is no networking f= or the<br>> stateless<br>> > node.<br>&= gt; > > >> >> What= kernel boot options are used to either use<br>> DHCP<br>> > = or <br>> > > >= statically <br>> > > >> > configure the IP address for an interface on the<br>&g= t; node?<br>> > > >> >&g= t; <br>> > > >> >>&nb= sp; I also need to have the sshd enabled. Is there a<br>> > &nb= sp; kernel option <br>> > &g= t; > for that?<br>> > > >>&nbs= p; > <br>> > > >> > H= ey David,<br>> > > >> > = <br>> > > >> > here you = can find all the supported boot params in<br>> > = ovirt node:<br>> > > >>&nb= sp; > <br>> > > ><br>> ><br= href=3D"http://gerrit.ovirt.org/gitweb?p=3Dovirt-node.git;a=3Dblob;f=3Dscr= ipts/ovirt-init-functions.sh.in;h=3Dc4280caefb89c77afc1e8bec8c925aa7f303973= 3;hb=3DHEAD#l214" target=3D"_blank">http://gerrit.ovirt.org/gitweb?p=3Dovir= t-node.git;a=3Dblob;f=3Dscripts/ovirt-init-functions.sh.in;h=3Dc4280caefb89= c77afc1e8bec8c925aa7f3039733;hb=3DHEAD#l214</a><br>> > &= nbsp; > >> > <br>> > &nb= sp; > >> > Greetings<br>> > &nb= sp; > >> > fabian<br>> > = > >> > <br>> > > >= ;> >> David<br>> > &g= t; >> >> <br>> > > &g= t;> >> <br>> > > >>= ; >> <br>> > > >>&nbs= p; >> ----- Original Message -----<br>> > > = >> >> > From: Fabian Deutsch <<a ymailto=3D"m= ailto:fabiand@redhat.com" href=3D"mailto:fabiand@redhat.com">fabiand@redhat= .com</a>><br>> > > >> &g= t;> > To: David Li <<a ymailto=3D"mailto:david_li@sbcglobal.= net" href=3D"mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><= br>> > > >> >> = > Cc: "<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@ovirt.= org">users@ovirt.org</a>" <<a ymailto=3D"mailto:users@ovirt.org" href=3D= "mailto:users@ovirt.org">users@ovirt.org</a>><br>> > = > >> >> > Sent: Friday, October= 25, 2013 9:10 AM<br>> > > >>&nbs= p; >> > Subject: Re: [Users] How to pxeboot ovrit node<br>&g= t; > into memory <br>> > &nb= sp; > >> > automatically?<br>> >  = ; > >> >> > <br>> > = > >> >> > Am Freitag, d= en 25.10.2013, 08:57 -0700 schrieb<br>> > = David Li:<br>> > > >> >&= gt; >> Hi Fabian,<br>> > = > >> >> >> <br>> > &nb= sp; > >> >> >> That kernel op= tion worked for me! The node is<br>> > &nbs= p; booted <br>> > > > up in RAM. <br= p; > >> >> >> <br>> >&= nbsp; > >> >> >> <br>= > > > >> >> >= ;> <br>> > > >> >>= >> <br>> > > >> = ; >> >> ----- Original Message -----<br>> >&n= bsp; > >> >> >> = > From: Fabian Deutsch <<a ymailto=3D"mailto:fabiand@redhat.com" hre= f=3D"mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> >&nbs= p; > >> >> >> &= gt; To: David Li <<a ymailto=3D"mailto:david_li@sbcglobal.net" href=3D"m= ailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>> > > >> >> >>= ; > Cc: "<a ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:user= s@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>> > &g= t; >> >> >> > Sent: Thursday, Octobe= r 24, 2013 11:47 PM<br>> > > >>&n= bsp; >> >> > Subject: Re: [Users] How to pxeboot= ovrit<br>> > node <br>> > &nb= sp; > > into memory <br>> > &= nbsp; > >> >> > automatically?<br>> >&n= bsp; > >> >> >> = > <br>> > > >> >> >> > Am Donnerstag, den 24.10.2013, 16:26 -0= 700<br>> > schrieb <br>> > &nb= sp; > > David Li:<br>> > &nbs= p; > >> >> >> >> Hi,<br>= > > > >> >> >= ;> >> <br>> > > >>= >> >> >> I was following the ins= tructions at <br>> > > >> &= gt;> > <a href=3D"http://www.ovirt.org/Node_PXE" target=3D"_bla= nk">http://www.ovirt.org/Node_PXE</a>. My goal <br>> > &= nbsp; > >> >> >> > is to u= se pxeboot (iPXE) to boot the node<br>> > = entirely <br>> > > > into RAM <br>> > > >> > with <br= p; > >> > storage. My <br>> > &= nbsp; > >> >> > system has <br>> > = ; > >> >> >> &g= t; no disk and this doesn't quite work for me. <br>> > &= nbsp; > >> >> >> >> <br= p; > >> >> >> > Hey= David,<br>> > > >> >>= ; >> > <br>> > > &= gt;> >> >> > the stateless mode is currently not<br>> > completely <br>&g= t; > > > working with <br>> >&nbs= p; > >> > oVirt<br>> > &= nbsp; > >> >> >> > = Engine. That means a Node needs to be<br>> > &nbs= p; approved <br>> > > > each time it= <br>> > > >> > boots in= to<br>> > > >> >>&nbs= p; >> > the stateless mode.<br>> > = > >> >> >> > The stateles= s mode can be entered by<br>> > appending = <br>> > > > stateless to <br>> &g= t; > >> > the <br>> > > >> >> > de= fault<br>> > > >> >>&= nbsp; >> > kernel arguments.<br>> >  = ; > >> >> >> > <br>> &g= t; > >> >> >>&n= bsp; > Greetings<br>> > > >>&n= bsp; >> >> > fabian<br>> > &n= bsp; > >> >> >> > <br>>= > > >> >> > <b= r>> > > >> > <br>> &g= t; > > <br>> > &= nbsp; <br>> > <br>> > &= nbsp; <br>> > <br>> <br>> <br><br><br><br></div> </div> </div> </blockquote></div> </div>= </body></html> ---482694697-950170067-1387319042=:76127--

--=-Q2S5z2CFuHZyxwTtGVcm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Dienstag, den 17.12.2013, 14:24 -0800 schrieb David Li:
Hi Fabiand, =20 =20 I have a iSCSI partition on my stateless node. But the problem is I can't format the partition. The same partition can be formatted and mounted on a regular machine without problems.=20 =20 =20 [root@localhost ~]# mkfs.ext3 /dev/sda mke2fs 1.42.7 (21-Jan-2013) /dev/sda is entire device, not just one partition! Proceed anyway? (y,n) y =20 /dev/sda is apparently in use by the system; will not make a filesystem here! =20 =20 =20 =20 The error message doesn't seem to make sense as the iSCSI partition isn't used by any other machine. =20 =20 =20 Any idea why this isn't working in a stateless node?=20
This doesn't seem to be a stateless problem. Please run findmnt /dev/sda to see if it's mounted. Please also consider to ask your questions on users@ovirt.org or node-devel@ovirt.org - there are more people there to answer. node-devel@ovirt.org is especially good for Node stuff. - fabian
=20 =20 David =20 =20 ______________________________________________________________ From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net>=20 Cc: "users@ovirt.org" <users@ovirt.org>=20 Sent: Thursday, December 12, 2013 7:40 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically? =20 =20 Am Mittwoch, den 11.12.2013, 17:32 -0800 schrieb David Li: > Hi Fabian, >=20 > 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. >=20 > David >=20 >=20 >=20 =20 Hey David, =20 please take a look here to find the correct cmdline: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterp= rise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Gu= ide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hyperviso= r_Kernel_Parameters_and_Automated_Installation.html =20 - fabian =20 >=20 > _________________________________________________________________=
> From: Fabian Deutsch <fabiand@redhat.com>;=20 > To: David Li <david_li@sbcglobal.net>;=20 > Cc: users@ovirt.org <users@ovirt.org>;=20 > Subject: Re: [Users] How to pxeboot ovrit node into memory > automatically?=20 > Sent: Wed, Dec 11, 2013 8:00:40 AM=20 >=20 >=20 > Am Dienstag, den 10.12.2013, 16:00 -0800 schrieb David Li: > > Hi Fabian, > >=20 > >=20 > > Does the stateless ovirt node have the VDSM built-in?=20 >=20 > Hey David, >=20 > stateless is a feature or a special mode of oVirt Node which is also > available on the "oVirt Node for oVirt Engine" image [1]. > But please note that you will have to approve the Node in Engine after > each reboot if you use the stateless feature. This bug [2] might also > tackle the problem of a stateless Node. >=20 > - fabian >=20 > -- > [1] > http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0.3-=
1.1.vdsm.fc19.iso
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=3D875088 >=20 > >=20 > > David > >=20 > > =20 > > > ______________________________________________________________ > > From: Fabian Deutsch <fabiand@redhat.com> > > To: David Li <david_li@sbcglobal.net>=20 > > Cc: "users@ovirt.org" <users@ovirt.org>=20 > > Sent: Thursday, December 5, 2013 11:47 PM > > Subject: Re: [Users] How to pxeboot ovrit node into memory > > automatically? > > =20 > > =20 > > Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb David Li: > > > Hi Fabian, > > >=20 > > > I think the bad route is a link local route 169.254.0.0/16. > > I am not quite sure if it's a real bug but in my case I have > > to remove this route. > > > Also I am using ramdisk based node without a local disk. > Can > > anything be persisted?=20 > > =20 > > Hey David, > > =20 > > when you refer to stateless mode, then no, nothing can be > > persisted. > > Regarding the bug - Please provide the whole cmdline you are > > using to > > boot the node, to give me a chance to reproduce it. > > =20 > > - fabian > > =20 > > > David > > >=20 > > >=20 > > >=20 > > > ----- Original Message ----- > > > > From: Fabian Deutsch <fabiand@redhat.com> > > > > To: David Li <david_li@sbcglobal.net> > > > > Cc: "users@ovirt.org" <users@ovirt.org> > > > > Sent: Wednesday, December 4, 2013 11:17 AM > > > > Subject: Re: [Users] How to pxeboot ovrit node into > memory > > automatically? > > > >=20 > > > > Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li: > > > >> Hi Fabian, > > > >>=20 > > > >> Everytime the ovirt node boots up, it adds a route > entry > > that I have to=20 > > > > manually remove. Otherwise it messed up my routing.=20 > > > >> How do I modify the boot scripts to automatically > remove > > it? > > > >=20 > > > > Hey David, > > > >=20 > > > > could you file a bug for that route problem? > > > >=20 > > > > You can try the following workaround: > > > >=20 > > > > # Create /etc/rc.d/rc.local with the commands to run > > > > $ vi /etc/rc.d/rc.local > > > > $ chmod a+x /etc/rc.d/rc.local > > > > $ persist /etc/rc.d/rc.local > > > >=20 > > > > /etc/rc.d/rc.local should then be run on every boot. > > > >=20 > > > > - fabian > > > >=20 > > > >> ----- Original Message ----- > > > >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> > To: David Li <david_li@sbcglobal.net> > > > >> > Cc: "users@ovirt.org" <users@ovirt.org> > > > >> > Sent: Monday, October 28, 2013 7:45 AM > > > >> > Subject: Re: [Users] How to pxeboot ovrit node into > > memory=20 > > > > automatically? > > > >> >=20 > > > >> > Am Montag, den 28.10.2013, 07:42 -0700 schrieb David > > Li: > > > >> >>=20 > > > >> >> Hi Fabian, > > > >> >>=20 > > > >> >> Yes rootpwd worked too! Thanks. > > > >> >>=20 > > > >> >> Two new problems: > > > >> >>=20 > > > >> >> But I found there is no networking for the > stateless > > node. > > > >> >> What kernel boot options are used to either use > DHCP > > or=20 > > > > statically=20 > > > >> > configure the IP address for an interface on the > node? > > > >> >>=20 > > > >> >> I also need to have the sshd enabled. Is there a > > kernel option=20 > > > > for that? > > > >> >=20 > > > >> > Hey David, > > > >> >=20 > > > >> > here you can find all the supported boot params in > > ovirt node: > > > >> >=20 > > > > > > > http://gerrit.ovirt.org/gitweb?p=3Dovirt-node.git;a=3Dblob;f=3Dsc=
ripts/ovirt-init-functions.sh.in;h=3Dc4280caefb89c77afc1e8bec8c925aa7f30397= 33;hb=3DHEAD#l214
> > > >> >=20 > > > >> > Greetings > > > >> > fabian > > > >> >=20 > > > >> >> David > > > >> >>=20 > > > >> >>=20 > > > >> >>=20 > > > >> >> ----- Original Message ----- > > > >> >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> >> > To: David Li <david_li@sbcglobal.net> > > > >> >> > Cc: "users@ovirt.org" <users@ovirt.org> > > > >> >> > Sent: Friday, October 25, 2013 9:10 AM > > > >> >> > Subject: Re: [Users] How to pxeboot ovrit node > > into memory=20 > > > >> > automatically? > > > >> >> >=20 > > > >> >> > Am Freitag, den 25.10.2013, 08:57 -0700 schrieb > > David Li: > > > >> >> >> Hi Fabian, > > > >> >> >>=20 > > > >> >> >> That kernel option worked for me! The node is > > booted=20 > > > > up in RAM.=20 > > > >> > Thanks! > > > >> >> >>=20 > > > >> >> >> My next question is: > > > >> >> >> How do I specify the root login and passwd as > > boot=20 > > > > parameters?=20 > > > >> >> >=20 > > > >> >> > Hey David. > > > >> >> >=20 > > > >> >> > Nice that it worked! Were you able to register to > > the=20 > > > > Engine? > > > >> >> >=20 > > > >> >> > You can use the adminpw=3D and rootpw=3D kernel > > arguments to set=20 > > > >=20 > > > >> > passwords. > > > >> >> > use > > > >> >> > $ openssl passwd -salt 42 > > > >> >> > to create one or two passwords > > > >> >> >=20 > > > >> >> > Greetings > > > >> >> > fabian > > > >> >> >=20 > > > >> >> >> David > > > >> >> >>=20 > > > >> >> >>=20 > > > >> >> >>=20 > > > >> >> >>=20 > > > >> >> >> ----- Original Message ----- > > > >> >> >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> >> >> > To: David Li <david_li@sbcglobal.net> > > > >> >> >> > Cc: "users@ovirt.org"=20 > > > > <users@ovirt.org> > > > >> >> >> > Sent: Thursday, October 24, 2013 11:47 PM > > > >> >> >> > Subject: Re: [Users] How to pxeboot ovrit > > node=20 > > > > into memory=20 > > > >> >> > automatically? > > > >> >> >> >=20 > > > >> >> >> > Am Donnerstag, den 24.10.2013, 16:26 -0700 > > schrieb=20 > > > > David Li: > > > >> >> >> >> Hi, > > > >> >> >> >>=20 > > > >> >> >> >> I was following the instructions at=20 > > > >> >> > http://www.ovirt.org/Node_PXE. My goal=20 > > > >> >> >> > is to use pxeboot (iPXE) to boot the node > > entirely=20 > > > > into RAM=20 > > > >> > with=20 > > > >> >> > rootfs. What I=20 > > > >> >> >> > got now is an installation screen which > > requires a=20 > > > > local=20 > > > >> > storage. My=20 > > > >> >> > system has=20 > > > >> >> >> > no disk and this doesn't quite work for me.=20 > > > >> >> >> >>=20 > > > >> >> >> >> What's are the kernel parameters I need=20 > > > > to use to=20 > > > >> > boot the=20 > > > >> >> > node into=20 > > > >> >> >> > RAM automatically? I am OK as the first step > > with=20 > > > > a=20 > > > >> > stateless node.=20 > > > >> >> >> >=20 > > > >> >> >> > Hey David, > > > >> >> >> >=20 > > > >> >> >> > the stateless mode is currently not > > completely=20 > > > > working with=20 > > > >> > oVirt > > > >> >> >> > Engine. That means a Node needs to be > > approved=20 > > > > each time it=20 > > > >> > boots into > > > >> >> >> > the stateless mode. > > > >> >> >> > The stateless mode can be entered by > > appending=20 > > > > stateless to=20 > > > >> > the=20 > > > >> >> > default > > > >> >> >> > kernel arguments. > > > >> >> >> >=20 > > > >> >> >> > Greetings > > > >> >> >> > fabian > > > >> >> >> >=20 > > > >> >> >=20 > > > >> >=20 > > > >=20 > > =20 > > =20 > > =20 > > =20 >=20 >=20 =20 =20 =20 =20
--=-Q2S5z2CFuHZyxwTtGVcm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAABAgAGBQJSsVnHAAoJEC9+uOgSHVGUzgUP/iuhWs2u668mCH/9PMZwVj9J xtAxul9qYcO1qbpTqlzKhuiWLDRfPfuho1OYdNc16Sd4t2WJ7Ts/hJTxSz6Q78HE XG3hLwui7UBFmtM/aKJr5xWzsuylRA6KUeaswg7nZRSx2TCodX2awnLCs+vgGuzW /MJttm97WSVRWsBBXwr3+LydWfmII8ErB5pUf3CrqijuKSG27VWCBrvv9pxbw5/o NNXRVx3hhwEqtZ4mHIhBDiX9jwY/yNKELukBAYE5Z4Vp2qGpmotMGkCmYIRsARLf x/+synnhB5suqBIehcOKd643ncEa2g110tJCwqTZn3gj/EY2IgUw7deTxej8hoIY 7d36eEoDP4Qolh+YQoJa47KyEuMihm+CmkWk1bEvym0RT16S8arEIsugAVPKIqrq AeYMWkp5HDUNtxKCT4847kD7V3Fr+tYPryBuGmZ7AB21gkU7lsjboXwvdERvHlwa gketHIL3p+1E8t7nfb41vEU8pnTzZeSpYp48q0SiELWWPd2Hm8wh3yq6BzJu3W0u wAUAeYJl/AkEvWs5JewrIsP0qZXYKhGUoEsx5UMHlCg6tE95cjuycVFRmQOnpWrf Y55GSHI70SEQVEdWO/6mvVVOvTwbLZWYIYoo/mBSDoaHg+KzjCz3f+k87fi5V0lI RLapVd9MPXkJJ4xp9HCc =VHQa -----END PGP SIGNATURE----- --=-Q2S5z2CFuHZyxwTtGVcm--

--=-Adq/eqOl0YdqV88IrIl+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Mittwoch, den 18.12.2013, 09:16 +0100 schrieb Fabian Deutsch:
Am Dienstag, den 17.12.2013, 14:24 -0800 schrieb David Li:
Hi Fabiand, =20 =20 I have a iSCSI partition on my stateless node. But the problem is I can't format the partition. The same partition can be formatted and mounted on a regular machine without problems.=20 =20 =20 [root@localhost ~]# mkfs.ext3 /dev/sda mke2fs 1.42.7 (21-Jan-2013) /dev/sda is entire device, not just one partition! Proceed anyway? (y,n) y =20 /dev/sda is apparently in use by the system; will not make a filesystem here! =20 =20 =20 =20 The error message doesn't seem to make sense as the iSCSI partition isn't used by any other machine. =20 =20 =20 Any idea why this isn't working in a stateless node?=20 =20 This doesn't seem to be a stateless problem. =20 Please run findmnt /dev/sda to see if it's mounted. =20 Please also consider to ask your questions on users@ovirt.org or node-devel@ovirt.org - there are more people there to answer. =20 node-devel@ovirt.org is especially good for Node stuff.
My fault - A look at the recipients would have revealed that they are included :) - fabian
- fabian =20
=20 =20 David =20 =20 ______________________________________________________________ From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net>=20 Cc: "users@ovirt.org" <users@ovirt.org>=20 Sent: Thursday, December 12, 2013 7:40 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically? =20 =20 Am Mittwoch, den 11.12.2013, 17:32 -0800 schrieb David Li: > Hi Fabian, >=20 > 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. >=20 > David >=20 >=20 >=20 =20 Hey David, =20 please take a look here to find the correct cmdline: https://access.redhat.com/site/documentation/en-US/Red_Hat_Ente= rprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_= Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervi= sor_Kernel_Parameters_and_Automated_Installation.html =20 - fabian =20 >=20 > _______________________________________________________________=
> From: Fabian Deutsch <fabiand@redhat.com>;=20 > To: David Li <david_li@sbcglobal.net>;=20 > Cc: users@ovirt.org <users@ovirt.org>;=20 > Subject: Re: [Users] How to pxeboot ovrit node into memory > automatically?=20 > Sent: Wed, Dec 11, 2013 8:00:40 AM=20 >=20 >=20 > Am Dienstag, den 10.12.2013, 16:00 -0800 schrieb David Li: > > Hi Fabian, > >=20 > >=20 > > Does the stateless ovirt node have the VDSM built-in?=20 >=20 > Hey David, >=20 > stateless is a feature or a special mode of oVirt Node which is also > available on the "oVirt Node for oVirt Engine" image [1]. > But please note that you will have to approve the Node in Engine after > each reboot if you use the stateless feature. This bug [2] might also > tackle the problem of a stateless Node. >=20 > - fabian >=20 > -- > [1] > http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0.=
3-1.1.vdsm.fc19.iso
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=3D875088 >=20 > >=20 > > David > >=20 > > =20 > > > ______________________________________________________________ > > From: Fabian Deutsch <fabiand@redhat.com> > > To: David Li <david_li@sbcglobal.net>=20 > > Cc: "users@ovirt.org" <users@ovirt.org>=20 > > Sent: Thursday, December 5, 2013 11:47 PM > > Subject: Re: [Users] How to pxeboot ovrit node into memory > > automatically? > > =20 > > =20 > > Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb David Li: > > > Hi Fabian, > > >=20 > > > I think the bad route is a link local route 169.254.0.0/16. > > I am not quite sure if it's a real bug but in my case I have > > to remove this route. > > > Also I am using ramdisk based node without a local disk. > Can > > anything be persisted?=20 > > =20 > > Hey David, > > =20 > > when you refer to stateless mode, then no, nothing can be > > persisted. > > Regarding the bug - Please provide the whole cmdline you are > > using to > > boot the node, to give me a chance to reproduce it. > > =20 > > - fabian > > =20 > > > David > > >=20 > > >=20 > > >=20 > > > ----- Original Message ----- > > > > From: Fabian Deutsch <fabiand@redhat.com> > > > > To: David Li <david_li@sbcglobal.net> > > > > Cc: "users@ovirt.org" <users@ovirt.org> > > > > Sent: Wednesday, December 4, 2013 11:17 AM > > > > Subject: Re: [Users] How to pxeboot ovrit node into > memory > > automatically? > > > >=20 > > > > Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li: > > > >> Hi Fabian, > > > >>=20 > > > >> Everytime the ovirt node boots up, it adds a route > entry > > that I have to=20 > > > > manually remove. Otherwise it messed up my routing.=20 > > > >> How do I modify the boot scripts to automatically > remove > > it? > > > >=20 > > > > Hey David, > > > >=20 > > > > could you file a bug for that route problem? > > > >=20 > > > > You can try the following workaround: > > > >=20 > > > > # Create /etc/rc.d/rc.local with the commands to run > > > > $ vi /etc/rc.d/rc.local > > > > $ chmod a+x /etc/rc.d/rc.local > > > > $ persist /etc/rc.d/rc.local > > > >=20 > > > > /etc/rc.d/rc.local should then be run on every boot. > > > >=20 > > > > - fabian > > > >=20 > > > >> ----- Original Message ----- > > > >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> > To: David Li <david_li@sbcglobal.net> > > > >> > Cc: "users@ovirt.org" <users@ovirt.org> > > > >> > Sent: Monday, October 28, 2013 7:45 AM > > > >> > Subject: Re: [Users] How to pxeboot ovrit node into > > memory=20 > > > > automatically? > > > >> >=20 > > > >> > Am Montag, den 28.10.2013, 07:42 -0700 schrieb David > > Li: > > > >> >>=20 > > > >> >> Hi Fabian, > > > >> >>=20 > > > >> >> Yes rootpwd worked too! Thanks. > > > >> >>=20 > > > >> >> Two new problems: > > > >> >>=20 > > > >> >> But I found there is no networking for the > stateless > > node. > > > >> >> What kernel boot options are used to either use > DHCP > > or=20 > > > > statically=20 > > > >> > configure the IP address for an interface on the > node? > > > >> >>=20 > > > >> >> I also need to have the sshd enabled. Is there a > > kernel option=20 > > > > for that? > > > >> >=20 > > > >> > Hey David, > > > >> >=20 > > > >> > here you can find all the supported boot params in > > ovirt node: > > > >> >=20 > > > > > > > http://gerrit.ovirt.org/gitweb?p=3Dovirt-node.git;a=3Dblob;f=3D=
scripts/ovirt-init-functions.sh.in;h=3Dc4280caefb89c77afc1e8bec8c925aa7f303= 9733;hb=3DHEAD#l214
> > > >> >=20 > > > >> > Greetings > > > >> > fabian > > > >> >=20 > > > >> >> David > > > >> >>=20 > > > >> >>=20 > > > >> >>=20 > > > >> >> ----- Original Message ----- > > > >> >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> >> > To: David Li <david_li@sbcglobal.net> > > > >> >> > Cc: "users@ovirt.org" <users@ovirt.org> > > > >> >> > Sent: Friday, October 25, 2013 9:10 AM > > > >> >> > Subject: Re: [Users] How to pxeboot ovrit node > > into memory=20 > > > >> > automatically? > > > >> >> >=20 > > > >> >> > Am Freitag, den 25.10.2013, 08:57 -0700 schrieb > > David Li: > > > >> >> >> Hi Fabian, > > > >> >> >>=20 > > > >> >> >> That kernel option worked for me! The node is > > booted=20 > > > > up in RAM.=20 > > > >> > Thanks! > > > >> >> >>=20 > > > >> >> >> My next question is: > > > >> >> >> How do I specify the root login and passwd as > > boot=20 > > > > parameters?=20 > > > >> >> >=20 > > > >> >> > Hey David. > > > >> >> >=20 > > > >> >> > Nice that it worked! Were you able to register to > > the=20 > > > > Engine? > > > >> >> >=20 > > > >> >> > You can use the adminpw=3D and rootpw=3D kernel > > arguments to set=20 > > > >=20 > > > >> > passwords. > > > >> >> > use > > > >> >> > $ openssl passwd -salt 42 > > > >> >> > to create one or two passwords > > > >> >> >=20 > > > >> >> > Greetings > > > >> >> > fabian > > > >> >> >=20 > > > >> >> >> David > > > >> >> >>=20 > > > >> >> >>=20 > > > >> >> >>=20 > > > >> >> >>=20 > > > >> >> >> ----- Original Message ----- > > > >> >> >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> >> >> > To: David Li <david_li@sbcglobal.net> > > > >> >> >> > Cc: "users@ovirt.org"=20 > > > > <users@ovirt.org> > > > >> >> >> > Sent: Thursday, October 24, 2013 11:47 PM > > > >> >> >> > Subject: Re: [Users] How to pxeboot ovrit > > node=20 > > > > into memory=20 > > > >> >> > automatically? > > > >> >> >> >=20 > > > >> >> >> > Am Donnerstag, den 24.10.2013, 16:26 -0700 > > schrieb=20 > > > > David Li: > > > >> >> >> >> Hi, > > > >> >> >> >>=20 > > > >> >> >> >> I was following the instructions at=20 > > > >> >> > http://www.ovirt.org/Node_PXE. My goal=
=20
> > > >> >> >> > is to use pxeboot (iPXE) to boot the node > > entirely=20 > > > > into RAM=20 > > > >> > with=20 > > > >> >> > rootfs. What I=20 > > > >> >> >> > got now is an installation screen which > > requires a=20 > > > > local=20 > > > >> > storage. My=20 > > > >> >> > system has=20 > > > >> >> >> > no disk and this doesn't quite work for me.=20 > > > >> >> >> >>=20 > > > >> >> >> >> What's are the kernel parameters I need=20 > > > > to use to=20 > > > >> > boot the=20 > > > >> >> > node into=20 > > > >> >> >> > RAM automatically? I am OK as the first step > > with=20 > > > > a=20 > > > >> > stateless node.=20 > > > >> >> >> >=20 > > > >> >> >> > Hey David, > > > >> >> >> >=20 > > > >> >> >> > the stateless mode is currently not > > completely=20 > > > > working with=20 > > > >> > oVirt > > > >> >> >> > Engine. That means a Node needs to be > > approved=20 > > > > each time it=20 > > > >> > boots into > > > >> >> >> > the stateless mode. > > > >> >> >> > The stateless mode can be entered by > > appending=20 > > > > stateless to=20 > > > >> > the=20 > > > >> >> > default > > > >> >> >> > kernel arguments. > > > >> >> >> >=20 > > > >> >> >> > Greetings > > > >> >> >> > fabian > > > >> >> >> >=20 > > > >> >> >=20 > > > >> >=20 > > > >=20 > > =20 > > =20 > > =20 > > =20 >=20 >=20 =20 =20 =20 =20
=20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--=-Adq/eqOl0YdqV88IrIl+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAABAgAGBQJSsW21AAoJEC9+uOgSHVGUmrwP/2IZKuF+ZKxeZnP1PkfktIXW Fpj6angu72xa6GCcrCYBQug/d1hhdwtFtXGsrptliY3bwJXhNkV9EQ8G/0amJTCS jZDSU5rkTNh/RVDc6ftfRHd/Lgy+EN1ZMxQZEK0Zy3J/grVJZDxz9+yaDjPbvqhX 86VhuhboTl62aMj23H5iXsGzW7Se7CB7FT/SC4dls1MtT21mer/Cu0i8LVmH43AY hKu66QOX70g1gF6qi+rFoyQcIHBpcp2Z8+9z3VuaIZzhZscmeFDhiA+n+qwqyt0Y cccd6+8yMmckglxBrEs8TxyPWJFkZSnH2SAYcsZnpT/QqKqChUkSEt6e3kfwBv6/ bYC4swg4nzu/gSneNp0LjcGwnr3ndWtan0moNUjJfQl3ngw090ZRPeX3vp6/Y30X yMf+jVP2semoeNEY0qa9xniG8cpZ35rT0ydNWukfjgAmPaB7yjI924K45NsW60nY G8rzojpUVFPopQMai1SJWqso0Bw7+9qRbouuw3lzmuQ/dssPZxqiRPrSBPAFvpLf 8mxRveBtoDlgshs+fsaBCSFIfDobAgOigO1OzCMYN1kizYFHQXNMgn60ZG81vck5 cb+Srewme/7x4nhCz27xy1zA8FWXALqnHDCJY1sJCCOo0bPR6XwCu7qZ4RG4BC3K nc2mUxRHwSzmYhnRbSas =4cWj -----END PGP SIGNATURE----- --=-Adq/eqOl0YdqV88IrIl+--

The device might be grabbed/locked by vdsm/sanlock. On Wed, Dec 18, 2013 at 9:16 AM, Fabian Deutsch <fabiand@redhat.com> wrote:
Am Dienstag, den 17.12.2013, 14:24 -0800 schrieb David Li:
Hi Fabiand,
I have a iSCSI partition on my stateless node. But the problem is I can't format the partition. The same partition can be formatted and mounted on a regular machine without problems.
[root@localhost ~]# mkfs.ext3 /dev/sda mke2fs 1.42.7 (21-Jan-2013) /dev/sda is entire device, not just one partition! Proceed anyway? (y,n) y
/dev/sda is apparently in use by the system; will not make a filesystem here!
The error message doesn't seem to make sense as the iSCSI partition isn't used by any other machine.
Any idea why this isn't working in a stateless node?
This doesn't seem to be a stateless problem.
Please run findmnt /dev/sda to see if it's mounted.
Please also consider to ask your questions on users@ovirt.org or node-devel@ovirt.org - there are more people there to answer.
node-devel@ovirt.org is especially good for Node stuff.
- fabian
David
______________________________________________________________ From: Fabian Deutsch <fabiand@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: "users@ovirt.org" <users@ovirt.org> Sent: Thursday, December 12, 2013 7:40 AM Subject: Re: [Users] How to pxeboot ovrit node into memory automatically?
Am Mittwoch, den 11.12.2013, 17:32 -0800 schrieb David Li: > 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 > > >
Hey David,
please take a look here to find the correct cmdline: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtua...
- fabian
> > ______________________________________________________________________ > From: Fabian Deutsch <fabiand@redhat.com>; > To: David Li <david_li@sbcglobal.net>; > Cc: users@ovirt.org <users@ovirt.org>; > Subject: Re: [Users] How to pxeboot ovrit node into memory > automatically? > Sent: Wed, Dec 11, 2013 8:00:40 AM > > > Am Dienstag, den 10.12.2013, 16:00 -0800 schrieb David Li: > > Hi Fabian, > > > > > > Does the stateless ovirt node have the VDSM built-in? > > Hey David, > > stateless is a feature or a special mode of oVirt Node which is also > available on the "oVirt Node for oVirt Engine" image [1]. > But please note that you will have to approve the Node in Engine after > each reboot if you use the stateless feature. This bug [2] might also > tackle the problem of a stateless Node. > > - fabian > > -- > [1] > http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0.3-1.1.vdsm.fc... > [2] https://bugzilla.redhat.com/show_bug.cgi?id=875088 > > > > > David > > > > > > > ______________________________________________________________ > > From: Fabian Deutsch <fabiand@redhat.com> > > To: David Li <david_li@sbcglobal.net> > > Cc: "users@ovirt.org" <users@ovirt.org> > > Sent: Thursday, December 5, 2013 11:47 PM > > Subject: Re: [Users] How to pxeboot ovrit node into memory > > automatically? > > > > > > Am Donnerstag, den 05.12.2013, 16:30 -0800 schrieb David Li: > > > Hi Fabian, > > > > > > I think the bad route is a link local route 169.254.0.0/16. > > I am not quite sure if it's a real bug but in my case I have > > to remove this route. > > > Also I am using ramdisk based node without a local disk. > Can > > anything be persisted? > > > > Hey David, > > > > when you refer to stateless mode, then no, nothing can be > > persisted. > > Regarding the bug - Please provide the whole cmdline you are > > using to > > boot the node, to give me a chance to reproduce it. > > > > - fabian > > > > > David > > > > > > > > > > > > ----- Original Message ----- > > > > From: Fabian Deutsch <fabiand@redhat.com> > > > > To: David Li <david_li@sbcglobal.net> > > > > Cc: "users@ovirt.org" <users@ovirt.org> > > > > Sent: Wednesday, December 4, 2013 11:17 AM > > > > Subject: Re: [Users] How to pxeboot ovrit node into > memory > > automatically? > > > > > > > > Am Montag, den 02.12.2013, 13:53 -0800 schrieb David Li: > > > >> Hi Fabian, > > > >> > > > >> Everytime the ovirt node boots up, it adds a route > entry > > that I have to > > > > manually remove. Otherwise it messed up my routing. > > > >> How do I modify the boot scripts to automatically > remove > > it? > > > > > > > > Hey David, > > > > > > > > could you file a bug for that route problem? > > > > > > > > You can try the following workaround: > > > > > > > > # Create /etc/rc.d/rc.local with the commands to run > > > > $ vi /etc/rc.d/rc.local > > > > $ chmod a+x /etc/rc.d/rc.local > > > > $ persist /etc/rc.d/rc.local > > > > > > > > /etc/rc.d/rc.local should then be run on every boot. > > > > > > > > - fabian > > > > > > > >> ----- Original Message ----- > > > >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> > To: David Li <david_li@sbcglobal.net> > > > >> > Cc: "users@ovirt.org" <users@ovirt.org> > > > >> > Sent: Monday, October 28, 2013 7:45 AM > > > >> > Subject: Re: [Users] How to pxeboot ovrit node into > > memory > > > > automatically? > > > >> > > > > >> > Am Montag, den 28.10.2013, 07:42 -0700 schrieb David > > Li: > > > >> >> > > > >> >> Hi Fabian, > > > >> >> > > > >> >> Yes rootpwd worked too! Thanks. > > > >> >> > > > >> >> Two new problems: > > > >> >> > > > >> >> But I found there is no networking for the > stateless > > node. > > > >> >> What kernel boot options are used to either use > DHCP > > or > > > > statically > > > >> > configure the IP address for an interface on the > node? > > > >> >> > > > >> >> I also need to have the sshd enabled. Is there a > > kernel option > > > > for that? > > > >> > > > > >> > Hey David, > > > >> > > > > >> > here you can find all the supported boot params in > > ovirt node: > > > >> > > > > > > > > http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=blob;f=scripts/ovirt-init-... > > > >> > > > > >> > Greetings > > > >> > fabian > > > >> > > > > >> >> David > > > >> >> > > > >> >> > > > >> >> > > > >> >> ----- Original Message ----- > > > >> >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> >> > To: David Li <david_li@sbcglobal.net> > > > >> >> > Cc: "users@ovirt.org" <users@ovirt.org> > > > >> >> > Sent: Friday, October 25, 2013 9:10 AM > > > >> >> > Subject: Re: [Users] How to pxeboot ovrit node > > into memory > > > >> > automatically? > > > >> >> > > > > >> >> > Am Freitag, den 25.10.2013, 08:57 -0700 schrieb > > David Li: > > > >> >> >> Hi Fabian, > > > >> >> >> > > > >> >> >> That kernel option worked for me! The node is > > booted > > > > up in RAM. > > > >> > Thanks! > > > >> >> >> > > > >> >> >> My next question is: > > > >> >> >> How do I specify the root login and passwd as > > boot > > > > parameters? > > > >> >> > > > > >> >> > Hey David. > > > >> >> > > > > >> >> > Nice that it worked! Were you able to register to > > the > > > > Engine? > > > >> >> > > > > >> >> > You can use the adminpw= and rootpw= kernel > > arguments to set > > > > > > > >> > passwords. > > > >> >> > use > > > >> >> > $ openssl passwd -salt 42 > > > >> >> > to create one or two passwords > > > >> >> > > > > >> >> > Greetings > > > >> >> > fabian > > > >> >> > > > > >> >> >> David > > > >> >> >> > > > >> >> >> > > > >> >> >> > > > >> >> >> > > > >> >> >> ----- Original Message ----- > > > >> >> >> > From: Fabian Deutsch <fabiand@redhat.com> > > > >> >> >> > To: David Li <david_li@sbcglobal.net> > > > >> >> >> > Cc: "users@ovirt.org" > > > > <users@ovirt.org> > > > >> >> >> > Sent: Thursday, October 24, 2013 11:47 PM > > > >> >> >> > Subject: Re: [Users] How to pxeboot ovrit > > node > > > > into memory > > > >> >> > automatically? > > > >> >> >> > > > > >> >> >> > Am Donnerstag, den 24.10.2013, 16:26 -0700 > > schrieb > > > > David Li: > > > >> >> >> >> Hi, > > > >> >> >> >> > > > >> >> >> >> I was following the instructions at > > > >> >> > http://www.ovirt.org/Node_PXE. My goal > > > >> >> >> > is to use pxeboot (iPXE) to boot the node > > entirely > > > > into RAM > > > >> > with > > > >> >> > rootfs. What I > > > >> >> >> > got now is an installation screen which > > requires a > > > > local > > > >> > storage. My > > > >> >> > system has > > > >> >> >> > no disk and this doesn't quite work for me. > > > >> >> >> >> > > > >> >> >> >> What's are the kernel parameters I need > > > > to use to > > > >> > boot the > > > >> >> > node into > > > >> >> >> > RAM automatically? I am OK as the first step > > with > > > > a > > > >> > stateless node. > > > >> >> >> > > > > >> >> >> > Hey David, > > > >> >> >> > > > > >> >> >> > the stateless mode is currently not > > completely > > > > working with > > > >> > oVirt > > > >> >> >> > Engine. That means a Node needs to be > > approved > > > > each time it > > > >> > boots into > > > >> >> >> > the stateless mode. > > > >> >> >> > The stateless mode can be entered by > > appending > > > > stateless to > > > >> > the > > > >> >> > default > > > >> >> >> > kernel arguments. > > > >> >> >> > > > > >> >> >> > Greetings > > > >> >> >> > fabian > > > >> >> >> > > > > >> >> > > > > >> > > > > > > > > > > > > > > >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
David Li
-
Fabian Deutsch
-
Sander Grendelman