Can you please do a clean install for Fedora Core 7 Test 2 x86_64 and try
the latest tarball again?

Cheers,

Bernard

On 3/9/07, Allan Menezes <[EMAIL PROTECTED]> wrote:



-------- Original Message --------  Subject: Re: [Oscar-devel] Fedora Core
7 support (was Re: Patch to Fedora.pm)  Date: Sat, 10 Mar 2007 01:17:46
-0500  From: Allan Menezes <[EMAIL PROTECTED]><[EMAIL PROTECTED]>  To:
[email protected]  References:
<[EMAIL PROTECTED]><[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]><[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]><[EMAIL PROTECTED]>  Sorry
Bernard I forgot to include the new oscarinstall.log in the email. It's
there here!
Thank you very much and sorry about the hassle!
Cheers,
Allan
Bernard Li wrote:

Hi Allan:

You must have manually modified the fedora-release file, it should read:

Fedora release 6.91 (Rawhide)

   Hi Bernard,
   I corrected that now manually it now reads as above. Yes I had
modififed that line.
But there's still someting wrong. Look at the oscarinstall.log attached.
On running install_cluster eth0 it seems to initially think its qa
fc-6-x86_64 distro and creates directories for that in tftpboot
and then carries on to install. BUt i did a ctrl-c to stop the script and
attached the oscarinstall.log for you.
Can you see what's wrong? I downloaded the latest oscar-base of march09,07
and installed it in /opt/oscar ( mv oscar-5. .. oscar)
Thank you,
Allan
PS I still think there is something wrong with a script some where but
build oscar rpms ccreates the correct fc7-x86_64 dirs

 Regards,

Bernard

On 3/9/07, Allan Menezes <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:

  Hi Bernard,
    Please find my current Fedora.pm  and redhat-release attached

 Cheers,
 Allan
 Bernard Li wrote:

 Well, OSCAR thinks that you are on fc6, not fc7. Did you apply the
patch to Fedora.pm (it should be in newer nightly tarball, what
version are you using?)

Can you paste your Fedora.pm and also the output of 'cat
/etc/redhat-release'?

Cheers,

Bernard

On 3/9/07, Allan Menezes <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:


 Hi Bernard,
 Here it is:
 Bernard Li wrote:

 Can run "export OSCAR_VERBOSE=5", re-run install_cluster and pastebin
your install log and also the output of running the driver?

http://svn.oscar.openclustergroup.org/trac/oscar/wiki/DevOCA


 http://pastebin.ca/387406

 OCA-driver.pl output :


=============================================================================
 == OS_Detect
=============================================================================

 ret = HASH(0x78c340)
 --> Dump...
 $VAR1 = {
 'compat_distro' => 'fc',
 'distro' => 'fedora',
 'chroot' => '/',
 'arch' => 'x86_64',
 'ident' => 'linux-x86_64-fedora-6',
 'os' => 'linux',
 'compat_distrover' => '6',
 'pkg' => 'rpm',
 'distro_version' => '6'
 };

 --> distro_flavor=()
 --> distro_version=(6)
 --> arch=(x86_64)

=============================================================================
 == RM_Detect
=============================================================================

 --> Dump...
 $VAR1 = 1;
 Thank you,
 Allan




 Cheers,

Bernard

On 3/9/07, Allan Menezes <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:


 Hi Bernard,
 Another problem : When i run ./install_cluster eth0 in /opt/oscar having
created the fedora-7-x86_64 dir and url file in /tftpboot/distro and
 fc-7-x86_64 in /tftpboot/oscar the invocation of install cluster comes up
with /tftpboot/oscar/fc-6-x86_64 not found. Creating empty directory
 and disto repository /tftpboot/oscar/fedora-6-x86_64 not found. Craeting
empty directory. It's the wizard prep that fails. The new Fedora.pm and
OS_Detect are in and when i build rpms they build in fc7-x86_64 dir of
distro of the package. Do you have afix?
 Thank you,

 Allan

 Bernard Li wrote:

 Hi Allan:

Yup, they are there, I will check them into their appropriate places
when I have a chance.

Thanks,

Bernard

On 3/9/07, Allan Menezes <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:


 Hi Bernard,
 I have uploaded 20 rpms i built to "fc-7-x86_64" for fc7 x86_64 test2.
Tell me if youve got them,
 Thanks,

 Allan

 Bernard Li wrote:

 Hi Allan:

I believe fc7 comes with rrdtool-devel, so just run:

yum install rrdtool-devel

and then you should be able to build ganglia.

P.S. If you have built other RPMs, can you please check them into our
repository?

Cheers,

Bernard

On 3/8/07, Allan Menezes <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:


 Hi Bernard,
 I tried to build ganglia for fc7 x86_64 test2. It builds the rrdttols but
fails to build ganglia.Because rrdtool is not installed it just builds it
but doesnt install it.
 When I try to do rpm -Uvh rrdtool-1.0.49-2.rf.x86_64.rpm
 i get:
 error: Failed Dependencies:
 perl >= 4:5.8.84:5.8.8 is needed by rrdtool-1.0.49-2.rf.x86_64
 Any suggestions?
 I like ganglia and the fc6x86_64 rpms i built have ganglia and it work on a
cluster I tried it with(ganglia i.e.)

 Cheers,
 Allan
 Bernard Li wrote:

 Hi Allan:

Okay I see what the problem is. Can you modify that line to:

if ( ($q =~ m/executable,\ \S+\ (\S+),\ version/) || ($q =~
m/executable,\ (\S+),\ version/) ) {

That should do the trick.

Cheers,

Bernard

On 3/5/07, Allan Menezes <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:


 Hi Bernard,
 The OS_Detect perl script does not work for fc7 x86_64 test2.
 The subroutine that fails is detect_arch_file at if ($q =~ m/executable
... etc
 I put a print staement to see the value of q something like print " hello0
= ".$q."\n";
 before the return $arch and it ouputs:
 hello0 = ///bin/bash: ELF 64-bit LSB executable, x86-64, version 1 ... etc
 Installed is perl 5 maybe compatibility?
 Thank yoi,
 cheers,
 Allan

 Bernard Li wrote:

 Hi Allan:

Looks like you are having troubles with installation :-)

Anyways, rebuild your headnode and paste the newer oscarinstall.log,
also please paste the output of SystemImager's log.

I am rebuilding RPMs on Fedora Core 7 test 2 right now, and will also
check in the patch for Fedora.pm so it should correctly recognize that
your system is fc7-x86_64. BTW, using fc6's RPMs may not always work,
since some software versions are newer, eg. python 2.5 vs python 2.4.

Cheers,

Bernard

On 3/4/07, Allan Menezes <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:


 Hi Bernard,
 Bernard Li wrote:

 Hi Allan:

On 3/4/07, Allan Menezes <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:



 What's the link?

 I am not familiar with pastebin But i pasted oscarinstall.log into the
pastebin.lca and wrote you amessage with my name Allan Menezes
 Sorry about that! Just in case heres olog.tar.gz attached.

 When you post something in pastebin and hit "submit", it will provide
you with a URL of the paste, so just send that to me and I'll be able
to view it.


 Here it is,
 Thank you!
 http://www.pastebin.ca/381935
 I had a reboot error on my master node something to do with x so I have to
reinstall fc7 x86 test2



 Cheers,

Bernard

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel



 Cheers,
 Allan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel





#!/usr/bin/env perl
#
# Copyright (c) 2005 The Trustees of Indiana University.
#                    All rights reserved.
# Copyright (c) 2006, 2007 Bernard Li <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
#
# Copyright (c) Erich Focht <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
#      - complete rewrite to enable use on top of images
#      - enabled use on top of package pools
#
# This file is part of the OSCAR software package.  For license
# information, see the COPYING file in the top level directory of the
# OSCAR source distribution.
#
# $Id: Fedora.pm 5716 2007-03-05 04:57:52Z bli $
#

package OCA::OS_Detect::Fedora;

use strict;

my $distro = "fedora";
my $compat_distro = "fc";
my $pkg = "rpm";
my $detect_package = "fedora-release";
my $detect_file = "/bin/bash";

# This routine is cheap and called very rarely, so don't care for
# unnecessary buffering. Simply recalculate $id each time this is
# called.
sub detect_dir {
    my ($root) = @_;
    my ($release_string, $fc_release);
    my $dfile = "/etc/fedora-release";

    # If /etc/fedora-release exists, continue, otherwise, quit.
    if (-f "$root$dfile") {
        $release_string = `cat $root$dfile`;
    } else {
        return undef;
    }

    # this hash contains all info necessary for identifying the OS
    my $id = {
        os => "linux",
        chroot => $root,
    };

    if ($release_string =~ /Fedora Core release (\d+)/) {
        $fc_release = $1;
    } elsif ($release_string =~ /Fedora release (\d+)\.9\d \(Rawhide\)/) { #
Fedora Core test releases
        $fc_release = $1+1;
    } else {
        return undef;
    }

    $id->{distro} = $distro;
    $id->{distro_version} = $fc_release;
    $id->{compat_distro} = $compat_distro;
    $id->{compat_distrover} = $fc_release;
    $id->{pkg} = $pkg;

    # determine architecture
    my $arch =
main::OSCAR::OCA::OS_Detect::detect_arch_file($root,$detect_file);
    $id->{arch} = $arch;

    # Make final string
    $id->{ident} =
"$id->{os}-$id->{arch}-$id->{distro}-$id->{distro_version}";

    return $id;
}

sub detect_pool {
    my ($pool) = @_;

    my $id =
main::OSCAR::OCA::OS_Detect::detect_pool_rpm($pool,
                                                          $detect_package,
                                                          $distro,
                                                          $compat_distro);

    return $id;
}

sub detect_fake {
    my ($fake) = @_;
    my $id =
main::OSCAR::OCA::OS_Detect::detect_fake_common($fake,
                                                             $distro,
                                                             $compat_distro,
                                                             $pkg);
    return $id;
}

# If we got here, we're happy
1;

Fedora Core release 6.91 (Rawhide)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel


     -------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/oscar-devel






=============================================================================
== Running OSCAR install_cluster script    Sat Mar 10 01:06:16 EST 2007

=============================================================================

--> Checking if this is a supported platform
--> Running: "cd /opt/oscar/scripts && ./wizard_prep"


=============================================================================
== Running OSCAR wizard_prep script

=============================================================================

Distro repository /tftpboot/oscar/fc-6-x86_64 not found. Creating empty
directory.
Distro repository /tftpboot/distro/fedora-6-x86_64 not found. Creating
empty directory.
--> Bootstrapping OSCAR smart package manager
--> Checking OSCAR repositories existence.
       smartly removing: tftp-server.x86_64,lam
       smartly installing:
apr,apr-util,dhcp,gd,nfs-utils,openssh,openssh-clients,openssh-server,openssl,tcpdump,xinetd,httpd,php-pear,php,expat,python,zlib,zlib-devel,shadow-utils,libcap,ntp

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to