--=-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(a)ovirt.org or
node-devel(a)ovirt.org - there are more people there to answer.
node-devel(a)ovirt.org is especially good for Node stuff.
- fabian
=20
=20
David
=20
=20
______________________________________________________________
From: Fabian Deutsch <fabiand(a)redhat.com>
To: David Li <david_li(a)sbcglobal.net>=20
Cc: "users(a)ovirt.org" <users(a)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(a)redhat.com>;=20
> To: David Li <david_li(a)sbcglobal.net>;=20
> Cc: users(a)ovirt.org <users(a)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(a)redhat.com>
> > To: David Li <david_li(a)sbcglobal.net>=20
> > Cc: "users(a)ovirt.org" <users(a)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(a)redhat.com>
> > > > To: David Li <david_li(a)sbcglobal.net>
> > > > Cc: "users(a)ovirt.org"
<users(a)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(a)redhat.com>
> > > >> > To: David Li <david_li(a)sbcglobal.net>
> > > >> > Cc: "users(a)ovirt.org"
<users(a)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(a)redhat.com>
> > > >> >> > To: David Li
<david_li(a)sbcglobal.net>
> > > >> >> > Cc: "users(a)ovirt.org"
<users(a)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(a)redhat.com>
> > > >> >> >> > To: David Li
<david_li(a)sbcglobal.net>
> > > >> >> >> > Cc:
"users(a)ovirt.org"=20
> > > > <users(a)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--