From: Bryan G. <br...@po...> - 2006-09-27 17:01:46
|
BTW, What is the status of Mandriva support for the SystemDesigner, and what items remain for it's inclusion ? bryang |
From: Bruno C. <Bru...@hp...> - 2009-04-04 22:52:16
|
Hello, I'm coming back to LinuxCOE, and would like to add now really Mandriva support. In the way if testing it, I first encounter an error I do not really understand. I have that at last step of the Web interface: Narf! A catastrophic error! Cannot open /auto_inst1894.cfg for writing : Permission denied IIUC, it should use the following code (in SystemDesigner/cgi-bin/nph-mandriva_image.in) : my $htmlpath = $db->def('FINAL_WD_PATH'); [...] my $ks_filename = "auto_inst$$.cfg"; # Custom auto_inst.cfg my $ks_file = "$htmlpath/$ks_filename"; But it seems that $htmlpath is empty :-( I'm using my RPMs packages, and hope that it uses /etc/linuxcoe-sd/linuxcoe.rc as config file. In it I have: $ grep FINAL_WD_PATH /etc/linuxcoe-sd/linuxcoe.rc FINAL_WD_PATH /var/cache/linuxcoe-sd/scratchmonkey What shoud I activate in order to get more debug, or check that that file is indeed read in my setup ? Do you have an idea where my mandriva additions could be wrong ? TIA, Bruno. -- Linux Profession Lead EMEA / Open Source Ambassador \ EMEA CME Sol. Center http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org |
From: Chris S. <chr...@gm...> - 2009-04-05 02:54:22
|
Bruno If you'd like, I can set you up to test on Instalinux. It's an already working install and I could help troubleshoot as well. Let me know if you want to go that route and I'll set you up. Chris On Apr 4, 2009, at 3:51 PM, Bruno Cornec <Bru...@hp...> wrote: > Hello, > > I'm coming back to LinuxCOE, and would like to add now really Mandriva > support. > > In the way if testing it, I first encounter an error I do not really > understand. I have that at last step of the Web interface: > > Narf! A catastrophic error! > Cannot open /auto_inst1894.cfg for writing : Permission denied > > IIUC, it should use the following code (in > SystemDesigner/cgi-bin/nph-mandriva_image.in) : > > my $htmlpath = $db->def('FINAL_WD_PATH'); > [...] > my $ks_filename = "auto_inst$$.cfg"; # Custom auto_inst.cfg > my $ks_file = "$htmlpath/$ks_filename"; > > But it seems that $htmlpath is empty :-( > > I'm using my RPMs packages, and hope that it uses > /etc/linuxcoe-sd/linuxcoe.rc as config file. In it I have: > > $ grep FINAL_WD_PATH /etc/linuxcoe-sd/linuxcoe.rc > FINAL_WD_PATH /var/cache/linuxcoe-sd/scratchmonkey > > What shoud I activate in order to get more debug, or check that that > file is indeed read in my setup ? > Do you have an idea where my mandriva additions could be wrong ? > > TIA, > Bruno. > -- > Linux Profession Lead EMEA / Open Source Ambassador \ EMEA CME > Sol. Center > http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net > Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux > La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org > > --- > --- > --- > --------------------------------------------------------------------- > _______________________________________________ > Linuxcoe-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxcoe-devel |
From: Bruno C. <Bru...@hp...> - 2009-04-05 13:09:40
|
Hello Chris, Chris Slater said on Sat, Apr 04, 2009 at 07:54:03PM -0700: > If you'd like, I can set you up to test on Instalinux. It's an already > working install and I could help troubleshoot as well. I know instalinux. But in my case, that's not the issue, as I'm installing my own deployment server. The feedback I need this time is more related to the code I try to introdue, than to a hosting issue. Thanks for your proposal, may use it another time ;-) Bruno. -- Linux Profession Lead EMEA / Open Source Ambassador \ EMEA CME Sol. Center http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org |
From: Bryan G. <bry...@hp...> - 2009-04-05 14:01:23
|
Bruno, On Sat, Apr 04, 2009 at 10:51:37PM +0000, Cornec, Bruno (Open Source and Linux Technology Architect) wrote: > I'm coming back to LinuxCOE, and would like to add now really Mandriva > support. Yeah! > In the way if testing it, I first encounter an error I do not really > understand. I have that at last step of the Web interface: > > Narf! A catastrophic error! > Cannot open /auto_inst1894.cfg for writing : Permission denied > > IIUC, it should use the following code (in > SystemDesigner/cgi-bin/nph-mandriva_image.in) : > > my $htmlpath = $db->def('FINAL_WD_PATH'); > [...] > my $ks_filename = "auto_inst$$.cfg"; # Custom auto_inst.cfg > my $ks_file = "$htmlpath/$ks_filename"; > > But it seems that $htmlpath is empty :-( > > I'm using my RPMs packages, and hope that it uses > /etc/linuxcoe-sd/linuxcoe.rc as config file. In it I have: > > $ grep FINAL_WD_PATH /etc/linuxcoe-sd/linuxcoe.rc > FINAL_WD_PATH /var/cache/linuxcoe-sd/scratchmonkey > > What shoud I activate in order to get more debug, or check that that > file is indeed read in my setup ? > Do you have an idea where my mandriva additions could be wrong ? Usually, in each CGI script, near the top, there is a statement like: my $debug = 0; make sure your's is set to 1 (which it seemed to be) for the maximum info. Then browse the log file, by default: $prefix/var/log/linuxcoe-sd/sysdes.log for the output. Also, since it's been sometime since this effort was started, you may wish to compare one of the other backend scripts to see if relevant changes were made there, bryang |
From: Bruno C. <Bru...@hp...> - 2009-04-05 15:58:51
|
Bryan Gartner said on Sun, Apr 05, 2009 at 07:14:30AM -0600: > > I'm coming back to LinuxCOE, and would like to add now really Mandriva > > support. > > Yeah! Better late than never ;-) > Then browse the log file, by default: > $prefix/var/log/linuxcoe-sd/sysdes.log Ok. Rights were incorrect, so there was nothing. But even with the /var/log/linuxcoe-sd dir belonging to apache, still no log created :-( > Also, since it's been sometime since this effort was started, you > may wish to compare one of the other backend scripts to see if > relevant changes were made there, Yes, I've seen that there are differences. But I think I'm not there yet :-( I've included some changes, and will continue to improve, but I've not even the start. The only log I have is the apache one: [Sun Apr 05 17:52:54 2009] [error] [client 192.168.8.28] COElocal dbmopening /var/lib/linuxcoe-sd/profiles/profile_db, referer: http://flecha/systemdesigner-cgi-bin/coe_bootimage [Sun Apr 05 17:52:54 2009] [error] [client 192.168.8.28] find_file -> looking for data/patch_methods.map - returning /usr/share/linuxcoe-sd/data/patch_methods.map, referer: http://flecha/systemdesigner-cgi-bin/coe_bootimage [Sun Apr 05 17:52:54 2009] [error] [client 192.168.8.28] $APT=0, $YUM=0, referer: http://flecha/systemdesigner-cgi-bin/coe_bootimage [Sun Apr 05 17:52:54 2009] [error] [client 192.168.8.28] Entering Step1, referer: http://flecha/systemdesigner-cgi-bin/coe_bootimage [Sun Apr 05 17:52:54 2009] [error] [client 192.168.8.28] Can't access 'defs' field in class LinuxCOEfind_file -> looking for includes/errors - returning /usr/share/linuxcoe-sd/includes/errors, referer: http://flecha/systemdesigner-cgi-bin/coe_bootimage Does it ring a bell on your side ? (Forgot to precise I'm using the RPMs made with pb svn rev 758 and cvs for LinuxCOE from couple of seconds ago. What I don't really understand is the fact my variables are not use. Maybe the defs field above is related to that ? Bruno. -- Linux Profession Lead EMEA / Open Source Ambassador \ EMEA CME Sol. Center http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org |
From: Mayes, L. <lee...@hp...> - 2009-04-13 11:15:09
|
Hi Bruno, Mandriva support is not fully implemented. Since I couldn't figure out a way to create a standalone mini-iso for Mandriva testing I was simply creating the auto_inst.cfg script and using SIM and POST_TRIGGER to move it to a place my canned VMWare boot image would find it via http. That's kind of where I left it. If you've got a virgin mandriva image tarball I can poke that into and reference I'll press on, or perhaps just clean up what we have. What's your usage model in this case? I'll see if I can get that working. Also, I think the last time I tested it was 2008, so there may be some changes required in the config file it generates. Best Regards, Lee -- Lee Mayes ITIO CISM Linux Delivery / LinuxCOE -----Original Message----- From: Cornec, Bruno (Open Source and Linux Technology Architect) Sent: Sunday, April 05, 2009 11:58 AM To: Gartner, Bryan W Cc: lin...@li... Subject: Re: [Linuxcoe-devel] Mandriva support Bryan Gartner said on Sun, Apr 05, 2009 at 07:14:30AM -0600: > > I'm coming back to LinuxCOE, and would like to add now really Mandriva > > support. > > Yeah! Better late than never ;-) > Then browse the log file, by default: > $prefix/var/log/linuxcoe-sd/sysdes.log Ok. Rights were incorrect, so there was nothing. But even with the /var/log/linuxcoe-sd dir belonging to apache, still no log created :-( > Also, since it's been sometime since this effort was started, you > may wish to compare one of the other backend scripts to see if > relevant changes were made there, Yes, I've seen that there are differences. But I think I'm not there yet :-( I've included some changes, and will continue to improve, but I've not even the start. The only log I have is the apache one: [Sun Apr 05 17:52:54 2009] [error] [client 192.168.8.28] COElocal dbmopening /var/lib/linuxcoe-sd/profiles/profile_db, referer: http://flecha/systemdesigner-cgi-bin/coe_bootimage [Sun Apr 05 17:52:54 2009] [error] [client 192.168.8.28] find_file -> looking for data/patch_methods.map - returning /usr/share/linuxcoe-sd/data/patch_methods.map, referer: http://flecha/systemdesigner-cgi-bin/coe_bootimage [Sun Apr 05 17:52:54 2009] [error] [client 192.168.8.28] $APT=0, $YUM=0, referer: http://flecha/systemdesigner-cgi-bin/coe_bootimage [Sun Apr 05 17:52:54 2009] [error] [client 192.168.8.28] Entering Step1, referer: http://flecha/systemdesigner-cgi-bin/coe_bootimage [Sun Apr 05 17:52:54 2009] [error] [client 192.168.8.28] Can't access 'defs' field in class LinuxCOEfind_file -> looking for includes/errors - returning /usr/share/linuxcoe-sd/includes/errors, referer: http://flecha/systemdesigner-cgi-bin/coe_bootimage Does it ring a bell on your side ? (Forgot to precise I'm using the RPMs made with pb svn rev 758 and cvs for LinuxCOE from couple of seconds ago. What I don't really understand is the fact my variables are not use. Maybe the defs field above is related to that ? Bruno. -- Linux Profession Lead EMEA / Open Source Ambassador \ EMEA CME Sol. Center http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org ------------------------------------------------------------------------------ _______________________________________________ Linuxcoe-devel mailing list Lin...@li... https://lists.sourceforge.net/lists/listinfo/linuxcoe-devel |
From: Lee M. <le...@ma...> - 2006-09-27 17:32:29
|
On Wed, 2006-09-27 at 11:01 -0600, Bryan Gartner wrote: > BTW, > > What is the status of Mandriva support for the SystemDesigner, > and what items remain for it's inclusion ? > > bryang Today it doesn't appear Mandrake supports pulling the autoinst config file from anywhere but a network source or floppy disk. This makes it kind of unusable in our current way of creating images. While I could vend *both* a small ~8M ISO and a floppy image, have the user burn/insert both, it's not real usable IMO. Heck, lots of systems these days don't even have a floppy drive. And since AOL went to CD's even I have a hard time finding a usable 3.5 floppy laying about. :) The issue is being raised with the cooker developers. If there is an undocumented way to do it (or they add ks=file || cdrom options) I'll give it another go. Best Regards, Lee |
From: Bruno C. <Bru...@hp...> - 2006-09-27 21:53:31
|
Hello Lee ! Lee Mayes said on Wed, Sep 27, 2006 at 01:32:27PM -0400: > Today it doesn't appear Mandrake supports pulling the autoinst config > file from anywhere but a network source or floppy disk. This makes it > kind of unusable in our current way of creating images. Ok, I check the doc before asking (sorry for the habits :-) andfound that this is probably not true. Cf: http://qa.mandriva.com/twiki/pub/Main/AutoInstall/auto_inst.html#The_auto_instcfg_File_Location > The issue is being raised with the cooker developers. If there is an > undocumented way to do it (or they add ks=file || cdrom options) I'll > give it another go. I think you could indeed try that: append auto_install=path/to/test.cfg automatic=method:cdrom ramdisk_size=128000 initrd=network.rdz root=/dev/ram3 acpi=ht vga=788 Let me know if you're able to use that with success. (or not :-) Bruno. -- Linux Profession Lead EMEA / Open Source Evangelist \ HP C&I EMEA IET http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org |
From: Lee M. <le...@ma...> - 2006-09-27 22:10:31
|
Will do Bruno, I must have been looking at old stuff here: http://members.shaw.ca/mandrake/ Thanks! Lee (guilty of poor googling ;) On Wed, 2006-09-27 at 23:53 +0200, Bruno Cornec wrote: > Hello Lee ! > > Lee Mayes said on Wed, Sep 27, 2006 at 01:32:27PM -0400: > > Today it doesn't appear Mandrake supports pulling the autoinst config > > file from anywhere but a network source or floppy disk. This makes it > > kind of unusable in our current way of creating images. > > Ok, I check the doc before asking (sorry for the habits :-) andfound > that this is probably not true. Cf: > http://qa.mandriva.com/twiki/pub/Main/AutoInstall/auto_inst.html#The_auto_instcfg_File_Location > > > The issue is being raised with the cooker developers. If there is an > > undocumented way to do it (or they add ks=file || cdrom options) I'll > > give it another go. > > I think you could indeed try that: > > append auto_install=path/to/test.cfg automatic=method:cdrom ramdisk_size=128000 > initrd=network.rdz root=/dev/ram3 acpi=ht vga=788 > > Let me know if you're able to use that with success. (or not :-) > > Bruno. |
From: Bruno C. <Bru...@hp...> - 2007-03-19 15:26:16
|
Hello Lee, As I'm maybe more concerned than you by this support, do you think you could put under CVS what you already have for Mandriva support ? that would allow me to look at it and give feedback. TIA, Bruno. -- Linux Profession Lead EMEA / Open Source Evangelist \ HP C&I EMEA IET http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org |
From: Lee M. <lee...@hp...> - 2007-03-28 22:17:31
|
Bruno Cornec wrote: > Hello Lee, > > As I'm maybe more concerned than you by this support, do you think you > could put under CVS what you already have for Mandriva support ? > > that would allow me to look at it and give feedback. > TIA, > Bruno. > Hi Bruno, Ok, here's where I'm at. The script creates viable auto_inst.cfg files that follow the same convention as our others (preseed/kickstart/autoyast) to invoke our post-processing environment to install and configure yum and optionally bundles. However, I have had *NO* luck creating a 'standalone' ISO to install from. The following methods work: 1) Custom ISO + Floppy (containing auto_inst.cfg) 2) Custom ISO + Web vended auto_inst.cfg (if hosted in INSTALL TREE) 3) 2 floppy install (network.img with auto_inst.cfg in it + network_driver.img) Here's a sample of the config file with LinuxCOE post processing enabled: http://mayeses.com/temp/auto_inst.cfg.txt The installing box was pulling this file from my webserver via this in isolinux.cfg: label install kernel alt0/vmlinuz append initrd=alt0/all.rdz kickstart=auto_inst.cfg automatic=met:http,interface:eth0,ser:192.168.1.5,dir:/LinuxCOE/Mandrake/2007.0/i586,netw:static,ip:192.168.1.181,netm:255.255.255.0,gat:192.168.1.5,dns:192.168.1.5 vga=788 splash=silent What I need is a way to reference auto_inst.cfg on the bootable ISO! It tried creating an ISO out of network.img, but I just get 'boot error'. Even *before* I add the config file, I did this with: mkdir iso cp network.img iso mkisfs -o test.iso -b network.img iso/ It appears that Mandriva's auto install process can only find the auto_inst.cfg file in 2 locations: 1) Floppy (literally, /dev/fd0). 2) On a path on your install source based on method. AutoYast, kickstart, etc. have a little more configurability in their isolinux/syslinux.cfg, you can use directives like: kickstart=file:///path/filename (look in initrd) kickstart=cdrom:///path/filename (look in root of CD) kickstart=http://server/url (look here, not in install tree) etc. If that's available on Mandriva, I'm missing it. If you can take the auto_inst.cfg file referenced above and embedded it in a bootable ISO that references it, I'll be happy to reverse engineer what you send me and codify it. For now, when I finish, I will offer the following options: 1) ISO + Floppy 2) 2 Floppy (network.img + network_driver.img) FWIW, the current code is checked in at SystemDesigner/cgi-bin/nph-mandriva_image.in. I'll work with byrang to create a SystemDesigner-Mandriva to house the needed data/boot/etc. stuff. Best Regards, Lee |