Re: [sisuite-users] support newer kernels in systemimager?

2014-02-25 Thread DuChene, Steven A
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

Re: [sisuite-users] support newer kernels in systemimager?

2014-02-21 Thread LAHAYE Olivier

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

Re: [sisuite-users] support newer kernels in systemimager?

2014-02-19 Thread Steven DuChene
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

Re: [sisuite-users] support newer kernels in systemimager?

2014-01-22 Thread Steven DuChene

Jan:
Thank you for supplying this patch and information.
What version of systemimager are you using with this patch?
--
Steven DuChene

On 01/19/2014 11:38 PM, Jan Groenewald wrote:

Hi

This file

0 root@muizenberg:/usr/lib/systemimager/perl/SystemImager#dpkg -S 
UseYourOwnKernel.pm
systemimager-common: 
/usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm


Checks the kernel version and throws an error for newer kernels. This 
patch allows me to use some 3.X kernels


1 root@muizenberg:/usr/lib/systemimager/perl/SystemImager#cat 
UseYourOwnKernel.pm.patch

--- UseYourOwnKernel.pm.orig2012-05-30 17:05:54.899344781 +0200
+++ UseYourOwnKernel.pm 2013-02-18 08:30:56.251862480 +0200
@@ -460,11 +460,12 @@
 #   2.4.19-mantis-2002.11.20 (root@mantis) #6 Tue 
Nov 19 15:15:43 CST 2002
 #   2.6.7-1-686 (dilin...@toaster.hq.voxel.net 
mailto:dilin...@toaster.hq.voxel.net) #1 Thu Jul 8 05:36:53 EDT 2004
 #   2.6.22.5-31-default (geeko@buildhost) #1 SMP 
2007/09/21 22:29:00 UTC
+   #   3.2.0-24-generic #39-Ubuntu SMP Mon May 21 
16:52:17 UTC 2012

 #
 my $regex =
 #   | kernel version + build machine
 # `---
-'(2\.[46]\.\d[^\/]*?) \(.*@.*\) [#]\d+.*' .
+ '((2\.[46])|(3\.[0125])\.\d[^\/]*?) \(.*@.*\) [#]\d+.*' .
 #
 #   | build date
 # `---
@@ -739,7 +740,7 @@
 # Find the right way to get modules info.
 my $uname_r = get_uname_r();
 my $modinfo_filename;
-if ($uname_r =~ /^2\.6/) {
+if ($uname_r =~ /(^2\.6)|(^3\.[0125])/) {
 $modinfo_filename = 'modinfo -F filename';
 } elsif ($uname_r =~ /^2\.4/) {
 $modinfo_filename = 'modinfo -n';


It is however already out of date as Ubuntu 12.04 can run 3.2 
(linux-generic) 3.5 (linux-generic-lts-quantal) 3.8 
(linux-generic-lts-raring) or 3.11 (linux-generic-lts-saucy) kernels:

https://wiki.ubuntu.com/Kernel/LTSEnablementStack

The patch will fix your problem running si_prepareclient (though I can 
image that I could not do the network boot on that kernel (still using 
an old 2.X Ubuntu 11.04 kernel).


My images are also converted to grub1 instead of grub2, and the master 
script edited to have ext3 not ext4, and a similar patch to allow the 
server to upload from an ext4 golden client.


I'm looking forward to a new release of SI for Ubuntu 12.04 and 14.04 
support!


Regards,
Jan






On 4 November 2013 22:02, 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

Re: [sisuite-users] support newer kernels in systemimager?

2014-01-22 Thread Jan Groenewald
Hi

4.1.6
Except Systemconfigurator systemconfigurator_2.2.12.svn716arighi_all.deb

Regards,
Jan



On 22 January 2014 22:59, Steven DuChene steven.a.duch...@hp.com wrote:

  Jan:
 Thank you for supplying this patch and information.
 What version of systemimager are you using with this patch?
 --
 Steven DuChene


 On 01/19/2014 11:38 PM, Jan Groenewald wrote:

Hi

  This file

 0 root@muizenberg:/usr/lib/systemimager/perl/SystemImager#dpkg -S
 UseYourOwnKernel.pm
 systemimager-common:
 /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm

  Checks the kernel version and throws an error for newer kernels. This
 patch allows me to use some 3.X kernels

 1 root@muizenberg:/usr/lib/systemimager/perl/SystemImager#cat
 UseYourOwnKernel.pm.patch
 --- UseYourOwnKernel.pm.orig2012-05-30 17:05:54.899344781 +0200
 +++ UseYourOwnKernel.pm 2013-02-18 08:30:56.251862480 +0200
 @@ -460,11 +460,12 @@
  #   2.4.19-mantis-2002.11.20 (root@mantis) #6 Tue
 Nov 19 15:15:43 CST 2002
  #   2.6.7-1-686 (dilin...@toaster.hq.voxel.net) #1
 Thu Jul 8 05:36:53 EDT 2004
  #   2.6.22.5-31-default (geeko@buildhost) #1 SMP
 2007/09/21 22:29:00 UTC
 +   #   3.2.0-24-generic #39-Ubuntu SMP Mon May 21
 16:52:17 UTC 2012
  #
  my $regex =
  #   | kernel version + build machine
  #   `---
 -'(2\.[46]\.\d[^\/]*?) \(.*@.*\) [#]\d+.*' .
 +'((2\.[46])|(3\.[0125])\.\d[^\/]*?) \(.*@.*\)
 [#]\d+.*' .
  #
  #   | build date
  #   `---
 @@ -739,7 +740,7 @@
  # Find the right way to get modules info.
  my $uname_r = get_uname_r();
  my $modinfo_filename;
 -if ($uname_r =~ /^2\.6/) {
 +if ($uname_r =~ /(^2\.6)|(^3\.[0125])/) {
  $modinfo_filename = 'modinfo -F filename';
  } elsif ($uname_r =~ /^2\.4/) {
  $modinfo_filename = 'modinfo -n';


  It is however already out of date as Ubuntu 12.04 can run 3.2
 (linux-generic) 3.5 (linux-generic-lts-quantal) 3.8
 (linux-generic-lts-raring) or 3.11 (linux-generic-lts-saucy) kernels:
 https://wiki.ubuntu.com/Kernel/LTSEnablementStack

  The patch will fix your problem running si_prepareclient (though I can
 image that I could not do the network boot on that kernel (still using an
 old 2.X Ubuntu 11.04 kernel).

  My images are also converted to grub1 instead of grub2, and the master
 script edited to have ext3 not ext4, and a similar patch to allow the
 server to upload from an ext4 golden client.

  I'm looking forward to a new release of SI for Ubuntu 12.04 and 14.04
 support!

 Regards,
 Jan






 On 4 November 2013 22:02, Steven DuChene 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:

 

Re: [sisuite-users] support newer kernels in systemimager?

2014-01-20 Thread Brian Elliott Finley
Thank you, Yann.

I'll get them into the SystemImager Debian repo.

-Brian




On Mon, Jan 20, 2014 at 6:29 AM, yann aubert yann.aub...@ipno.in2p3.frwrote:

 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

Re: [sisuite-users] support newer kernels in systemimager?

2014-01-19 Thread Brian Elliott Finley
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

Re: [sisuite-users] support newer kernels in systemimager?

2014-01-19 Thread Jan Groenewald
Hi

This file

0 root@muizenberg:/usr/lib/systemimager/perl/SystemImager#dpkg -S
UseYourOwnKernel.pm
systemimager-common:
/usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm

Checks the kernel version and throws an error for newer kernels. This patch
allows me to use some 3.X kernels

1 root@muizenberg:/usr/lib/systemimager/perl/SystemImager#cat
UseYourOwnKernel.pm.patch
--- UseYourOwnKernel.pm.orig2012-05-30 17:05:54.899344781 +0200
+++ UseYourOwnKernel.pm 2013-02-18 08:30:56.251862480 +0200
@@ -460,11 +460,12 @@
 #   2.4.19-mantis-2002.11.20 (root@mantis) #6 Tue Nov
19 15:15:43 CST 2002
 #   2.6.7-1-686 (dilin...@toaster.hq.voxel.net) #1 Thu
Jul 8 05:36:53 EDT 2004
 #   2.6.22.5-31-default (geeko@buildhost) #1 SMP
2007/09/21 22:29:00 UTC
+   #   3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17
UTC 2012
 #
 my $regex =
 #   | kernel version + build machine
 #   `---
-'(2\.[46]\.\d[^\/]*?) \(.*@.*\) [#]\d+.*' .
+'((2\.[46])|(3\.[0125])\.\d[^\/]*?) \(.*@.*\)
[#]\d+.*' .
 #
 #   | build date
 #   `---
@@ -739,7 +740,7 @@
 # Find the right way to get modules info.
 my $uname_r = get_uname_r();
 my $modinfo_filename;
-if ($uname_r =~ /^2\.6/) {
+if ($uname_r =~ /(^2\.6)|(^3\.[0125])/) {
 $modinfo_filename = 'modinfo -F filename';
 } elsif ($uname_r =~ /^2\.4/) {
 $modinfo_filename = 'modinfo -n';


It is however already out of date as Ubuntu 12.04 can run 3.2
(linux-generic) 3.5 (linux-generic-lts-quantal) 3.8
(linux-generic-lts-raring) or 3.11 (linux-generic-lts-saucy) kernels:
https://wiki.ubuntu.com/Kernel/LTSEnablementStack

The patch will fix your problem running si_prepareclient (though I can
image that I could not do the network boot on that kernel (still using an
old 2.X Ubuntu 11.04 kernel).

My images are also converted to grub1 instead of grub2, and the master
script edited to have ext3 not ext4, and a similar patch to allow the
server to upload from an ext4 golden client.

I'm looking forward to a new release of SI for Ubuntu 12.04 and 14.04
support!

Regards,
Jan






On 4 November 2013 22:02, Steven DuChene 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 

Re: [sisuite-users] support newer kernels in systemimager?

2014-01-12 Thread Brian Elliott Finley

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

Re: [sisuite-users] support newer kernels in systemimager?

2013-12-10 Thread Steven DuChene

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=65839951iu=/4140/ostg.clktrk
___
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=63469471iu=/4140/ostg.clktrk


___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists

Re: [sisuite-users] support newer kernels in systemimager?

2013-11-19 Thread Brian Elliott Finley
I'll be there. On my way now...
On Nov 18, 2013 8:26 AM, DuChene, Steven A steven.a.duch...@hp.com
wrote:

  Is anyone on this list going to be at SC2013 here in Denver? I am
 heading down there today.

 I would be interested in meeting up with other HPC people in attendance.

 My E-mail I will be able to check at the conference is tevend@yahoo.comor in 
 the case of Brian I will also have my cell phone.

 --

 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
 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=65839951iu=/4140/ostg.clktrk
 ___
 sisuite-users mailing list
 sisuite-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sisuite-users





 --
 Brian Elliott Finley
 Mobile: 469.444.0167

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] support newer kernels in systemimager?

2013-11-18 Thread DuChene, Steven A
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.commailto: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=65839951iu=/4140/ostg.clktrk
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.netmailto: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=63469471iu=/4140/ostg.clktrk___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users