Release .spec file missing Clauses for Fedora?

Bug #1045697 reported by David Busby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Triaged
Wishlist
Unassigned

Bug Description

This page: http://www.percona.com/doc/percona-server/5.5/installation.html

Notes: "Percona provides repositories for yum (RPM packages for Red Hat, CentOS, Amazon Linux AMI, and Fedora) and apt (.deb packages for Ubuntu and Debian)"

Installation via: `rpm -Uvh http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm`

Leads to:

"""
http://repo.percona.com/centos/17/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://repo.percona.com/centos/17/os/x86_64/repodata/repomd.xml
Trying other mirror.
Error: failure: repodata/repomd.xml from percona: [Errno 256] No more mirrors to try.
"""

As such I would assume the rpm .spec file is missing clauses to handel fedora and el separately?

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Can you try pointing the base_url in etc/yum.repos.d/Percona.repo to centos/latest/os instead of centos/$releasever/os?

Revision history for this message
David Busby (d-busby) wrote :

[10:14am] tlonim: oneiroi: ok.. seems it is because /etc/yum.repos.d/Percona.repo points to centos/6/os/
[10:14am] tlonim: I guess it will be better to point it to centos/latest/os
[10:17am] oneiroi: tlonim: assuming those packages work with Fedora at least, will try hardcoding that now
[10:19am] oneiroi: tlonim: http://repo.percona.com/centos/latest/os/$basearch/ does indeed appear functional
[10:21am] oneiroi: attempting installation now will update bug shortly with findings

Per discussion with tlonim @ #percona the following repo url: http://repo.percona.com/centos/latest/os/$basearch/ appears functional, I am at this time running an installation via yum and will update with results shortly.

Revision history for this message
David Busby (d-busby) wrote :

Installation completed successfully:

...
Installed:
  Percona-XtraDB-Cluster-server.x86_64 1:5.5.24-23.6.340.rhel6

Dependency Installed:
  Percona-XtraDB-Cluster-client.x86_64 1:5.5.24-23.6.340.rhel6 Percona-XtraDB-Cluster-galera.x86_64 0:2.0-1.113.rhel6 Percona-XtraDB-Cluster-shared.x86_64 1:5.5.24-23.6.340.rhel6 percona-xtrabackup.x86_64 0:2.0.2-461.rhel6
  perl.x86_64 4:5.14.2-212.fc17 perl-Carp.noarch 0:1.22-2.fc17 perl-Module-Pluggable.noarch 1:3.90-212.fc17 perl-PathTools.x86_64 0:3.33-212.fc17
  perl-Pod-Escapes.noarch 1:1.04-212.fc17 perl-Pod-Simple.noarch 1:3.16-212.fc17 perl-Scalar-List-Utils.x86_64 0:1.25-1.fc17 perl-Socket.x86_64 0:2.001-1.fc17
  perl-libs.x86_64 4:5.14.2-212.fc17 perl-macros.x86_64 4:5.14.2-212.fc17 perl-threads.x86_64 0:1.86-2.fc17 perl-threads-shared.x86_64 0:1.40-2.fc17

Complete!
...

That said a change to centos/latest could only occur for el6 / fedora, and not el5

no longer affects: percona-server/release-5.1.51-11
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

@David,

Yes, using centos/latest will help for el6 case but not for el5.
I guess the solution will be to add sections like [fedora], [latest], [el6], [el5] with [latest] enabled by default.

Revision history for this message
Alexey Kopytov (akopytov) wrote :

Just hit this bug when trying to install Percona-Server-server-55 on Fedora 17 by following the instructions from http://www.percona.com/docs/wiki/percona-server:release:start#percona_yum_repository.

http://repo.percona.com/centos/17/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://repo.percona.com/centos/17/os/x86_64/repodata/repomd.xml
Trying other mirror.
Error: failure: repodata/repomd.xml from percona: [Errno 256] No more mirrors to try.

 If installing on Fedora is officially unsupported, let's remove it from http://www.percona.com/software/repositories ?

Revision history for this message
David Busby (d-busby) wrote :

Installing on Fedora works (I can personally vouch for 17 and 18); and often el users workstation OS of choice is going to be Fedora. (Fedora often contains features destined for RHEL)

esp as we're working on getting some components into EPEL I'd suggest not dropping support for Fedora as imo it's a step in the wrong direction.

Revision history for this message
Ignacio Nin (ignacio-nin) wrote :

Hello,

While installing on Fedora can work, neither are our packages tested for Fedora at the time nor our repository prepared to handle Fedora as shown by this error. This was the cause it was removed from the list at http://www.percona.com/doc/percona-server/5.5/installation.html, however it seems we missed removing it from http://www.percona.com/software/repositories.

We should de-list it from there at least until we build specific packages for the platform and we prepare our repositories for it, *if* we decide to support it.

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

It seems that all the website links mentioned in this report have been fixed not to list Fedora. Let's keep this bug as a Wishlist bug to add proper Fedora support back?

no longer affects: percona-server/5.1
no longer affects: percona-server/5.5
Changed in percona-server:
importance: Undecided → Wishlist
status: Confirmed → Triaged
tags: added: pkg
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2379

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.