From: Steven D. <ste...@hp...> - 2013-11-04 20:07:00
|
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 |
From: Brian E. F. <br...@th...> - 2013-11-05 03:58:00
|
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 <ste...@hp...>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 > sis...@li... > https://lists.sourceforge.net/lists/listinfo/sisuite-users > -- Brian Elliott Finley Mobile: 469.444.0167 |
From: DuChene, S. A <ste...@hp...> - 2013-11-18 14:26:53
|
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 te...@ya...<mailto:te...@ya...> or in the case of Brian I will also have my cell phone. -- Steven DuChene From: Brian Elliott Finley [mailto:br...@th...] 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 <ste...@hp...<mailto:ste...@hp...>> 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 sis...@li...<mailto:sis...@li...> https://lists.sourceforge.net/lists/listinfo/sisuite-users -- Brian Elliott Finley Mobile: 469.444.0167 |
From: Brian E. F. <br...@th...> - 2013-11-19 15:42:11
|
I'll be there. On my way now... On Nov 18, 2013 8:26 AM, "DuChene, Steven A" <ste...@hp...> 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 te...@ya...or in the case of Brian I will also have my cell phone. > > -- > > Steven DuChene > > > > *From:* Brian Elliott Finley [mailto:br...@th...] > *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 <ste...@hp...> > 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 > sis...@li... > https://lists.sourceforge.net/lists/listinfo/sisuite-users > > > > > > -- > Brian Elliott Finley > Mobile: 469.444.0167 > |
From: DuChene, S. A <ste...@hp...> - 2013-11-18 14:27:54
|
Brian: Any updates yet on the issues I raised below with systemimager? -- Steven DuChene From: Brian Elliott Finley [mailto:br...@th...] 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 <ste...@hp...<mailto:ste...@hp...>> 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 sis...@li...<mailto:sis...@li...> https://lists.sourceforge.net/lists/listinfo/sisuite-users -- Brian Elliott Finley Mobile: 469.444.0167 |
From: Steven D. <ste...@hp...> - 2013-12-11 00:07:42
|
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...@th...] > *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 > <ste...@hp... <mailto:ste...@hp...>> 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 > sis...@li... > <mailto:sis...@li...> > 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 > sis...@li... > https://lists.sourceforge.net/lists/listinfo/sisuite-users |
From: Brian E. F. <br...@th...> - 2014-01-13 04:16:36
Attachments:
Common.pm.patch.Yann_Aubert.bz2
|
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...@th...] >>*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 >><ste...@hp... <mailto:ste...@hp...>> 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 >>sis...@li... >><mailto:sis...@li...> >>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 >>sis...@li... >>https://lists.sourceforge.net/lists/listinfo/sisuite-users > -- Brian Elliott Finley Mobile: 469.444.0167 |
From: DuChene, S. A <ste...@hp...> - 2014-01-17 15:18:05
|
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...@th...] Sent: Sunday, January 12, 2014 9:16 PM To: DuChene, Steven A Cc: sis...@li... 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...@th...] >>*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 >><ste...@hp... <mailto:ste...@hp...>> 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.c >>lktrk _______________________________________________ >>sisuite-users mailing list >>sis...@li... >><mailto:sis...@li...> >>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.c >>lktrk >> >> >>_______________________________________________ >>sisuite-users mailing list >>sis...@li... >>https://lists.sourceforge.net/lists/listinfo/sisuite-users > -- Brian Elliott Finley Mobile: 469.444.0167 |
From: DuChene, S. A <ste...@hp...> - 2014-01-17 20:37:29
|
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: sis...@li... 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...@th...] Sent: Sunday, January 12, 2014 9:16 PM To: DuChene, Steven A Cc: sis...@li... 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...@th...] >>*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 >><ste...@hp... <mailto:ste...@hp...>> 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.c >>lktrk _______________________________________________ >>sisuite-users mailing list >>sis...@li... >><mailto:sis...@li...> >>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.c >>lktrk >> >> >>_______________________________________________ >>sisuite-users mailing list >>sis...@li... >>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/ostg.clktrk _______________________________________________ sisuite-users mailing list sis...@li... https://lists.sourceforge.net/lists/listinfo/sisuite-users |
From: Brian E. F. <br...@th...> - 2014-01-20 04:59:43
|
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: sis...@li... >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...@th...] >Sent: Sunday, January 12, 2014 9:16 PM >To: DuChene, Steven A >Cc: sis...@li... >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...@th...] >>>*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 >>><ste...@hp... <mailto:ste...@hp...>> 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.c >>>lktrk _______________________________________________ >>>sisuite-users mailing list >>>sis...@li... >>><mailto:sis...@li...> >>>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.c >>>lktrk >>> >>> >>>_______________________________________________ >>>sisuite-users mailing list >>>sis...@li... >>>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/ostg.clktrk >_______________________________________________ >sisuite-users mailing list >sis...@li... >https://lists.sourceforge.net/lists/listinfo/sisuite-users -- Brian Elliott Finley Mobile: 469.444.0167 |
From: Jan G. <ja...@ai...> - 2014-01-20 07:06:28
|
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.orig 2012-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 (dil...@to...) #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 <ste...@hp...> 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 > sis...@li... > https://lists.sourceforge.net/lists/listinfo/sisuite-users > -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za ^^-^^ |
From: yann a. <yan...@ip...> - 2014-01-20 12:29:44
|
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: sis...@li... > >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...@th...] > >Sent: Sunday, January 12, 2014 9:16 PM > >To: DuChene, Steven A > >Cc: sis...@li... > >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...@th...] > >>>*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 > >>><ste...@hp... <mailto:ste...@hp...>> 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.c > >>>lktrk _______________________________________________ > >>>sisuite-users mailing list > >>>sis...@li... > >>><mailto:sis...@li...> > >>>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.c > >>>lktrk > >>> > >>> > >>>_______________________________________________ > >>>sisuite-users mailing list > >>>sis...@li... > >>>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/ostg.clktrk > >_______________________________________________ > >sisuite-users mailing list > >sis...@li... > >https://lists.sourceforge.net/lists/listinfo/sisuite-users > |
From: Brian E. F. <br...@th...> - 2014-01-21 05:54:11
|
Thank you, Yann. I'll get them into the SystemImager Debian repo. -Brian On Mon, Jan 20, 2014 at 6:29 AM, yann aubert <yan...@ip...>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: sis...@li... > > >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...@th...] > > >Sent: Sunday, January 12, 2014 9:16 PM > > >To: DuChene, Steven A > > >Cc: sis...@li... > > >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...@th...] > > >>>*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 > > >>><ste...@hp... <mailto:ste...@hp...>> 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.c > > >>>lktrk _______________________________________________ > > >>>sisuite-users mailing list > > >>>sis...@li... > > >>><mailto:sis...@li...> > > >>>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.c > > >>>lktrk > > >>> > > >>> > > >>>_______________________________________________ > > >>>sisuite-users mailing list > > >>>sis...@li... > > >>>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/ostg.clktrk > > >_______________________________________________ > > >sisuite-users mailing list > > >sis...@li... > > >https://lists.sourceforge.net/lists/listinfo/sisuite-users > > > > > -- Brian Elliott Finley Mobile: 469.444.0167 |
From: Steven D. <ste...@hp...> - 2014-01-22 21:05:30
|
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.orig 2012-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 (dil...@to... > <mailto:dil...@to...>) #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 <ste...@hp... > <mailto:ste...@hp...>> 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 > sis...@li... > <mailto:sis...@li...> > https://lists.sourceforge.net/lists/listinfo/sisuite-users > > > > > -- > .~. > /V\ Jan Groenewald > /( )\ www.aims.ac.za <http://www.aims.ac.za> > ^^-^^ > > > ------------------------------------------------------------------------------ > 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 > sis...@li... > https://lists.sourceforge.net/lists/listinfo/sisuite-users |
From: Jan G. <ja...@ai...> - 2014-01-23 05:56:26
|
Hi 4.1.6 Except Systemconfigurator systemconfigurator_2.2.12.svn716arighi_all.deb Regards, Jan On 22 January 2014 22:59, Steven DuChene <ste...@hp...> 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.orig 2012-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 (dil...@to...) #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 <ste...@hp...> 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 >> sis...@li... >> https://lists.sourceforge.net/lists/listinfo/sisuite-users >> > > > > -- > .~. > /V\ Jan Groenewald > /( )\ www.aims.ac.za > ^^-^^ > > > ------------------------------------------------------------------------------ > 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 lis...@li...https://lists.sourceforge.net/lists/listinfo/sisuite-users > > > -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za ^^-^^ |
From: LAHAYE O. <oli...@ce...> - 2014-01-23 10:00:05
|
Hi, Sorry for not participating often here, I'm extremely buzy working on releasing a new stable OSCAR cluster release that will support many distros. Though, I'm still working on SystemImager. (just fixed si_monitortk thread warning) The current git should support kernels from 2.4 to 3.99 if it ever exists. We have built beta release here: http://svn.oscar.openclustergroup.org/repos/unstable/ For more info, here is my analysis of the current situation and what I'd like to achieve: Problem of the current release is that it fails to build template initrd and kernel on newer distros (like fedora-18+). The problem is that template initrd is based on udev when newer kernels needs latest udev version and build mechanism is not yet designed to build udev without systemd from systemd source tree. IMHO, the way to generate templates is not compatible anymore with the variety of distros and kernel version. rhel6 is using a 2.6, while other distros are using kernel 3.x Building latest kernel and lvm on an old system (rhel6) using installed system kernel includes leads to build failures or runtime crash. 2 solutions for the future: 1/ have different build tree for each distro with apropriate kernel => means old distro won't be supported on recent hardware . typically, our vanilla kernel-2.6 supports far less hardware that patched rhel-6 shipped kernel. => bad idea and very difficult to maintain. 2/ drop the idea to build our kernel and initrd from scratch and instead build the initrd using dracut. Big benefits: a/ we support the same hardware as the linux vendor. even with old kernel. b/ building the rpm is far more faster c/ far more stable. no more lvm built for kernel 3.10 using kernel 2.6 build host system includes. UYOK would still be possible for users having hardware that is not supported by their linux vendor, but for the majority of cases, the templates would be far sufficient. Unfortunately, I'm still searching a doc that tells how to build a non basic initrd. Our case is similar to http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/initrd.img => If someone can point me to a page that explains how this image is built, that would be AWESOME. It uses systemd and udev for loading hardware drivers and minimal services like network and so. Basicaly it havs everything we need. Then we would just have to add needed binaries (lvm tools, ...) from installed system and (build)our specific stuffs like flamethrower client or bittorent client and replace stage2 loader with our rcS and voila! (cleaner, faster, higher ...;- ) Best regards. -- Olivier LAHAYE CEA DRT/LIST/DIR ________________________________ De : Jan Groenewald [ja...@ai...] Date d'envoi : lundi 20 janvier 2014 07:38 À : sis...@li... Objet : Re: [sisuite-users] support newer kernels in systemimager? 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.orig 2012-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 (dil...@to...<mailto:dil...@to...>) #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 <ste...@hp...<mailto:ste...@hp...>> 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 sis...@li...<mailto:sis...@li...> https://lists.sourceforge.net/lists/listinfo/sisuite-users -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za<http://www.aims.ac.za> ^^-^^ |
From: David L. <Dav...@cn...> - 2014-01-23 20:45:22
|
Olivier - 2. Definitely sounds like the way to go ... From: LAHAYE Olivier [mailto:oli...@ce...] Sent: Thursday, January 23, 2014 3:00 AM To: sis...@li... Subject: [sisuite-users] RE : support newer kernels in systemimager? Hi, Sorry for not participating often here, I'm extremely buzy working on releasing a new stable OSCAR cluster release that will support many distros. Though, I'm still working on SystemImager. (just fixed si_monitortk thread warning) The current git should support kernels from 2.4 to 3.99 if it ever exists. We have built beta release here: http://svn.oscar.openclustergroup.org/repos/unstable/ For more info, here is my analysis of the current situation and what I'd like to achieve: Problem of the current release is that it fails to build template initrd and kernel on newer distros (like fedora-18+). The problem is that template initrd is based on udev when newer kernels needs latest udev version and build mechanism is not yet designed to build udev without systemd from systemd source tree. IMHO, the way to generate templates is not compatible anymore with the variety of distros and kernel version. rhel6 is using a 2.6, while other distros are using kernel 3.x Building latest kernel and lvm on an old system (rhel6) using installed system kernel includes leads to build failures or runtime crash. 2 solutions for the future: 1/ have different build tree for each distro with apropriate kernel => means old distro won't be supported on recent hardware . typically, our vanilla kernel-2.6 supports far less hardware that patched rhel-6 shipped kernel. => bad idea and very difficult to maintain. 2/ drop the idea to build our kernel and initrd from scratch and instead build the initrd using dracut. Big benefits: a/ we support the same hardware as the linux vendor. even with old kernel. b/ building the rpm is far more faster c/ far more stable. no more lvm built for kernel 3.10 using kernel 2.6 build host system includes. UYOK would still be possible for users having hardware that is not supported by their linux vendor, but for the majority of cases, the templates would be far sufficient. Unfortunately, I'm still searching a doc that tells how to build a non basic initrd. Our case is similar to http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/initrd.img => If someone can point me to a page that explains how this image is built, that would be AWESOME. It uses systemd and udev for loading hardware drivers and minimal services like network and so. Basicaly it havs everything we need. Then we would just have to add needed binaries (lvm tools, ...) from installed system and (build)our specific stuffs like flamethrower client or bittorent client and replace stage2 loader with our rcS and voila! (cleaner, faster, higher ...;- ) Best regards. -- Olivier LAHAYE CEA DRT/LIST/DIR ________________________________ De : Jan Groenewald [ja...@ai...] Date d'envoi : lundi 20 janvier 2014 07:38 À : sis...@li...<mailto:sis...@li...> Objet : Re: [sisuite-users] support newer kernels in systemimager? 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.orig 2012-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 (dil...@to...<mailto:dil...@to...>) #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[^\/]*?) \(.*@.*\<mailto:.*@.*\>) [#]\d+.*' . + '((2\.[46])|(3\.[0125])\.\d[^\/]*?) \(.*@.*\<mailto:.*@.*\>) [#]\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 <ste...@hp...<mailto:ste...@hp...>> 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 sis...@li...<mailto:sis...@li...> https://lists.sourceforge.net/lists/listinfo/sisuite-users -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za<http://www.aims.ac.za> ^^-^^ |
From: LAHAYE O. <oli...@ce...> - 2014-01-24 11:21:40
|
Hi David, thanks a lot for your support :-) The latest beta packages are versionned with 4.3.0-0.16. This releases now builds with perl files installed in INSTALDIRS=vendor (no more use lib /usr/lib/systemimager needed). This version includes the si_monitortk thread warning fix. It is available here: http://svn.oscar.openclustergroup.org/repos/unstable/ The package has been built for rhel-6, debian-6, fedora-17 For the future, as I said, I'm looking forward for any info/doc/script on how to build such a thing: http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/initrd.img Best regards, Olivier. -- Olivier LAHAYE CEA DRT/LIST/DIR ________________________________ De : David Livingstone [Dav...@cn...] Date d'envoi : jeudi 23 janvier 2014 21:24 À : sis...@li... Objet : Re: [sisuite-users] RE : support newer kernels in systemimager? Olivier – 2. Definitely sounds like the way to go … From: LAHAYE Olivier [mailto:oli...@ce...] Sent: Thursday, January 23, 2014 3:00 AM To: sis...@li... Subject: [sisuite-users] RE : support newer kernels in systemimager? Hi, Sorry for not participating often here, I'm extremely buzy working on releasing a new stable OSCAR cluster release that will support many distros. Though, I'm still working on SystemImager. (just fixed si_monitortk thread warning) The current git should support kernels from 2.4 to 3.99 if it ever exists. We have built beta release here: http://svn.oscar.openclustergroup.org/repos/unstable/ For more info, here is my analysis of the current situation and what I'd like to achieve: Problem of the current release is that it fails to build template initrd and kernel on newer distros (like fedora-18+). The problem is that template initrd is based on udev when newer kernels needs latest udev version and build mechanism is not yet designed to build udev without systemd from systemd source tree. IMHO, the way to generate templates is not compatible anymore with the variety of distros and kernel version. rhel6 is using a 2.6, while other distros are using kernel 3.x Building latest kernel and lvm on an old system (rhel6) using installed system kernel includes leads to build failures or runtime crash. 2 solutions for the future: 1/ have different build tree for each distro with apropriate kernel => means old distro won't be supported on recent hardware . typically, our vanilla kernel-2.6 supports far less hardware that patched rhel-6 shipped kernel. => bad idea and very difficult to maintain. 2/ drop the idea to build our kernel and initrd from scratch and instead build the initrd using dracut. Big benefits: a/ we support the same hardware as the linux vendor. even with old kernel. b/ building the rpm is far more faster c/ far more stable. no more lvm built for kernel 3.10 using kernel 2.6 build host system includes. UYOK would still be possible for users having hardware that is not supported by their linux vendor, but for the majority of cases, the templates would be far sufficient. Unfortunately, I'm still searching a doc that tells how to build a non basic initrd. Our case is similar to http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/initrd.img => If someone can point me to a page that explains how this image is built, that would be AWESOME. It uses systemd and udev for loading hardware drivers and minimal services like network and so. Basicaly it havs everything we need. Then we would just have to add needed binaries (lvm tools, ...) from installed system and (build)our specific stuffs like flamethrower client or bittorent client and replace stage2 loader with our rcS and voila! (cleaner, faster, higher ...;- ) Best regards. -- Olivier LAHAYE CEA DRT/LIST/DIR ________________________________ De : Jan Groenewald [ja...@ai...] Date d'envoi : lundi 20 janvier 2014 07:38 À : sis...@li...<mailto:sis...@li...> Objet : Re: [sisuite-users] support newer kernels in systemimager? 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.orig 2012-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 (dil...@to...<mailto:dil...@to...>) #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[^\/]*?) \(.*@.*\<mailto:.*@.*\>) [#]\d+.*' . + '((2\.[46])|(3\.[0125])\.\d[^\/]*?) \(.*@.*\<mailto:.*@.*\>) [#]\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 <ste...@hp...<mailto:ste...@hp...>> 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 sis...@li...<mailto:sis...@li...> https://lists.sourceforge.net/lists/listinfo/sisuite-users -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za<http://www.aims.ac.za> ^^-^^ |
From: David L. <Dav...@cn...> - 2014-01-24 17:55:59
|
Olivier - Thanks ! I will download and give it a try. Please keep me in the loop. BTW I am off to Red Hat Summit this year in San Francisco ... David From: LAHAYE Olivier [mailto:oli...@ce...] Sent: Friday, January 24, 2014 4:21 AM To: sis...@li... Subject: [sisuite-users] RE : RE : support newer kernels in systemimager? Hi David, thanks a lot for your support :-) The latest beta packages are versionned with 4.3.0-0.16. This releases now builds with perl files installed in INSTALDIRS=vendor (no more use lib /usr/lib/systemimager needed). This version includes the si_monitortk thread warning fix. It is available here: http://svn.oscar.openclustergroup.org/repos/unstable/ The package has been built for rhel-6, debian-6, fedora-17 For the future, as I said, I'm looking forward for any info/doc/script on how to build such a thing: http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/initrd.img Best regards, Olivier. -- Olivier LAHAYE CEA DRT/LIST/DIR ________________________________ De : David Livingstone [Dav...@cn...] Date d'envoi : jeudi 23 janvier 2014 21:24 À : sis...@li...<mailto:sis...@li...> Objet : Re: [sisuite-users] RE : support newer kernels in systemimager? Olivier - 2. Definitely sounds like the way to go ... From: LAHAYE Olivier [mailto:oli...@ce...] Sent: Thursday, January 23, 2014 3:00 AM To: sis...@li...<mailto:sis...@li...> Subject: [sisuite-users] RE : support newer kernels in systemimager? Hi, Sorry for not participating often here, I'm extremely buzy working on releasing a new stable OSCAR cluster release that will support many distros. Though, I'm still working on SystemImager. (just fixed si_monitortk thread warning) The current git should support kernels from 2.4 to 3.99 if it ever exists. We have built beta release here: http://svn.oscar.openclustergroup.org/repos/unstable/ For more info, here is my analysis of the current situation and what I'd like to achieve: Problem of the current release is that it fails to build template initrd and kernel on newer distros (like fedora-18+). The problem is that template initrd is based on udev when newer kernels needs latest udev version and build mechanism is not yet designed to build udev without systemd from systemd source tree. IMHO, the way to generate templates is not compatible anymore with the variety of distros and kernel version. rhel6 is using a 2.6, while other distros are using kernel 3.x Building latest kernel and lvm on an old system (rhel6) using installed system kernel includes leads to build failures or runtime crash. 2 solutions for the future: 1/ have different build tree for each distro with apropriate kernel => means old distro won't be supported on recent hardware . typically, our vanilla kernel-2.6 supports far less hardware that patched rhel-6 shipped kernel. => bad idea and very difficult to maintain. 2/ drop the idea to build our kernel and initrd from scratch and instead build the initrd using dracut. Big benefits: a/ we support the same hardware as the linux vendor. even with old kernel. b/ building the rpm is far more faster c/ far more stable. no more lvm built for kernel 3.10 using kernel 2.6 build host system includes. UYOK would still be possible for users having hardware that is not supported by their linux vendor, but for the majority of cases, the templates would be far sufficient. Unfortunately, I'm still searching a doc that tells how to build a non basic initrd. Our case is similar to http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/initrd.img => If someone can point me to a page that explains how this image is built, that would be AWESOME. It uses systemd and udev for loading hardware drivers and minimal services like network and so. Basicaly it havs everything we need. Then we would just have to add needed binaries (lvm tools, ...) from installed system and (build)our specific stuffs like flamethrower client or bittorent client and replace stage2 loader with our rcS and voila! (cleaner, faster, higher ...;- ) Best regards. -- Olivier LAHAYE CEA DRT/LIST/DIR ________________________________ De : Jan Groenewald [ja...@ai...] Date d'envoi : lundi 20 janvier 2014 07:38 À : sis...@li...<mailto:sis...@li...> Objet : Re: [sisuite-users] support newer kernels in systemimager? 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.orig 2012-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 (dil...@to...<mailto:dil...@to...>) #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[^\/]*?) \(.*@.*\<mailto:.*@.*\>) [#]\d+.*' . + '((2\.[46])|(3\.[0125])\.\d[^\/]*?) \(.*@.*\<mailto:.*@.*\>) [#]\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 <ste...@hp...<mailto:ste...@hp...>> 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 sis...@li...<mailto:sis...@li...> https://lists.sourceforge.net/lists/listinfo/sisuite-users -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za<http://www.aims.ac.za> ^^-^^ |
From: David L. <Dav...@cn...> - 2014-06-06 22:47:36
|
Olivier - Just getting back into this ... are these the latest ? Thanks From: LAHAYE Olivier [mailto:oli...@ce...] Sent: Friday, January 24, 2014 4:21 AM To: sis...@li... Subject: [sisuite-users] RE : RE : support newer kernels in systemimager? Hi David, thanks a lot for your support :-) The latest beta packages are versionned with 4.3.0-0.16. This releases now builds with perl files installed in INSTALDIRS=vendor (no more use lib /usr/lib/systemimager needed). This version includes the si_monitortk thread warning fix. It is available here: http://svn.oscar.openclustergroup.org/repos/unstable/ The package has been built for rhel-6, debian-6, fedora-17 For the future, as I said, I'm looking forward for any info/doc/script on how to build such a thing: http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/initrd.img Best regards, Olivier. -- Olivier LAHAYE CEA DRT/LIST/DIR ________________________________ De : David Livingstone [Dav...@cn...] Date d'envoi : jeudi 23 janvier 2014 21:24 À : sis...@li...<mailto:sis...@li...> Objet : Re: [sisuite-users] RE : support newer kernels in systemimager? Olivier - 2. Definitely sounds like the way to go ... From: LAHAYE Olivier [mailto:oli...@ce...] Sent: Thursday, January 23, 2014 3:00 AM To: sis...@li...<mailto:sis...@li...> Subject: [sisuite-users] RE : support newer kernels in systemimager? Hi, Sorry for not participating often here, I'm extremely buzy working on releasing a new stable OSCAR cluster release that will support many distros. Though, I'm still working on SystemImager. (just fixed si_monitortk thread warning) The current git should support kernels from 2.4 to 3.99 if it ever exists. We have built beta release here: http://svn.oscar.openclustergroup.org/repos/unstable/ For more info, here is my analysis of the current situation and what I'd like to achieve: Problem of the current release is that it fails to build template initrd and kernel on newer distros (like fedora-18+). The problem is that template initrd is based on udev when newer kernels needs latest udev version and build mechanism is not yet designed to build udev without systemd from systemd source tree. IMHO, the way to generate templates is not compatible anymore with the variety of distros and kernel version. rhel6 is using a 2.6, while other distros are using kernel 3.x Building latest kernel and lvm on an old system (rhel6) using installed system kernel includes leads to build failures or runtime crash. 2 solutions for the future: 1/ have different build tree for each distro with apropriate kernel => means old distro won't be supported on recent hardware . typically, our vanilla kernel-2.6 supports far less hardware that patched rhel-6 shipped kernel. => bad idea and very difficult to maintain. 2/ drop the idea to build our kernel and initrd from scratch and instead build the initrd using dracut. Big benefits: a/ we support the same hardware as the linux vendor. even with old kernel. b/ building the rpm is far more faster c/ far more stable. no more lvm built for kernel 3.10 using kernel 2.6 build host system includes. UYOK would still be possible for users having hardware that is not supported by their linux vendor, but for the majority of cases, the templates would be far sufficient. Unfortunately, I'm still searching a doc that tells how to build a non basic initrd. Our case is similar to http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/20/Fedora/x86_64/os/images/pxeboot/initrd.img => If someone can point me to a page that explains how this image is built, that would be AWESOME. It uses systemd and udev for loading hardware drivers and minimal services like network and so. Basicaly it havs everything we need. Then we would just have to add needed binaries (lvm tools, ...) from installed system and (build)our specific stuffs like flamethrower client or bittorent client and replace stage2 loader with our rcS and voila! (cleaner, faster, higher ...;- ) Best regards. -- Olivier LAHAYE CEA DRT/LIST/DIR ________________________________ De : Jan Groenewald [ja...@ai...] Date d'envoi : lundi 20 janvier 2014 07:38 À : sis...@li...<mailto:sis...@li...> Objet : Re: [sisuite-users] support newer kernels in systemimager? 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.orig 2012-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 (dil...@to...<mailto:dil...@to...>) #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[^\/]*?) \(.*@.*\<mailto:.*@.*\>) [#]\d+.*' . + '((2\.[46])|(3\.[0125])\.\d[^\/]*?) \(.*@.*\<mailto:.*@.*\>) [#]\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 <ste...@hp...<mailto:ste...@hp...>> 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 sis...@li...<mailto:sis...@li...> https://lists.sourceforge.net/lists/listinfo/sisuite-users -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za<http://www.aims.ac.za> ^^-^^ |
From: Steven D. <ste...@hp...> - 2014-02-19 22:05:36
|
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: sis...@li... >>> 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...@th...] >>> Sent: Sunday, January 12, 2014 9:16 PM >>> To: DuChene, Steven A >>> Cc: sis...@li... >>> 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...@th...] >>>>> *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 >>>>> <ste...@hp... <mailto:ste...@hp...>> 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.c >>>>> lktrk _______________________________________________ >>>>> sisuite-users mailing list >>>>> sis...@li... >>>>> <mailto:sis...@li...> >>>>> 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.c >>>>> lktrk >>>>> >>>>> >>>>> _______________________________________________ >>>>> sisuite-users mailing list >>>>> sis...@li... >>>>> 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/ostg.clktrk >>> _______________________________________________ >>> sisuite-users mailing list >>> sis...@li... >>> https://lists.sourceforge.net/lists/listinfo/sisuite-users > |
From: LAHAYE O. <oli...@ce...> - 2014-02-21 15:14:20
|
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 [ste...@hp...] Envoyé : mercredi 19 février 2014 23:06 À : yann aubert Cc : sis...@li... 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: sis...@li... >>> 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...@th...] >>> Sent: Sunday, January 12, 2014 9:16 PM >>> To: DuChene, Steven A >>> Cc: sis...@li... >>> 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...@th...] >>>>> *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 >>>>> <ste...@hp... <mailto:ste...@hp...>> 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.c >>>>> lktrk _______________________________________________ >>>>> sisuite-users mailing list >>>>> sis...@li... >>>>> <mailto:sis...@li...> >>>>> 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.c >>>>> lktrk >>>>> >>>>> >>>>> _______________________________________________ >>>>> sisuite-users mailing list >>>>> sis...@li... >>>>> 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/ostg.clktrk >>> _______________________________________________ >>> sisuite-users mailing list >>> sis...@li... >>> 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 sis...@li... https://lists.sourceforge.net/lists/listinfo/sisuite-users |
From: DuChene, S. A <ste...@hp...> - 2014-02-26 00:10:40
|
Thanks Oliver -----Original Message----- From: LAHAYE Olivier [mailto:oli...@ce...] Sent: Friday, February 21, 2014 8:14 AM To: sis...@li... 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 [ste...@hp...] Envoyé : mercredi 19 février 2014 23:06 À : yann aubert Cc : sis...@li... 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: sis...@li... >>> 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...@th...] >>> Sent: Sunday, January 12, 2014 9:16 PM >>> To: DuChene, Steven A >>> Cc: sis...@li... >>> 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...@th...] >>>>> *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 >>>>> <ste...@hp... <mailto:ste...@hp...>> 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 >>>>> sis...@li... >>>>> <mailto:sis...@li...> >>>>> 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 >>>>> sis...@li... >>>>> 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 >>> sis...@li... >>> 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 sis...@li... 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 sis...@li... https://lists.sourceforge.net/lists/listinfo/sisuite-users |
From: Steven D. <ste...@hp...> - 2014-03-03 19:07:20
|
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 |
From: Steven D. <ste...@hp...> - 2014-03-03 23:06:52
|
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 > sis...@li... > 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; } } |