========================================== changed sub configurePackage For debug messages ==========================================
sub configurePackage {
my $parent = shift;
$packagedir = shift;
my $opkg = shift;
my $context = shift;
$context = "" if ! $context;
$my_opkg = $opkg;
$my_context = $context;
system("echo $packagedir/configurator.html ");
# system(" echo package does not have a html file\n ");
# Check for the configuration HTML file
if ((-s "$packagedir/.selection.ignore") || (!(-s "$packagedir/configurator.html")))
{
system("echo no HTMl file for selected package : $opkg");
return ;
}
my $tree = readInDefaultConfig("$packagedir/configurator.html");
return if (!$tree);
my $values = &readInConfigValues("$packagedir/configurator.html",
$opkg, $context);
&preprocessConfig($tree,$values) if $values;
&writeOutTempConfig($tree);
$tree->delete; # Always delete the tree when you are done with it.
displayWebPage($parent,"$packagedir/.configurator.temp.html");
system("echo I am at end of configure package for selected package : $opkg");
}
==================================================================================================================
========================================== Output from the condole ==========================================
/opt/soc/trunk/packages/sis/configurator.html
Checking if the OPKG has to be excluded...
OPKG sis: Analysing default values
HTML page will be displayed from /opt/soc/trunk/packages/sis/.configurator.temp.html
I am at end of configure package for selected package : sis
/opt/soc/trunk/packages/condor/configurator.html
no HTMl file for selected package : condor
==================================================================================================================
=================================Diff of changed file from revision 5867 ==========================================
[root@oscarhead trunk]# diff lib/OSCAR/Configbox.pm lib/OSCAR/Configbox.pm.1
609c609
<
---
> system("echo HTML page will be displayed from $file");
657a658,661
> system("echo $packagedir/configurator.html ");
>
> # system(" echo package does not have a html file\n ");
>
659,660c663,667
< return if ((-s "$packagedir/.selection.ignore") ||
< (!(-s "$packagedir/configurator.html")));
---
> if ((-s "$packagedir/.selection.ignore") || (!(-s "$packagedir/configurator.html")))
> {
> system("echo no HTMl file for selected package : $opkg");
> return ;
> }
671a679
> system("echo I am at end of configure package for selected package : $opkg");
==================================================================================================================
still run step 3 to ensure everything else except configurator is working fine
==================================================================================================================
----cut-------
No other condor installed, adding to list for potential install
reduced installs :
condor.i386 0:6.8.5-1
Building updates object
Resolving Dependencies
1183845936.91
--> Populating transaction set with selected packages. Please wait.
Adding Package condor - 6.8.5-1.i386 in mode u
---> Package condor.i386 0:6.8.5-1 set to be updated
--> Running transaction check
Dependencies Resolved
1183845937.67
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
condor i386 6.8.5-1 oscar_fc-5-i386 97 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 97 M
Downloading Packages:
Running Transaction Test
Adding Package condor - 6.8.5-1.i386 in mode u
Finished Transaction Test
Transaction Test Succeeded
Adding Package condor - 6.8.5-1.i386 in mode u
Running Transaction
Installing: condor ######################### [1/1]
WARNING: Unable to determine full hostname.
Condor may not work properly
Condor has been installed into:
/opt/condor-6.8.5
In order for Condor to work properly you must set your
CONDOR_CONFIG environment variable to point to your
Condor configuration file:
/opt/condor-6.8.5/etc/condor_config
before running Condor commands/daemons.
Installed: condor.i386 0:6.8.5-1
Complete!
--> Successfully installed server non-core binary packages
--> Marking installed bit in ODA for server non-core RPMS
DB_DEBUG>./install_server:
====> in Database::update_node_package_status Updating the status of netbootmgr to "installed".
DB_DEBUG>./install_server:
====> in Database::update_node_package_status Updating the status of condor to "installed".
--> Done marking installed bits in ODA
--> Running post_server_install scripts for server non-core packages
Setting systemimager-server-netboodmond to NET_BOOT_DEFAULT=local
Stopping SystemImager's net boot client monitor: ok.
Starting SystemImager's net boot client monitor: ok.
--> Condor's post server install script running.......
Checking if the OPKG has to be excluded...
OPKG condor: Analysing default values
Condor config called
HOSTALLOW_WRITE =
HOSTALLOW_WRITE_COLLECTOR = $(HOSTALLOW_WRITE), $(FLOCK_FROM)
HOSTALLOW_WRITE_STARTD = $(HOSTALLOW_WRITE), $(FLOCK_FROM)
./condor_configure --install-dir=/opt/condor-6.8.5 --type=submit,manager --local-dir=/opt/condor-6.8.5/localdir --owner=condor
WARNING: Unable to determine full hostname.
Condor may not work properly
mv: `/opt/condor-6.8.5/localdir/spool' and `/opt/condor-6.8.5/localdir/spool' are the same file
Unable to move log, spool, execute directories to new local directory: "/opt/condor-6.8.5/localdir"
--> Finished installing Condor
-----cut-----