[sisuite-users] support newer kernels in systemimager?

2013-11-04 Thread Steven DuChene
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/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-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 
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/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=63469471&iu=/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=84349831&iu=/4140/ostg.clktrk___
sisuite-users mailing list
sisuite-users@lists.sour

Re: [sisuite-users] 4 Debian packages Not Found

2014-01-10 Thread Steven DuChene
On 01/09/2014 08:00 AM, Mike Bianchi wrote:
> Installing  systemimager  and  systemconfigurator  fails due to
>
> W: Failed to fetch
> http://download.systemimager.org/debian/pool/main/d/diffutils/diff_2.8.1-11_amd64.deb
>404  Not Found
>
>
> W: Failed to fetch
> http://download.systemimager.org/debian/pool/main/c/coreutils/fileutils_5.94-1_all.deb
>404  Not Found
>
>
> W: Failed to fetch
> http://download.systemimager.org/debian/pool/main/d/dhcp3/dhcp3-common_3.0.3-8_amd64.deb
>404  Not Found
>
>
> W: Failed to fetch
> http://download.systemimager.org/debian/pool/main/d/dhcp3/dhcp3-server_3.0.3-8_amd64.deb
>404  Not Found
>
>
> Any suggestions?
>
What version of Debian or Ubuntu are you installing this on? On Ubuntu 
12.04 the dhcp packages are called "isc-dhcp-server" rather than dhcp3 
and the diff utility dpkg is called diffutils rather than just diff. 
Perhaps you could alter the list of downloaded deb packages to 
correspond to the real package names available for your distribution.

I tried to install the client pieces on a system a few months ago and 
while it all installed fine, the actual prepareclient step would not 
function on a Ubuntu 12.04LTS Precise system because the systemimager 
utilities would not support the 3.X.X kernels found on Ubuntu precise. I 
reported this but I have heard absolutely nothing from Bryan or any of 
the other developers as far as fix or a suggested work-around. With no 
fix forthcoming I have to abandon my plans for using systemimager and 
consider it a dead project. Too bad as it was a really cool tool.
--
Steven DuChene

--
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/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?

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 <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  systemconfig

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 --no

[sisuite-users] error with si_prepareclient command (v4.3.0 version of systemimager-client)

2014-03-03 Thread Steven DuChene
When I try to run the si_prepareclient command on a ubuntu-12.04LTS 
systems I get the following error:

# si_prepareclient --server 10.23.18.10 --my-modules
FATAL:  --firmware-dir option used without --include-system-firmware !
Try "si_prepareclient --help" for more info.

However I am not specifying or passing the --firmware-dir option to the 
command.
--
Steven DuChene


--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] error with si_prepareclient command (v4.3.0 version of systemimager-client)

2014-03-03 Thread Steven DuChene
On 03/03/2014 12:08 PM, Steven DuChene wrote:
> When I try to run the si_prepareclient command on a ubuntu-12.04LTS
> systems I get the following error:
>
> # si_prepareclient --server 10.23.18.10 --my-modules
> FATAL:  --firmware-dir option used without --include-system-firmware !
> Try "si_prepareclient --help" for more info.
>
> However I am not specifying or passing the --firmware-dir option to the
> command.
> --
> Steven DuChene
>
>
> --
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> ___
> sisuite-users mailing list
> sisuite-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
BTW, if I comment out line 363 of the si_prepareclient script it works.

if (($server) && ($norsyncd)) {
 print "FATAL:  --server option conflicts with --no-rsyncd!\n";
 print qq(Try "$progname --help" for more info.\n);
 exit 1;
}

#$firmware_dir="/lib/firmware" if(!$firmware_dir);

if(!($system_firmware)) {
 if($firmware_dir) {
 print "FATAL:  --firmware-dir option used without 
--include-system-firmware !\n";
 print qq(Try "$progname --help" for more info.\n);
 exit 1;
 }
} else {
 if( ! -d $firmware_dir) {
 print "FATAL:  firmware dir $firmware_dir not found!\n";
 exit 1;
 }
}


--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users