Hi Bernard,

On Sunday 05 February 2006 02:20, Bernard Li wrote:
> On first install, when I run install_cluster eth0, it complained about
> unknown subrountine oda::do_query - however this seems to be a PATH issue as
> after I open a new terminal and re-run install_cluster, it is fine.

Can you please tell me from which routine this complaint did come? $OSCAR_HOME
is set right at the beginning of install_cluster in its environment, so it
should be inherited by all subprocesses.

> Incidentally, do_query seems to be an "internal" subroutine, not sure why
> Database.pm is calling it?  Also is there any reason why we have oda.pm and
> Database.pm?  Shouldn't we simply merge them into one?

oda.pm seems to have the low level stuff, i.e. talking directly to the mysql
DB. Database.pm is the OSCAR specific abstraction.

> Previously there is a functionality in selector where when you click on a
> package, the respective RPMs are copied to /tftpboot/rpm - this
> functionality was taken out of Package.pm - I believe it was put in place
> previously to deal with OpenPBS RPMs vs TORQUE RPMs.  If nobody sees any
> issues with this functionality being removed, then I will check in code to
> fix the following bug:
>
> Undefined subroutine &OSCAR::Package::copy_rpms called at SelectorTable.pm
> line 593.  Mutex destroy failure: Device or resource busy

I didn't touch selector. If you do the change, please do it like in
wizard_prep, i.e. by calling generic-setup for copying the files. I don't
really understand why we need this, in fact all package files are copied to
the oscar repository, not only the selected one. I think you should be able to
remove that functionality from selector. Look at wizard_prep, when the files
are copied the config.xml files weren't read into the database, yet.

Regards,
Erich



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to