Title: Re: [Oscar-devel] SUSE Linux 10.0 support status
Update...
 
It works! (well sort of...)
 
Currently there are 2 issues with SystemInstaller and SUSE Linux:
 
1) directory permissions - the scripts tried to chown <user> but <user> does not exist, and thus using root
2) services not started on boot, chkconfig --list on the chroot image almost empty
 
1) is not a big issue right now, I'm sure we can somehow fix it.
 
2) is the bigger issue - right now I got around this by manually enabling the services in the chroot, here's a list I came up with:
[execute in chroot, i.e. chroot /var/lib/systemimager/images/<imagename>]
chkconfig boot.* (need to resolve dependencies)
chkconfig network on
chkconfig syslog on
chkconfig cron on
chkconfig portmap on
chkconfig nfsboot on
chkconfig nfs on
chkconfig ntp on
chkconfig gmond on (depending if you have Ganglia installed)
chkconfig pbs_mom on (depending if you have TORQUE installed)
chkconfig sshd on

Do this after the image is created, but before you deploy it.  Also, you will need to comment out line 65 of packages/ntpconfig/scripts/post_rpm_install:

!system("chkconfig $ntpd on") or croak("Failed to enable $ntpd");
 
Or the image creation will fail (because network was not chkconfig in the image, which is a dependency of ntp).
 
I plan to add "yast2" to the rpmlist, would anybody object to that?  Actually I wonder if the various yast2- RPMs are actually needed in the image...??
 
There are still various minor issues, like nfsserver not automatically started on the headnode (and thus clients cannot do NFS mounts) [thanks Andrea!], and other misc fixes which I will check in tomorrow after doing a test on a non-SUSE system.
 
Other than that, I was able to run "complete cluster setup" with TORQUE and Maui installed and I even run the tests...  so far 4 tests failed: ganglia, open mpi, mpich, lam/mpi - the MPI library errors were all related to gfortran missing, that should be easily fixable...
 
So we are really close now...!!
 
Cheers,
 
Bernard


From: [EMAIL PROTECTED] on behalf of Bernard Li
Sent: Thu 15/06/2006 00:14
To: [EMAIL PROTECTED]; [email protected]
Subject: Re: [Oscar-devel] SUSE Linux 10.0 support status

Just a quick update, I now have TORQUE and Maui RPMs that include SUSE-specific init scripts - these will be included in the RPMs when built on a SUSE system.
 
I have checked the Maui RPM in but not TORQUE since I will need to check in the modulefile and that will affect all other distroes (newer version of the RPM need to be rebuilt) - I will wait until we can do a full test on SUSE and after I'm sure that it's working fine...
 
Cheers,
 
Bernard 


From: Erich Focht [mailto:[EMAIL PROTECTED]
Sent: Tue 13/06/2006 00:33
To: [email protected]
Cc: Bernard Li
Subject: Re: [Oscar-devel] SUSE Linux 10.0 support status

On Monday 12 June 2006 23:52, Bernard Li wrote:
> For 2) Martin Siegert from SFU sent me his init script for Moab, which
> should work just fine with Maui.  I'll see if I can take a look at this
> soon...

Maybe we should try a more generic approach like e.g. provide a compatibility
package for redhat init scripts? The redhat initscripts package (and with it
/etc/rc.d/init.d/functions) is GPL. In addition: on SuSE /etc/rc.d is a
symlink to /etc/init.d. So the minimum we need for such a
rh-initscripts-compat package is:
   /etc/rc.d/init.d/functions          (from redhat)
   /etc/init.d/init.d -> /etc/init.d   (symlink)

I'm afraid that we invest too much effort in SuSE specific stuff which is not
useful to other distro ports at all.

Regards,
Erich

>
> ________________________________
>
>       From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Bernard
> Li
>       Sent: Sunday, June 11, 2006 23:51
>       To: [email protected]
>       Subject: Re: [Oscar-devel] SUSE Linux 10.0 support status
>      
>      
>       Update...
>       
>       1) Done
>       
>       2) Didn't have time to look at it - we could probably borrow the
> init scripts from the official OpenPBS package from SUSE for TORQUE - I
> did a quick test and seems to work, just need to rename the string
> "OpenPBS" to "TORQUE".  Didn't find anything for MAUI, but I suspect we
> could just write our own...
>       
>       3) Filed a bug on this:
> http://svn.oscar.openclustergroup.org/trac/oscar/ticket/174
>       
>       4) Rebuilt RPM, checked into trunk r4987
>       
>       5) Checked into trunk r4982: note this currently will cause
> image creation to fail, because none of the services are actually
> enabled in the chroot image, probably due to %post scripts failing for a
> lot of RPM installation via SystemInstaller.
>       
>       6) Didn't have time to look into this...
>       
>       7) Should be fixed in SystemImager 3.7.3 release which I will
> check in soon
>       
>       8) Built - will check in once I have a chance to test it.
>       
>       Cheers,
>       
>       Bernard
>
> ________________________________
>
>       From: [EMAIL PROTECTED] on behalf of
> Bernard Li
>       Sent: Tue 06/06/2006 01:31
>       To: [email protected]
>       Subject: Re: [Oscar-devel] SUSE Linux 10.0 support status
>      
>      
>       For SGE, turns out SUSE Linux 10.0 does provide openmotif-devel,
> I just don't have it :-)  Anyways, I'm rebuilding it now...
>       
>       Cheers,
>       
>       Bernard
>
> ________________________________
>
>       From: [EMAIL PROTECTED] on behalf of
> Bernard Li
>       Sent: Tue 06/06/2006 00:03
>       To: [email protected]
>       Subject: [Oscar-devel] SUSE Linux 10.0 support status
>      
>      
>       The following are some issues pertaining to SUSE Linux 10.0
> support for trunk r4967:
>       
>       1) perl-Qt: I had to check in the RPMs from the distribution
> media because perl-Qt is a prereq and "make install" and "make test"
> requires the RPMs to be in the code repository - see the check-in
> message for more detail
>       
>       2) TORQUE and Maui init scripts are Red Hat -centric, it sources
> /etc/rc.d/init.d/functions.  We will need to adapt the script and/or
> provide separate init scripts depending on whether we're on SUSE or not.
>       
>       3) PVM's %post scripts failed to create pvm group - RPM still
> installed fine though
>       
>       4) Ganglia's ganglia-web RPM puts ganglia pages in /var/www/html
> which is Red Hat -centric, for SUSE, docroot is in /srv/www/htdocs
>       
>       5) ntpconfig's post_rpm_install script will fail, I have a fix
> which I'll test tomorrow and if it's good I'll check it in
>       
>       6) Nodes installed with image does not have hostname, nor have
> network started upon boot - this is likely an issue with
> SystemConfigurator and/or SystemInstaller
>       
>       7) Minor issues with systemimager-server-bittorrent init script
> (SIS)
>       
>       8) No SGE RPM yet - on Red Hat, openmotif-devel provides
> libraries to build, this is likely provided by openmotif-libs on SUSE,
> no time to test yet.
>       
>       Basically I can bring up the Wizard and perform all steps prior
> to Step 7 (Complete Cluster Setup).  We are getting there...
>       
>       Cheers,
>       
>       Bernard
>
>

_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to