Project

General

Profile

Actions

Documentation #10245

closed

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

Actions

Also available in: Atom PDF