<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span>Hi Fabiand,</span></div><div style="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="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>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="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="background-color: transparent;">[root@localhost ~]# mkfs.ext3 /dev/sda</div><div style="background-color: transparent;">mke2fs 1.42.7 (21-Jan-2013)</div><div style="background-color: transparent;">/dev/sda is entire device, not just one partition!</div><div style="background-color: transparent;">Proceed anyway? (y,n) y</div><div style="background-color: transparent;"><span></span></div><div style="background-color: transparent;">/dev/sda is apparently in use by the system; will not make a filesystem here!</div><div style="background-color: transparent;"><br></div><div style="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 style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">The error message
doesn't seem to make sense as the iSCSI partition isn't used by any other machine. </div><div style="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 style="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 isn't working in a stateless node? </div><div style="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 style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">David</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br><blockquote style="border-left: 2px solid
rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <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;">Sent:</span></b> Thursday, December 12, 2013 7:40 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Users] How to pxeboot ovrit node into memory automatically?<br> </font> </div> <div class="y_msg_container"><br>
Am 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 it from ovirt<br>> engine cli? The cli asks for three things: URL, user name 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:<br><a href="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"
target="_blank">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</a><br><br>- fabian<br><br>> <br>> ______________________________________________________________________<br>> From: Fabian Deutsch <<a ymailto="mailto:fabiand@redhat.com" href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>>; <br>> To: David Li <<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>>; <br>> Cc: <a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a> <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>>; <br>> Subject: Re: [Users] How to pxeboot ovrit node into memory<br>> automatically? <br>> Sent:
Wed, Dec 11, 2013 8:00:40 AM <br>> <br>> <br>> 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>> http://resources.ovirt.org/releases/3.3/iso/ovirt-node-iso-3.0.3-1.1.vdsm.fc19.iso<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>> ______________________________________________________________<br>> > From: Fabian Deutsch <<a ymailto="mailto:fabiand@redhat.com" href="mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> > To: David Li <<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>> <br>> > Cc: "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>" <<a ymailto="mailto:users@ovirt.org" href="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>> > 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.<br>> 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="mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> > > > To: David Li <<a ymailto="mailto:david_li@sbcglobal.net"
href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>> > > > Cc: "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>" <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>><br>> > > > Sent: Wednesday, December 4, 2013 11:17 AM<br>> > > > Subject: Re: [Users] How to pxeboot ovrit node into<br>> 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<br>> 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<br>> 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="mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> > > >> > To: David Li <<a ymailto="mailto:david_li@sbcglobal.net"
href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>> > > >> > Cc: "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>" <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">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<br>> stateless<br>> > node.<br>> > > >> >> 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>> 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>> ><br>> <a
href="http://gerrit.ovirt.org/gitweb?p=ovirt-node.git;a=blob;f=scripts/ovirt-init-functions.sh.in;h=c4280caefb89c77afc1e8bec8c925aa7f3039733;hb=HEAD#l214" 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="mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> > > >> >> > To: David Li <<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>> > > >> >> > Cc: "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>" <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">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="mailto:fabiand@redhat.com">fabiand@redhat.com</a>><br>> > > >> >> >> > To: David Li <<a ymailto="mailto:david_li@sbcglobal.net" href="mailto:david_li@sbcglobal.net">david_li@sbcglobal.net</a>><br>>
> > >> >> >> > Cc: "<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>" <br>> > > > <<a ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">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>> <br><br><br><br></div> </div> </div> </blockquote></div> </div></body></html>