Thanks Oliver

-----Original Message-----
From: LAHAYE Olivier [mailto:olivier.lah...@cea.fr] 
Sent: Friday, February 21, 2014 8:14 AM
To: sisuite-users@lists.sourceforge.net
Subject: Re: [sisuite-users] support newer kernels in systemimager?


Hi Steven,

Latest systemImager that handle kernels up to 3.99 are here:
http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64/

And more precisely here for other distros:
http://svn.oscar.openclustergroup.org/repos/unstable/

if you want to build from git:
git clone http://github.com/finley/SystemImager.git SystemImager cd 
./SystemImager sudo make rpm # on rpm based distro sudo make deb # on a deb 
based distro make show_targets # to see all other possibilities It's preferable 
to download all depending sources and put those in /usr/src to do so:
make get_source
sudo cp initrd_source/src/* /usr/src
sudo cp src/* /usr/src

Note, it's a good idea to retreive source before doing a make rpm or make deb. 
upon failure, you don't need to redownload the external sources.

You can find also old versions (4.2.0-0.92svn4568) here:
http://olivier.lahaye1.free.fr/OSCAR/repos/unstable/rhel-6-x86_64/ (for rhel6) 
http://bison.csm.ornl.gov/repos/unstable (for debians) But they don't support 
newer kernels. (the regexp in the code responsible for checking kernel version 
is too restrictive).

You can find examples of postinstall scripts to setup gub, grub2, network, 
keyboard here:
http://olivier.lahaye1.free.fr/OSCAR/systemImager-scripts/
(grub 2 script is not yet perfect)

I'm planing to rework the way the binary templates are done using dracut. that 
way, we'll use server distro  (supported) files. for example, even on a 
redhat-el-6, you will be able to run redhat-6 kernel 2.6 on recent hardware 
(provided that this hardware is supported by redhat). Indeed it makes no sens 
to have a better kernel than the one installed by the distro as once installed 
it wouldn't boot. (of course the UYOK will persist and allow for installing 
custom kernel using post-installscript if you wish, just like it's done today).

Best regards.

Olivier.

--
   Olivier LAHAYE
   CEA DRT/LIST/DIR

________________________________________
De : Steven DuChene [steven.a.duch...@hp.com] Envoyé : mercredi 19 février 2014 
23:06 À : yann aubert Cc : sisuite-users@lists.sourceforge.net
Objet : Re: [sisuite-users] support newer kernels in systemimager?

I tried to access this and the file is not really available.
I actually need the systemimager and other pieces for both RHEL/CentOS and the 
Debian pieces. If I just have the debian/Ubuntu parts I cannot implement my 
testing infrastructure.

Where can I get 4.2.X SIS/systemimager pieces? Both Debian/Ubuntu deb packages 
and the equivalent rpm packages for RHEL/CentOS???
--
Steven DuChene

On 01/20/2014 05:29 AM, yann aubert wrote:
> Hi Brian,
>
>
> You can find debian packages here :
> https://ipnfiles.in2p3.fr/373a
>
> Yann
>
>
> On dim., 2014-01-19 at 22:59 -0600, Brian Elliott Finley wrote:
>> Steven,
>>
>> I'm afraid I'm testing with an unstable version that I'm prepping to 
>> release, but it's not ready yet.
>>
>> Yann -- do you have debs that you have built from your 4.2.x source 
>> tree?  If so, I'd like to add them to the SystemImager Debian repo 
>> and get a copy to Steven.
>>
>> Thanks, -Brian
>>
>>
>> On 2014-01-17, 08:36:14pm, DuChene, Steven A wrote:
>>> OK, I just checked the debian/Ubuntu  system where I am trying to run 
>>> si_prepareclient and it has systemimager  v4.1.6 packages installed.
>>> I notice the patch you sent seems to be from a 4.2.X branch. Where do I get 
>>> that branch from??? The newest available from the sourceforge files section 
>>> is 4.1.6 from 2008.
>>>
>>> Is there any place to download this from so I can transfer it to a group of 
>>> systems that do not have internet access?
>>> --
>>> Steven DuChene
>>>
>>> -----Original Message-----
>>> From: DuChene, Steven A
>>> Sent: Friday, January 17, 2014 8:17 AM
>>> To: Brian Elliott Finley
>>> Cc: sisuite-users@lists.sourceforge.net
>>> Subject: Re: [sisuite-users] support newer kernels in systemimager?
>>>
>>> Brian:
>>> What version of systemimager are you using to do your testing? I am looking 
>>> on the source forge files area and everything there is very old. Is there 
>>> some place where you are storing newer versions? I will try the patch you 
>>> sent though and see if applies cleanly to the bits I have installed.
>>> --
>>> Steve
>>>
>>> -----Original Message-----
>>> From: Brian Elliott Finley [mailto:br...@thefinleys.com]
>>> Sent: Sunday, January 12, 2014 9:16 PM
>>> To: DuChene, Steven A
>>> Cc: sisuite-users@lists.sourceforge.net
>>> Subject: Re: [sisuite-users] support newer kernels in systemimager?
>>>
>>> Thanks for the good information, Steven.
>>>
>>> It looks like Yann Aubert may have fixed the parsing issue.  I checked out 
>>> his repo, and see this in his commit log:
>>>
>>>       ┌─[bfinley@bob] ~/src/systemimager.Yann_Aubert/branches/4.2.x/
>>>       └─[$] svn log
>>>       
>>> ------------------------------------------------------------------------
>>>       r4 | aubert | 2011-12-08 07:36:16 -0600 (Thu, 08 Dec 2011) | 2 
>>> lines
>>>
>>> ->  Fix pvdisplay parsing when column appears in device name
>>>
>>>       
>>> ------------------------------------------------------------------------
>>>       r3 | aubert | 2011-12-07 11:58:21 -0600 (Wed, 07 Dec 2011) | 2 
>>> lines
>>>
>>>       fix interface discovery problem when compiling with linux 3.0
>>>
>>>       
>>> ------------------------------------------------------------------------
>>>       r2 | aubert | 2011-12-01 11:37:38 -0600 (Thu, 01 Dec 2011) | 2 
>>> lines
>>>
>>>       Debian packages can be generated again
>>>
>>>       
>>> ------------------------------------------------------------------------
>>>       r1 | aubert | 2011-11-30 11:27:04 -0600 (Wed, 30 Nov 2011) | 2 
>>> lines
>>>
>>>       Importé de svn.systemiager.org
>>>
>>>
>>>      ┌─[bfinley@bob] ~/src/systemimager.Yann_Aubert/branches/4.2.x/
>>>      └─[$] svn diff -r PREV
>>>      Index: lib/SystemImager/Common.pm
>>>      ===================================================================
>>>      --- lib/SystemImager/Common.pm  (revision 3)
>>>      +++ lib/SystemImager/Common.pm  (working copy)
>>>      @@ -1062,11 +1062,12 @@
>>>                   $part = $disk . $minor;
>>>               }
>>>               # Get physical volume information -AR-
>>>      -        my $cmd = "pvdisplay -c /dev/$part 2>/dev/null";
>>>      +        my $cmd = "pvs --noheadings -o vg_name /dev/$part 
>>> 2>/dev/null";
>>>               open (PV_INFO, "$cmd|");
>>>               unless (eof(PV_INFO)) {
>>>      -            my @pv_data = split(/:/, <PV_INFO>);
>>>      -            my $vg_name = $pv_data[1];
>>>      +       my $vg_name = <PV_INFO>;
>>>      +       chomp ($vg_name);
>>>      +       $vg_name = substr ($vg_name, 2);
>>>                   # This partition will become part to the volume group 
>>> $vg_name -AR-
>>>                   print DISK_FILE qq( lvm_group="$vg_name");
>>>               }
>>>
>>>
>>> Hope that helps in the mean time.  You can give it a try by applying the 
>>> attached patch to your installed system...
>>>
>>> As for the kernel, si_prepareclient completed successfully for me on 
>>> Quantal.  It's one release newer than what you were using, but I have no 
>>> reason to expect it to not work with that kernel either.
>>>
>>>      ┌─[bfinley@bob] ~/src/systemimager/ master ⚡
>>>      └─[$] lsb_release -a
>>>      No LSB modules are available.
>>>      Distributor ID: Ubuntu
>>>      Description:    Ubuntu 12.10
>>>      Release:    12.10
>>>      Codename:   quantal
>>>
>>>      ┌─[bfinley@bob] ~/src/systemimager/ master ⚡
>>>      └─[$] uname -r
>>>      3.5.0-45-generic
>>>
>>>
>>> Cheers, -Brian
>>>
>>>
>>> On 2013-12-10, 05:02:10pm, Steven DuChene wrote:
>>>> Bryan:
>>>> Sorry I missed getting to SC2013
>>>>
>>>> Did you ever get a chance to look at this Ubuntu 12.04 issue with 
>>>> systemimager?
>>>> --
>>>> Steve
>>>>
>>>> On 11/18/2013 07:27 AM, DuChene, Steven A wrote:
>>>>> Brian:
>>>>>
>>>>> Any updates yet on the issues I raised below with systemimager?
>>>>>
>>>>> --
>>>>>
>>>>> Steven DuChene
>>>>>
>>>>> *From:*Brian Elliott Finley [mailto:br...@thefinleys.com]
>>>>> *Sent:* Monday, November 04, 2013 8:35 PM
>>>>> *To:* SISuite Users List
>>>>> *Subject:* Re: [sisuite-users] support newer kernels in systemimager?
>>>>>
>>>>> Hi Steven,
>>>>>
>>>>> Thanks for the report.  I'll see if I can re-create it in the lab, 
>>>>> and update the code accordingly.
>>>>>
>>>>> Thanks, -Brian
>>>>>
>>>>> On Mon, Nov 4, 2013 at 2:02 PM, Steven DuChene 
>>>>> <steven.a.duch...@hp.com <mailto:steven.a.duch...@hp.com>> wrote:
>>>>>
>>>>> I am trying to capture the image of a system that is running 
>>>>> Ubuntu Precise 12.04LTS and when I run the si_prepareclient with 
>>>>> the following command line switches:
>>>>>
>>>>> si_prepareclient --server 10.23.18.10 --my-modules
>>>>>
>>>>> I get the following :
>>>>>
>>>>> Use of uninitialized value $v1 in split at 
>>>>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>>>>> Use of uninitialized value $v1 in split at 
>>>>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>>>>> Use of uninitialized value $v1 in split at 
>>>>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>>>>> Use of uninitialized value $v1 in split at 
>>>>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>>>>> Use of uninitialized value $v1 in split at 
>>>>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>>>>> Use of uninitialized value $leftovers in substitution (s///) at 
>>>>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 704.
>>>>> Use of uninitialized value $leftovers in split at 
>>>>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 707.
>>>>> Use of uninitialized value $v1 in split at 
>>>>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>>>>> Use of uninitialized value $v1 in split at 
>>>>> /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
>>>>> ERROR: unsupported kernel 3.5.0-23-generic!
>>>>>
>>>>> The warnings or errors about "Use of uninitialized value $v1 in 
>>>>> split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 
>>>>> 199" is due to the way parted is now returning multiple line of 
>>>>> text output when the --version option is passed. It seems that the 
>>>>> perl code that is supposed to be parsing the stuff that is not 
>>>>> able to handle that multi-line output to extract the version of the 
>>>>> parted utility.
>>>>>
>>>>>
>>>>> However what concerns me most is the message back that says the 
>>>>> 3.5.0-23-generic kernel is not supported.
>>>>> Is there any documentation available for systemimager that would 
>>>>> show the necessary process steps to incorperate support for newer kernels?
>>>>>
>>>>> Any suggestions about any of this would be most appreciated. BTW, 
>>>>> I have the following installed on the Ubuntu system:
>>>>>
>>>>> ii  systemconfigurator 2.2.11-1  Unified Configuration API for 
>>>>> Linux Installation ii  systemimager-client 4.1.6 Utilities for 
>>>>> creating an image and upgrading client machines ii  
>>>>> systemimager-common 4.1.6 Utilities and libraries common to both 
>>>>> the server and client ii
>>>>> systemimager-initrd-template-amd64 4.1.6 SystemImager initrd 
>>>>> template for amd64 client nodes
>>>>>
>>>>> --
>>>>> Steven DuChene
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> ----
>>>>> -------- Android is increasing in popularity, but the open 
>>>>> development platform that developers love is also attractive to malware 
>>>>> creators.
>>>>> Download this white paper to learn more about secure code signing 
>>>>> practices that can help keep Android apps secure.
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/os
>>>>> tg.c lktrk _______________________________________________
>>>>> sisuite-users mailing list
>>>>> sisuite-users@lists.sourceforge.net
>>>>> <mailto:sisuite-users@lists.sourceforge.net>
>>>>> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Brian Elliott Finley
>>>>> Mobile: 469.444.0167
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> ----
>>>>> -------- DreamFactory - Open Source REST & JSON Services for HTML5 
>>>>> & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and 
>>>>> External API Access Free app hosting. Or install the open source 
>>>>> package on any LAMP server.
>>>>> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/os
>>>>> tg.c
>>>>> lktrk
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> sisuite-users mailing list
>>>>> sisuite-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>>> --
>>> Brian Elliott Finley
>>> Mobile: 469.444.0167
>>> --------------------------------------------------------------------
>>> ---------- CenturyLink Cloud: The Leader in Enterprise Cloud 
>>> Services.
>>> Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical 
>>> Workloads, Development Environments & Everything In Between.
>>> Get a Quote or Start a Free Trial Today.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ost
>>> g.clktrk _______________________________________________
>>> sisuite-users mailing list
>>> sisuite-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications Take advantage of what the 
Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications Take advantage of what the 
Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to