[Users] How to pxeboot ovrit node into memory automatically?
David Li
david_li at sbcglobal.net
Thu Dec 12 20:23:41 EST 2013
Hi Fabian,
I have now a setup like this:
+-----------+ +--------------------+
| ovirt-shell | ---- network ---------| stateless node |
+------------+ +-------------------+
A few more questions:
1. Where is the source to build this image? ovirt-node-iso-3.0.3-1.1.vdsm.fc19.iso. Is it the same as http://gerrit.ovirt.org/p/ovirt-node.git?
2. 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, should I use "connect --url http://<ovirt-node-ip-addr>:8080/api --user "user at domain" --password "rhevm_admin_password"? Also in this command line, what's "user at domain" and where do I specify "user" and "domain"?
Thanks.
>________________________________
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131212/6eec8eb8/attachment-0001.html>
More information about the Users
mailing list