Project

General

Profile

Documentation #10245

RPM quick start for RHEL should explain where to get tcmalloc & python-flask

Added by Loïc Dachary over 9 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
documentation
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

http://ceph.com/docs/master/start/quick-start-preflight/#red-hat-package-manager-rpm

<loicd> I did sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
<loicd> ktdreyer: would that be a bad idea ? 
<alfredodeza> ah there we go
<ktdreyer> loicd: no, that's good
<ktdreyer> loicd: python-flask used to be in EPEL 7, until Red Hat shipped it in RHEL 7 Extras. Here's where the EPEL developer retired the package from EPEL: http://pkgs.fedoraproject.org/cgit/python-flask.git/commit/?h=epel7
<ktdreyer> loicd: looks like that was a recent change (June 2014)
<loicd> ah
<loicd> ktdreyer: should i rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm to get python-flask from the past ? 
<loicd> (now the tcmalloc problem is resolved \o/ 1/2)
<ktdreyer> loicd: the EPEL 6 repos only work on RHEL 6, so you can really only use epel-release-7 on RHEL 7
<loicd> ok
<ktdreyer> I don't think the epel-release-6-8.noarch.rpm will install on RHEL 7
<loicd> ktdreyer: what would be the cannonical way to get python-flask ? 
<ktdreyer> there's a subscription-manager command we need to run, I'm not sure of th exact arguments, let me see
<loicd> [vpm159][WARNIN] Error: Package: 1:ceph-0.88-511.gab27238.el7.x86_64 (ceph)
<loicd> [vpm159][WARNIN]            Requires: python-flask
<ktdreyer> subscription-manager repos --enable=rhel-7-server-extras-rpms
<ktdreyer> does that work?
-*- loicd trying
<loicd> $ sudo subscription-manager repos --enable=rhel-7-server-extras-rpms
<loicd> Error: rhel-7-server-extras-rpms is not a valid repo ID. Use --list option to see valid repos.
<loicd> [ubuntu@vpm159 ~]$ sudo subscription-manager repos --list
<loicd> This system has no repositories available through subscriptions.
<ktdreyer> interesting, I wonder how this RHEL host got installed. or if it's patched at all :(
<ktdreyer> it should have been registered with subscription-manager
<gmeno> loicd, maybe sudo yum install python-flask --enablerepo=rhel-7-server-optional-rpms ?
<loicd> I'll file a bug and switch to centos7 : I'm not blocked ;-)
<loicd> [ubuntu@vpm159 ~]$ sudo yum install python-flask --enablerepo=rhel-7-server-optional-rpms 
<loicd> Loaded plugins: priorities
<loicd> Error getting repository data for rhel-7-server-optional-rpms, repository not found

Associated revisions

Revision 152f4eb0 (diff)
Added by Aron Gunn about 8 years ago

doc: Updated the RPM section for RHEL and CentOS

Fixes: #10245

Signed-off-by: Aron Gunn <>

History

#1 Updated by Loïc Dachary over 9 years ago

  • Priority changed from Normal to High

Bumping the priority so that it gets triaged

#2 Updated by Ken Dreyer over 9 years ago

For RHEL, we should cover the basics of "Check if you're subscribed to Red Hat with subscription-manager ?" and "run subscription-manager repos --enable=rhel-7-server-extras-rpms" in order to get python-flask (and its deps, python-itsdangerous and python-workzeug).

#3 Updated by Loïc Dachary over 9 years ago

CentOS7 needs

sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm

#4 Updated by Travis Rhoden about 9 years ago

Loic,

On CentOS these days, it's now possible to just do "yum install epel-release" instead of having to go look up a URL to pass to rpm -i. :) Much easier.

#5 Updated by Loïc Dachary about 9 years ago

Right ! The following is much easier:

yum install -y yum-utils && yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/7/x86_64/ && yum install --nogpgcheck -y epel-release && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 && rm /etc/yum.repos.d/dl.fedoraproject.org*

#6 Updated by Aron Gunn about 8 years ago

  • Category set to documentation
  • Status changed from New to In Progress
  • Assignee set to Aron Gunn

Loic,

I'll pick up this issue and get the documentation updated.

Regards,
Aron

#7 Updated by Aron Gunn about 8 years ago

  • Status changed from In Progress to 4

Updated the "quick-start-preflight.rst" file and submitted a pull request1.

[1] - https://github.com/ceph/ceph/pull/7237

#8 Updated by Patrick Donnelly over 4 years ago

  • Status changed from 4 to New

#9 Updated by Anthony D'Atri over 3 years ago

I think this is moot now. Thoughts?

#10 Updated by Anthony D'Atri over 2 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF