
______________________________________________________________________=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--