[Users] How to pxeboot ovrit node into memory automatically?
Fabian Deutsch
fabiand at redhat.com
Wed Dec 18 03:16:07 EST 2013
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 at 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 at ovirt.org or
node-devel at ovirt.org - there are more people there to answer.
node-devel at ovirt.org is especially good for Node stuff.
- fabian
>
>
> David
>
>
> ______________________________________________________________
> From: Fabian Deutsch <fabiand at redhat.com>
> To: David Li <david_li at sbcglobal.net>
> Cc: "users at ovirt.org" <users at 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_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-Installing_Red_Hat_Enterprise_Virtualization_Hypervisors-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation.html
>
> - fabian
>
> >
> >
> ______________________________________________________________________
> > From: Fabian Deutsch <fabiand at redhat.com>;
> > To: David Li <david_li at sbcglobal.net>;
> > Cc: users at ovirt.org <users at 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.fc19.iso
> > [2] https://bugzilla.redhat.com/show_bug.cgi?id=875088
> >
> > >
> > > David
> > >
> > >
> > >
> >
> ______________________________________________________________
> > > From: Fabian Deutsch <fabiand at redhat.com>
> > > To: David Li <david_li at sbcglobal.net>
> > > Cc: "users at ovirt.org" <users at 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 at redhat.com>
> > > > > To: David Li <david_li at sbcglobal.net>
> > > > > Cc: "users at ovirt.org" <users at 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 at redhat.com>
> > > > >> > To: David Li <david_li at sbcglobal.net>
> > > > >> > Cc: "users at ovirt.org" <users at 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-functions.sh.in;h=c4280caefb89c77afc1e8bec8c925aa7f3039733;hb=HEAD#l214
> > > > >> >
> > > > >> > Greetings
> > > > >> > fabian
> > > > >> >
> > > > >> >> David
> > > > >> >>
> > > > >> >>
> > > > >> >>
> > > > >> >> ----- Original Message -----
> > > > >> >> > From: Fabian Deutsch
> <fabiand at redhat.com>
> > > > >> >> > To: David Li <david_li at sbcglobal.net>
> > > > >> >> > Cc: "users at ovirt.org" <users at 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 at redhat.com>
> > > > >> >> >> > To: David Li
> <david_li at sbcglobal.net>
> > > > >> >> >> > Cc: "users at ovirt.org"
> > > > > <users at 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
> > > > >> >> >> >
> > > > >> >> >
> > > > >> >
> > > > >
> > >
> > >
> > >
> > >
> >
> >
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131218/3d0c08fe/attachment-0001.sig>
More information about the Users
mailing list