Re: More Beta testing troubles
Don't need to, it's already there.
Michael Edwards wrote:
> Did you add centos t o the distro detection script?
>
> On Thu, Feb 28, 2008 at 1:55 PM, Paul Greidanus
> <paul.greidanus@...> wrote:
>
>> Hey Geoffroy,
>>
>> debug=5 (and 10) show this:
>>
>> ERROR: Impossible to detect the distro associated to the pool
>> /tftpboot/distro/centos-5-x86_64 at /opt/oscar/lib/OSCAR/PackageSmart.pm
>> line 138.
>> eval require PackageSmart returned Bad file descriptor
>>
>> Same error..
>>
>> And I think I screwed up the remote repo by thinking brokenly, remote
>> repo gets farther, but it would be cool to have something tell you a
>> little more clearly that it can't find the repodata?
>>
>> Paul
>>
>>
>>
>> Geoffroy VALLEE wrote:
>> > Hi Paul,
>> >
>> > With the online repository, the problem comes from the fact a URL is wrong:
>> > ftp://filer3:/mirror/CentOS/5.1/os/x86_64/CentOS/repodata/repomd.xml
>> > Do you have any idea why you have "ftp://filer3:/" into the URL?
>> >
>> > For the local repo, I have to admit that the error message is kind of useless
>> > ("ERROR: Impossible to detect the distro associated to the pool"), since we
>> > do not even know which repo creates the problem. Can you try to run the
>> > script with OSCAR_VERBOSE sets at 5 or higher?
>> >
>> > Regards,
>> >
>> > On Wednesday 27 February 2008, Paul Greidanus wrote:
>> >
>> >> I'm testing with CentOS 5.1 now, and I get this, both with local and
>> >> remote repos:
>> >>
>> >>
>> >> Remote:
>> >> ===========================================================================
>> >> == == Running OSCAR install_cluster script Thu Feb 28 00:08:51 MST 2008
>> >> ===========================================================================
>> >> ==
>> >>
>> >> --> Checking if this is a supported platform
>> >> --> Running: "cd /opt/oscar/scripts && ./wizard_prep"
>> >>
>> >> ===========================================================================
>> >> == == Running OSCAR wizard_prep script
>> >> ===========================================================================
>> >> ==
>> >>
>> >> --> Bootstrapping OSCAR smart package manager
>> >> eval require PackageSmart returned Bad file descriptor
>> >> --> Checking OSCAR repositories existence.
>> >> Preparing pools: /tftpboot/oscar/rhel-5-x86_64
>> >> Analysing /tftpboot/oscar/rhel-5-x86_64
>> >> /tftpboot/oscar/rhel-5-x86_64 is a local pool
>> >> (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
>> >> Pool associated to distro rhel
>> >> Pool format: rpms
>> >> Binary package format for the image: rpms
>> >> --- checking md5sum for /tftpboot/oscar/rhel-5-x86_64
>> >> Preparing pools: /tftpboot/oscar/common-rpms
>> >> Analysing /tftpboot/oscar/common-rpms
>> >> /tftpboot/oscar/common-rpms is a local pool
>> >> (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
>> >> Pool format: rpms
>> >> Binary package format for the image: rpms
>> >> --- checking md5sum for /tftpboot/oscar/common-rpms
>> >> Cleaning up Everything
>> >> --> Installing OSCAR wizard prerequisites
>> >> Preparing pools:
>> >> file:/tftpboot/oscar/rhel-5-x86_64,file:/tftpboot/oscar/common-rpms
>> >> ftp://filer3:/mirror/CentOS/5.1/os/x86_64/CentOS
>> >> Analysing file:/tftpboot/oscar/rhel-5-x86_64
>> >> /tftpboot/oscar/rhel-5-x86_64 is a local pool
>> >> (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
>> >> Pool associated to distro rhel
>> >> Pool format: rpms
>> >> Analysing file:/tftpboot/oscar/common-rpms
>> >> /tftpboot/oscar/common-rpms is a local pool
>> >> (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
>> >> Pool format: rpms
>> >> Analysing ftp://filer3:/mirror/CentOS/5.1/os/x86_64/CentOS
>> >> This is an online repository
>> >> (ftp://filer3:/mirror/CentOS/5.1/os/x86_64/CentOS)
>> >> Testing remote repository type by using command: wget -S --delete-after
>> >> -q ftp://filer3:/mirror/CentOS/5.1/os/x86_64/CentOS/repodata/repomd.xml...
>> >> --> USER anonymous
>> >>
>> >> --> PASS Turtle Power!
>> >>
>> >> --> SYST
>> >>
>> >> --> PWD
>> >>
>> >> --> TYPE I
>> >>
>> >> --> CWD /mirror/CentOS/5.1/os/x86_64/CentOS/repodata
>> >>
>> >> ERROR: Mix of RPM and Deb pools (rpms vs. ), we do not know how to deal
>> >> with that! at /opt/oscar/lib/OSCAR/PackageSmart.pm line 114.
>> >> [deb]
>> >> Could not install base prereqs!
>> >> Oscar Wizard preparation script failed to complete at ./install_cluster
>> >> line 275.
>> >>
>> >> Local:
>> >> ===========================================================================
>> >> == == Running OSCAR wizard_prep script
>> >> ===========================================================================
>> >> ==
>> >>
>> >> Creating new .url file: /tftpboot/distro/centos-5-x86_64.url with
>> >> repositories
>> >> file:/tftpboot/distro/centos-5-x86_64
>> >> Available Distro Pools:
>> >> $VAR1 = 'centos-5-x86_64';
>> >> $VAR2 = {
>> >> 'url' => '/tftpboot/distro/centos-5-x86_64.url',
>> >> 'oscar_repo' =>
>> >> 'file:/tftpboot/oscar/rhel-5-x86_64,file:/tftpboot/oscar/common-rpms',
>> >> 'distro_repo' => 'file:/tftpboot/distro/centos-5-x86_64',
>> >> 'os' => {
>> >> 'compat_distro' => 'rhel',
>> >> 'compat_distrover' => '5',
>> >> 'distro' => 'centos',
>> >> 'pkg' => 'rpm',
>> >> 'arch' => 'x86_64',
>> >> 'distro_version' => '5'
>> >> }
>> >> };
>> >> --> Bootstrapping OSCAR smart package manager
>> >> OSCAR pkg path:
>> >> file:/tftpboot/oscar/rhel-5-x86_64,file:/tftpboot/oscar/common-rpms
>> >> Distro pkg path: file:/tftpboot/distro/centos-5-x86_64
>> >> Prereq paths: /opt/oscar/packages/yume,/opt/oscar/share/prereqs/packman
>> >> found matching block [centos.*:.*:.*]
>> >> found matching block [.*:.*:.*]
>> >> Following packages will be removed:
>> >>
>> >> Following packages will be installed:
>> >> perl-IO-Tty
>> >> python-urlgrabber
>> >> python-elementtree
>> >> yum
>> >> createrepo
>> >> yume
>> >> packman-depman
>> >> packman-depman-rpms
>> >> Following shell commands will be executed:
>> >>
>> >> Executing: rpm -q perl-IO-Tty >/dev/null 2>&1
>> >> Executing: rpm -q python-urlgrabber >/dev/null 2>&1
>> >> Executing: rpm -q python-elementtree >/dev/null 2>&1
>> >> Executing: rpm -q yum >/dev/null 2>&1
>> >> Executing: rpm -q createrepo >/dev/null 2>&1
>> >> Executing: rpm -q yume >/dev/null 2>&1
>> >> Executing: rpm -q packman-depman >/dev/null 2>&1
>> >> Executing: rpm -q packman-depman-rpms >/dev/null 2>&1
>> >> Executing: rpm -q perl-IO-Tty >/dev/null 2>&1
>> >> Executing: rpm -q python-urlgrabber >/dev/null 2>&1
>> >> Executing: rpm -q python-elementtree >/dev/null 2>&1
>> >> Executing: rpm -q yum >/dev/null 2>&1
>> >> Executing: rpm -q createrepo >/dev/null 2>&1
>> >> Executing: rpm -q yume >/dev/null 2>&1
>> >> Executing: rpm -q packman-depman >/dev/null 2>&1
>> >> Executing: rpm -q packman-depman-rpms >/dev/null 2>&1
>> >> ERROR: Impossible to detect the distro associated to the pool
>> >> /tftpboot/distro/centos-5-x86_64 at /opt/oscar/lib/OSCAR/PackageSmart.pm
>> >> line 138.
>> >> eval require PackageSmart returned Bad file descriptor
>> >> --> Checking OSCAR repositories existence.
>> >> Preparing pools: /tftpboot/distro/centos-5-x86_64
>> >> Analysing /tftpboot/distro/centos-5-x86_64
>> >> /tftpboot/distro/centos-5-x86_64 is a local pool
>> >> (debian|fc|fedora|mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs)
>> >> Oscar Wizard preparation script failed to complete at ./install_cluster
>> >> line 275.
>> >>
>> >>
>> >> -------------------------------------------------------------------------
>> >> This SF.net email is sponsored by: Microsoft
>> >> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> >> _______________________________________________
>> >> Oscar-devel mailing list
>> >> Oscar-devel@...
>> >> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>> >>
>> >
>> >
>> >
>> >
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Oscar-devel mailing list
>> Oscar-devel@...
>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Oscar-devel mailing list
> Oscar-devel@...
> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/