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


--
Brian Elliott Finley
Mobile: 469.444.0167

Attachment: Common.pm.patch.Yann_Aubert.bz2
Description: Binary data

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

Reply via email to