I've fixed oscar side and the error does not appear again. Though it is still
here: is there are no part tags in the disk section.
Regards,
Olivier.
Le mercredi 25 novembre 2009 13:25:06 Olivier LAHAYE, vous avez écrit :
>
> Oups, just found a small bug. It looks like the autoinstallscript.conf is
> incompletely generated by oscar. If this is the case, the
> si_mkautoinstallscript crash instead of printing an error. Looking at it:
>
> log from OSCAR svn (oscar-6.0.5r9073-1): just at the end of image generation.
>
> Image build finished.
> Added Disk Table for oscarimage based on
> /usr/share/oscar/oscarsamples/cciss.disk
> Running: /usr/sbin/si_mkautoinstallscript -quiet --autodetect-disks -image
> oscarimage -force -ip-assignment static -post-install reboot ... Use of
> uninitialized value in numeric eq (==) at
> /usr/lib/systemimager/perl/SystemImager/Server.pm line 622, <$TEMPLATE> line
> 165.
> Use of uninitialized value in numeric gt (>) at
> /usr/lib/systemimager/perl/SystemImager/Server.pm line 656, <$TEMPLATE> line
> 165.
> Use of uninitialized value in numeric gt (>) at
> /usr/lib/systemimager/perl/SystemImager/Server.pm line 656, <$TEMPLATE> line
> 165.
> Use of uninitialized value in numeric ge (>=) at
> /usr/lib/systemimager/perl/SystemImager/Server.pm line 909, <$TEMPLATE> line
> 175.
> done
>
> Maybe it is related to my disks /dev/cciss/c0d0{,p{1,5,6}} <part> tags
> missing in disk section.
> following files are attached:
>
> /var/lib/systemimager/images/oscarimage/etc/systemimager/autoinstallscript.conf
> /usr/share/oscar/oscarsamples/cciss.disk
>
> /usr/lib/systemimager/perl/SystemImager/Server.pm:610
> DB<27> p Dumper $xml_config->{disk}->{$dev}
> $VAR1 = {
> 'label_type' => 'msdos',
> 'dev' => '/dev/cciss/c0d0',
> 'part' => {},
> 'unit_of_measurement' => 'MB'
> };
>
> 'part' is empty => line 612: $highest_p_or_e_part_num is never defined, then
> boom.
>
> On oscar side: I need to check how to fix the generation of
> autoinstallscript.conf, on your side, you need to report no partitions error
> message or the such.
>
> Best regards.
>
> Olivier.
>
> Le mercredi 25 novembre 2009 10:10:49 Olivier LAHAYE, vous avez écrit :
> >
> > Hi Bernard,
> >
> > As for releasing 4.1.7, IMHO, for having used it with OSCAR 6.0.5pre and
> > CentOS 5.4, it works fine.
> > For other purposes, I can't tell if the code is ready, but I don't see any
> > reasons why it wouldn't.
> >
> > For my part, the great advantage of this version is its kernel that
> > supports the HP Raid Array (cciss) without FIFO Full error messages.
> > So, for all people wanting to use OSCAR on HP servers that have a cciss
> > raid array, I think it would be very usefull as it would avoid the "use
> > your own kernel" requirement.
> >
> > In simple words yes it would be very helpful to have a new release :-)
> >
> > As for grub2: it is the standard bootloader for Mandriva Linux 2010, and it
> > is supported by at least SuSE 11 and debian unstable if I'm correct.
> > Booting on GPT partition table is only possible with grub2. grub1 and LILO
> > are unable to boot a GPT partition table.
> >
> > My cluster head is equipped with only a big 6To raid array and so far only
> > Mandriva 2010 was able to install itself on this hardware.
> > I'm planing to port Mandriva grub2 rpm to CentOS 5.4 so I could image my
> > head and then, using a mandriva live usb key, I would grub2 the boot.
> >
> > As for the patch, I'd be glad to create it, unfortunately, if you read
> > oscar-devel mailing list you'll notice that I'm a perl newbee. For now,
> > I'll look at porting grub2 package and then, if I succeed, I'll give a try
> > though.
> >
> > Best Regards,
> >
> > Olivier.
> >
> > Le mercredi 25 novembre 2009 06:20:40 Bernard Li, vous avez écrit :
> > > Hi Olivier:
> > >
> > > On Thu, Nov 19, 2009 at 12:28 AM, Olivier LAHAYE <[email protected]>
> > > wrote:
> > >
> > > > Just to report that I'm testing latest svn version of systemimager
> > > > (4.1.7 svn 4474) on CentOS 5.4 running on an HP system with a raid
> > > > array (CCISS) and it is the 1st version that runs flawlessly. No need
> > > > to run my own kernel to avoid Fifo full errors on cciss decices.
> > > >
> > > > No bug found so far. I'm testing this within the latest svn version of
> > > > OSCAR (6.0.5 svn 9034)
> > >
> > > Thanks for the report! Recently I have updated the kernel as well as
> > > LVM and tar. I am glad that this is working out for you.
> > >
> > > I was thinking of making a release when I get the chance. If you
> > > think the code is ready, I can make a 4.1.7 release which the OSCAR
> > > team can then bundle -- would that be helpful?
> > >
> > > > One question though: does system imager support booting on GPT
> > > > partition table? In other words: does it support grub2. If not, is it
> > > > aimed?
> > >
> > > Does grub1 (grub-legacy) not support GPT partition table? I know for
> > > certain that grub2 is not currently supported, but that does not mean
> > > it cannot be added in the future. However, your underlying OS would
> > > need to be running grub2 as well.
> > >
> > > You are more than welcome to work on a patch and submit that to us.
> > > The code for SystemConfigurator which would be in-charge of the grub
> > > management is available here:
> > >
> > > http://svn.systemimager.org/listing.php?repname=systemconfigurator&path=%2F&sc=0
> > >
> > > Cheers,
> > >
> > > Bernard
> > >
> > > ------------------------------------------------------------------------------
> > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> > > 30-Day
> > > trial. Simplify your report design, integration and deployment - and
> > > focus on
> > > what you do best, core application coding. Discover what's new with
> > > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > > _______________________________________________
> > > sisuite-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/sisuite-users
> > >
> >
> >
>
>
--
Olivier LAHAYE
CEA Saclay
DRT-LIST-DETECS-SSTM
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users