[Users] Trouble making ovirt-node image

Federico Alberto Sayd fsayd at uncu.edu.ar
Tue Dec 6 18:13:11 UTC 2011


El 06/12/11 14:58, Cristian Falcas escribió:
> Hi,
>
> I had the same problems when I tried to install it on a 3GB disk. It 
> worked fine when I made the disk 13GB. I don't know what the minimum 
> requirements are.
>
> On Tue, Dec 6, 2011 at 19:16, Federico Alberto Sayd <fsayd at uncu.edu.ar 
> <mailto:fsayd at uncu.edu.ar>> wrote:
> > El 06/12/11 13:56, Joey Boggs escribió:
> >
> >> On 12/06/2011 11:45 AM, Federico Alberto Sayd wrote:
> >>>
> >>> El 05/12/11 19:50, Mike Burns escribió:
> >>>>
> >>>> On Mon, 2011-12-05 at 15:55 -0300, Federico Alberto Sayd wrote:
> >>>>>
> >>>>> El 02/12/11 16:30, Joey Boggs escribió:
> >>>>>>
> >>>>>> On 12/02/2011 11:09 AM, Mike Burns wrote:
> >>>>>>>
> >>>>>>> On Fri, 2011-12-02 at 12:25 -0300, Federico Alberto Sayd wrote:
> >>>>>>>>
> >>>>>>>> El 02/12/11 12:00, Mike Burns escribió:
> >>>>>>>>>
> >>>>>>>>> On Fri, 2011-12-02 at 11:05 -0300, Federico Alberto Sayd wrote:
> >>>>>>>>>>
> >>>>>>>>>> El 02/12/11 01:34, Mike Burns escribió:
> >>>>>>>>>>>
> >>>>>>>>>>> On Thu, 2011-12-01 at 14:42 -0300, Federico Alberto Sayd 
> wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>> El 01/12/11 12:59, Mike Burns escribió:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On Thu, 2011-12-01 at 11:23 -0300, Federico Alberto Sayd 
> wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> El 30/11/11 16:48, Douglas Landgraf escribió:
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Hello Federico,
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> On 11/30/2011 11:31 AM, Federico Alberto Sayd wrote:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Hello:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> I am trying to implement Ovirt in a testing datacenter.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> I have installed Ovirt-Engine from rpm on Fedora 16 
> and all
> >>>>>>>>>>>>>>>> is Ok. I
> >>>>>>>>>>>>>>>> can access the web management without problem.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> My problem is with Ovirt-Node. I followed the guide in:
> >>>>>>>>>>>>>>>> http://www.ovirt.org/wiki/Node_Building.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> I used the same Fedora 16 installation for building 
> the node
> >>>>>>>>>>>>>>>> iso. I
> >>>>>>>>>>>>>>>> followed all steps, but the iso creation failed.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> The docs dont say, but I had to install  at least the
> >>>>>>>>>>>>>>>> ovirt-node-tools, I don't know if also I have to install
> >>>>>>>>>>>>>>>> ovirt-node
> >>>>>>>>>>>>>>>> rpm from $BASEDIR/rpmbuild/RPMS/noarch
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> The output of make ovirt-node-image.iso is in pastebin:
> >>>>>>>>>>>>>>>> http://pastebin.com/2U6NezuE
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Please see this BZ, there is a workaround:
> >>>>>>>>>>>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=757818
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Thanks
> >>>>>>>>>>>>>>> Douglas
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Thanks, it worked
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I could generate the iso image, but now I can't install 
> Ovirt
> >>>>>>>>>>>>>> to the
> >>>>>>>>>>>>>> hardisk neither access to the configuration to specify 
> things
> >>>>>>>>>>>>>> such ip,
> >>>>>>>>>>>>>> password, etc.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Boot option "Install" only boots Ovirt on live cd image 
> mode
> >>>>>>>>>>>>>> (No hardisk
> >>>>>>>>>>>>>> installation). Also I don't  know the default user and
> >>>>>>>>>>>>>> password, or the
> >>>>>>>>>>>>>> method to specify this parameters at the image creation 
> time.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Thanks for any clarification and sorry for my poor english.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Sorry, I sent the response to private address. I resend 
> to the
> >>>>>>>>>>>> list:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> It sounds like something isn't working quite right in 
> the iso.
> >>>>>>>>>>>>> What is
> >>>>>>>>>>>>> the last commit in the git repo?
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> git log -1
> >>>>>>>>>>>>
> >>>>>>>>>>>> commit b1f86732fa5a7803223a52af759b40830612d08a
> >>>>>>>>>>>> Author: Mike Burns<mburns at redhat.com 
> <mailto:mburns at redhat.com>>
> >>>>>>>>>>>> Date:   Thu Nov 17 08:40:32 2011 -0500
> >>>>>>>>>>>>
> >>>>>>>>>>>>         move rc.local changes to ovirt-post
> >>>>>>>>>>>>
> >>>>>>>>>>>>         Change-Id: Iac718b9284b831b978e50eb80d93d498e23d475d
> >>>>>>>>>>>>
> >>>>>>>>>>>>> Where did you check the repo out from?
> >>>>>>>>>>>>
> >>>>>>>>>>>> git clone http://gerrit.ovirt.org/p/ovirt-node.git
> >>>>>>>>>>>
> >>>>>>>>>>> Ok, that's the right stuff.  I know we've seen this in 
> some cases
> >>>>>>>>>>> a long
> >>>>>>>>>>> time ago, but not recently.
> >>>>>>>>>>>
> >>>>>>>>>>> can you try this?
> >>>>>>>>>>>
> >>>>>>>>>>> 1.  generate a hashed password using # openssl passwd
> >>>>>>>>>>> 2.  Boot the image and in the boot menu (or in the pxe 
> config if
> >>>>>>>>>>> your
> >>>>>>>>>>> using pxe), add rootpw=hashed_password_from_step_1
> >>>>>>>>>>> 3.  When it boots to a getty login prompt, login as root 
> with the
> >>>>>>>>>>> password you supplied to openssl
> >>>>>>>>>>
> >>>>>>>>>> Ok, generated and logged in
> >>>>>>>>>>>
> >>>>>>>>>>> 4.  check /var/log/ovirt.log and /tmp/ovirt.log for any errors
> >>>>>>>>>>
> >>>>>>>>>> http://pastebin.com/MM1BpXb3
> >>>>>>>>>>>
> >>>>>>>>>>> In addition, what type of hardware are you using?  Real 
> hardware?
> >>>>>>>>>>> virtual machine?
> >>>>>>>>>>
> >>>>>>>>>> Real hardware, ibm blade
> >>>>>>>>>>>
> >>>>>>>>>>> What type of storage is on you host?  What state is it in? 
>  Is it
> >>>>>>>>>>> clean?
> >>>>>>>>>>> is there something already installed?
> >>>>>>>>>>
> >>>>>>>>>> [root at localhost ~]# fdisk -l
> >>>>>>>>>>
> >>>>>>>>>> Disk /dev/sda: 146.0 GB, 145999527936 bytes
> >>>>>>>>>> 255 heads, 63 sectors/track, 17750 cylinders, total 285155328
> >>>>>>>>>> sectors
> >>>>>>>>>> Units = sectors of 1 * 512 = 512 bytes
> >>>>>>>>>> Sector size (logical/physical): 512 bytes / 512 bytes
> >>>>>>>>>> I/O size (minimum/optimal): 512 bytes / 512 bytes
> >>>>>>>>>> Disk identifier: 0x00000000
> >>>>>>>>>>
> >>>>>>>>>> Disk /dev/sda doesn't contain a valid partition table
> >>>>>>>>>>
> >>>>>>>>>>> How are you installing?  cd?  USB stick? pxe?
> >>>>>>>>>>
> >>>>>>>>>> CD (iso mounted to blade hardware through blade administration
> >>>>>>>>>> software)
> >>>>>>>>>>>
> >>>>>>>>>>> Mike
> >>>>>>>>>>
> >>>>>>>>>> There is some site or repo where I can download another  iso to
> >>>>>>>>>> compare?
> >>>>>>>>>
> >>>>>>>>> Hmm, nothing jumps out at me, although the restorecon 
> messages are
> >>>>>>>>> concerning.
> >>>>>>>>>
> >>>>>>>>> Joey can you take a look and see why the install TUI isn't 
> loading?
> >>>>>>>>>
> >>>>>>>>> Federico,
> >>>>>>>>>
> >>>>>>>>> I don't have anything at the moment posted, but I'll build 
> an image
> >>>>>>>>> with
> >>>>>>>>> the latest commits (I pushed a couple things today) and post it.
> >>>>>>>>>
> >>>>>>>>> Mike
> >>>>>>>>>>
> >>>>>>>>>> Thanks
> >>>>>>>>>>
> >>>>>>>>>> Federico
> >>>>>>>>>> _______________________________________________
> >>>>>>>>>> Users mailing list
> >>>>>>>>>> Users at ovirt.org <mailto:Users at ovirt.org>
> >>>>>>>>>> http://lists.ovirt.org/mailman/listinfo/users
> >>>>>>>>
> >>>>>>>> Thanks Mike, I will wait your post
> >>>>>>>
> >>>>>>>
> >>>>>>> 
> http://ovirt.org/releases/nightly/binary/ovirt-node-image-gitb30a716f.iso
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> Federico
> >>>>>>>> _______________________________________________
> >>>>>>>> Users mailing list
> >>>>>>>> Users at ovirt.org <mailto:Users at ovirt.org>
> >>>>>>>> http://lists.ovirt.org/mailman/listinfo/users
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> Users mailing list
> >>>>>>> Users at ovirt.org <mailto:Users at ovirt.org>
> >>>>>>> http://lists.ovirt.org/mailman/listinfo/users
> >>>>>>
> >>>>>> Nothing jumps out at me either, I built one myself just now and it
> >>>>>> boots up just fine. Is it possible to attach that machine to a 
> serial
> >>>>>> console and get output? Does the iso Mike linked to work for you?
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>> Hi all:
> >>>>>
> >>>>> The iso provided by Mike, booted up ok, TUI loads, but installation
> >>>>> fails
> >>>>> ("oVirt Node Hypervisor Installation Failed"). Error logs are 
> displayed
> >>>>> (/var/log/ovirt.log, /tmp/ovirt.log and /var/log/messages) but I 
> don't
> >>>>> know how export this logs out from installation for debugging. I 
> tried
> >>>>> passing the root password as kernel parameter in order to login 
> in the
> >>>>> live system and obtain the logs, but the system asks for a new root
> >>>>> password, I change the pass but this didn't  work.
> >>>>
> >>>> The process for setting the password again is kinda confusing and I
> >>>> always seem to mess it up.  You need to enter the old password twice,
> >>>> then the new password twice.
> >>>
> >>> Yes, I entered the old password and the new password twice, but 
> password
> >>> was not changed.
> >>>>
> >>>> Now, to try to understand the error that you're facing.  First thing,
> >>>> let me point you to slides that I recently presented at the oVirt
> >>>> Workshop[1].
> >>>>
> >>>> I'm assuming you started with Slide 12 after you booted the 
> image.  You
> >>>> the progressed until slide 15, but you got an error instead of 
> success
> >>>> in the bottom-right slide?
> >>>
> >>> Yes
> >>>>
> >>>> If that's the case, then you should see a list of log files to 
> look at.
> >>>> On that screen, hit F2 and you should get dropped to a shell 
> where you
> >>>> can do pretty much anything.  To get your log files off, you need to
> >>>> setup networking and a root password.  Run the following commands and
> >>>> follow the onscreen menus to setup networking and authentication. 
>  Make
> >>>> sure to allow ssh password authentication in the 
> ovirt-config-password
> >>>> script.
> >>>>
> >>>> 1.  # /usr/libexec/ovirt-config-networking
> >>>> 2.  # /usr/libexec/ovirt-config-password
> >>>>
> >>>> After this is done, you should have networking and can scp the 
> files out
> >>>> from another machine.
> >>>
> >>> Ok, I was able to access to live system. I didn't know the F2 "trick"
> >>> These are the logs:
> >>>
> >>> /var/log/messages: http://pastebin.com/gU1uRVxm
> >>> /var/log/ovirt.log: http://pastebin.com/Qn2gn6AR
> >>> /tmp/ovirt.log: http://pastebin.com/H47QdvSH
> >>>
> >>> it seems that the problem is related to hard disk
> >>>
> >>>
> >>>> On a side note, if you can get on IRC (#ovirt on OFTC), it might be
> >>>> easier for us to debug it only together in real time rather than back
> >>>> and forth on email.  Feel free to ping me directly.
> >>>>
> >>>> Mike (mburns on irc)
> >>>
> >>> Ok, I will try to contact you on IRC, but I have to admin I am no 
> fluent
> >>> in english
> >>>
> >>>  Altough also I post to the list to share the information if 
> somebody has
> >>> the same problem
> >>>
> >>>> [1] http://www.ovirt.org/wp-content/uploads/2011/11/ovirt-node.pdf
> >>>>
> >>>>> These are the most significatives log lines (manually copied):
> >>>>>
> >>>>> cp: cannot stat '/boot/efi/* ': no such file or directory
> >>>>> unmount: /liveos/grub/efi: not found
> >>>>>
> >>>>> ERROR GRUB setup failed
> >>>>> ERROR Grub2 installation Failed
> >>>>
> >>>> I haven't hit these errors at all.
> >>>>>
> >>>>> Thanks
> >>>>>
> >>>>> Federico
> >>>
> >>>
> >>> Best regards
> >>>
> >>> Federico
> >>>
> >>> _______________________________________________
> >>> Users mailing list
> >>> Users at ovirt.org <mailto:Users at ovirt.org>
> >>> http://lists.ovirt.org/mailman/listinfo/users
> >>
> >>
> >>
> >> Can you try running:
> >>
> >> /sbin/grub2-install /dev/mapper/3600508e000000000c759bf82c5f06d0d
> >> --boot-directory=/liveos --force
> >>
> >> It should give us some output as to why the grub install is failing.
> >>
> > # /sbin/grub2-install /dev/mapper/3600508e000000000c759bf82c5f06d0d
> > --boot-directory=/liveos --force
> >
> > /sbin/grub2-setup: warn: This GPT partition label has no BIOS Boot
> > Partition; embedding won't be possible!.
> > /sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be
> > installed in this setup by using blocklists.  However, blocklists are
> > UNRELIABLE and their use is discouraged..
> > Installation finished. No error reported.
> >
> >
> > Thanks
> >
> > Federico
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org <mailto:Users at ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users
The hard disk has 135 GB, I don't think my problem is related to hardisk 
size

PS: Please don't  top post replies. Thanks.

Federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20111206/ac6579e7/attachment-0001.html>


More information about the Users mailing list