Bug 1166202 - python-crane fails to install on rhel7 missing dep python-flask
Summary: python-crane fails to install on rhel7 missing dep python-flask
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: documentation
Version: 2.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 2.6.0
Assignee: Michael Hrivnak
QA Contact: Irina Gulina
URL:
Whiteboard:
: 1173236 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-20 14:59 UTC by Preethi Thomas
Modified: 2015-02-28 22:45 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-28 22:45:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 626 0 None None None Never

Description Preethi Thomas 2014-11-20 14:59:17 UTC
Description: 

[root@hp-dl380pgen8-02-vm-2 ~]# yum install python-crane
Loaded plugins: product-id, pulp-profile-update, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package python-crane.noarch 0:0.2.2-0.3.beta.el7 will be installed
--> Processing Dependency: python-flask >= 0.9 for package: python-crane-0.2.2-0.3.beta.el7.noarch
--> Finished Dependency Resolution
Error: Package: python-crane-0.2.2-0.3.beta.el7.noarch (pulp-2.4-beta)
           Requires: python-flask >= 0.9
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@hp-dl380pgen8-02-vm-2 ~]# yum repolist
Loaded plugins: product-id, pulp-profile-update, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id                      repo name                                    status
beaker-HighAvailability      beaker-HighAvailability                         23
beaker-ResilientStorage      beaker-ResilientStorage                         34
beaker-Server-SAP-debuginfo  beaker-Server-SAP-debuginfo                      4
epel/x86_64                  Extra Packages for Enterprise Linux 7 - x86_ 6,542
pulp-2.4-beta/7Server/x86_64 Pulp 2.4 Beta Builds                            51
rhel7-clone                  rhel7-clone                                  5,071
repolist: 11,725
[root@hp-dl380pgen8-02-vm-2 ~]# 

Packages to be added: 
python-flask for rhel7
Comps group:  

Default: 

Mandatory: 

Visible: 

Multi-lib: 

Need to be present for arches:

Comment 1 Michael Hrivnak 2014-11-20 19:40:30 UTC
python-flask is in the "extras" repo for both rhel7 and centos7.

According to this page, use of EPEL requires enabling the "extras" repo: https://fedoraproject.org/wiki/EPEL

Please enable the rhel7 extras repo and try again.

Comment 2 Preethi Thomas 2014-11-20 21:01:26 UTC
I do have the epel repo.And python-flask does not seem to be in there.

Is there another repo that I am missing?

[root@hp-dl380pgen8-02-vm-2 ~]# rpm -qa |grep epelepel-release-7-2.noarch
[root@hp-dl380pgen8-02-vm-2 ~]#

Comment 3 Irina Gulina 2014-11-25 11:45:31 UTC
I have the last one as well, and it also doesn't work for me. 
What do I do wrong?

>> yum install python-crane
Loaded plugins: amazon-id, pulp-profile-update, rhui-lb
epel/x86_64/metalink                                                                                                                   |  29 kB  00:00:00     
epel                                                                                                                                   | 4.4 kB  00:00:00     
pulp-2.5-beta                                                                                                                          | 3.6 kB  00:00:00     
rhui-REGION-client-config-server-7                                                                                                     | 2.9 kB  00:00:00     
rhui-REGION-rhel-server-releases                                                                                                       | 3.7 kB  00:00:00     
rhui-REGION-rhel-server-rh-common                                                                                                      | 2.9 kB  00:00:00     
epel/x86_64/primary_db                                                                                                                 | 3.5 MB  00:00:00     
(1/2): epel/x86_64/updateinfo                                                                                                          | 156 kB  00:00:00     
(2/2): epel/x86_64/pkgtags                                                                                                             | 1.3 MB  00:00:00     
Resolving Dependencies
--> Running transaction check
---> Package python-crane.noarch 0:0.2.2-0.3.beta.el7 will be installed
--> Processing Dependency: python-flask >= 0.9 for package: python-crane-0.2.2-0.3.beta.el7.noarch
--> Finished Dependency Resolution
Error: Package: python-crane-0.2.2-0.3.beta.el7.noarch (pulp-2.5-beta)
           Requires: python-flask >= 0.9
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
>> yum update
Loaded plugins: amazon-id, pulp-profile-update, rhui-lb
No packages marked for update

>> yum install epel-release
Loaded plugins: amazon-id, pulp-profile-update, rhui-lb
Package epel-release-7-2.noarch already installed and latest version
Nothing to do

>> wget http://mirror.pnl.gov/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
--2014-11-25 06:30:36--  http://mirror.pnl.gov/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
Resolving mirror.pnl.gov (mirror.pnl.gov)... 192.101.102.2
Connecting to mirror.pnl.gov (mirror.pnl.gov)|192.101.102.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13104 (13K) [application/octet-stream]
Saving to: ‘epel-release-7-2.noarch.rpm’

100%[====================================================================================================================>] 13,104      --.-K/s   in 0s      

2014-11-25 06:30:37 (338 MB/s) - ‘epel-release-7-2.noarch.rpm’ saved [13104/13104]

>> rpm -ivh epel-release-7-2.noarch.rpm 
Preparing...                          ################################# [100%]
	package epel-release-7-2.noarch is already installed

>> yum install python-crane
Loaded plugins: amazon-id, pulp-profile-update, rhui-lb
Resolving Dependencies
--> Running transaction check
---> Package python-crane.noarch 0:0.2.2-0.3.beta.el7 will be installed
--> Processing Dependency: python-flask >= 0.9 for package: python-crane-0.2.2-0.3.beta.el7.noarch
--> Finished Dependency Resolution
Error: Package: python-crane-0.2.2-0.3.beta.el7.noarch (pulp-2.5-beta)
           Requires: python-flask >= 0.9
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

>> yum clean all
Loaded plugins: amazon-id, pulp-profile-update, rhui-lb
Cleaning repos: epel pulp-2.5-beta rhui-REGION-client-config-server-7 rhui-REGION-rhel-server-releases rhui-REGION-rhel-server-rh-common
Cleaning up everything

>> yum install python-crane
Loaded plugins: amazon-id, pulp-profile-update, rhui-lb
epel/x86_64/metalink                                                                                                                   |  28 kB  00:00:00     
epel                                                                                                                                   | 4.4 kB  00:00:00     
pulp-2.5-beta                                                                                                                          | 3.6 kB  00:00:00     
rhui-REGION-client-config-server-7                                                                                                     | 2.9 kB  00:00:00     
rhui-REGION-rhel-server-releases                                                                                                       | 3.7 kB  00:00:00     
rhui-REGION-rhel-server-rh-common                                                                                                      | 2.9 kB  00:00:00     
(1/7): epel/x86_64/group_gz                                                                                                            | 250 kB  00:00:00     
(2/7): rhui-REGION-client-config-server-7/x86_64/primary_db                                                                            | 3.3 kB  00:00:00     
(3/7): rhui-REGION-rhel-server-rh-common/7Server/x86_64/primary_db                                                                     |  37 kB  00:00:00     
(4/7): rhui-REGION-rhel-server-releases/7Server/x86_64/primary_db                                                                      | 7.9 MB  00:00:00     
(5/7): epel/x86_64/primary_db                                                                                                          | 3.5 MB  00:00:01     
(6/7): pulp-2.5-beta/7Server/x86_64/group_gz                                                                                           |  521 B  00:00:01     
(7/7): pulp-2.5-beta/7Server/x86_64/primary_db                                                                                         |  22 kB  00:00:01     
(1/5): epel/x86_64/updateinfo                                                                                                          | 156 kB  00:00:00     
(2/5): epel/x86_64/pkgtags                                                                                                             | 1.3 MB  00:00:00     
(3/5): rhui-REGION-rhel-server-rh-common/7Server/x86_64/updateinfo                                                                     | 6.4 kB  00:00:00     
(4/5): rhui-REGION-rhel-server-releases/7Server/x86_64/group_gz                                                                        | 133 kB  00:00:00     
(5/5): rhui-REGION-rhel-server-releases/7Server/x86_64/updateinfo                                                                      | 126 kB  00:00:00     
Resolving Dependencies
--> Running transaction check
---> Package python-crane.noarch 0:0.2.2-0.3.beta.el7 will be installed
--> Processing Dependency: python-flask >= 0.9 for package: python-crane-0.2.2-0.3.beta.el7.noarch
--> Finished Dependency Resolution
Error: Package: python-crane-0.2.2-0.3.beta.el7.noarch (pulp-2.5-beta)
           Requires: python-flask >= 0.9
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

>> rpm -qa | grep epel
epel-release-7-2.noarch

Comment 4 Irina Gulina 2014-11-25 15:24:28 UTC
ok, I enabled extras in /etc/yum.repos.d/redhat-rhui.repo

and new error is : 

Resolving Dependencies
--> Running transaction check
---> Package python-crane.noarch 0:0.2.2-1.el7 will be installed
--> Processing Dependency: python-flask >= 0.9 for package: python-crane-0.2.2-1.el7.noarch
--> Running transaction check
---> Package python-flask.noarch 1:0.10.1-4.el7 will be installed
--> Processing Dependency: python-werkzeug for package: 1:python-flask-0.10.1-4.el7.noarch
--> Processing Dependency: python-jinja2 for package: 1:python-flask-0.10.1-4.el7.noarch
--> Processing Dependency: python-itsdangerous for package: 1:python-flask-0.10.1-4.el7.noarch
--> Running transaction check
---> Package python-flask.noarch 1:0.10.1-4.el7 will be installed
--> Processing Dependency: python-jinja2 for package: 1:python-flask-0.10.1-4.el7.noarch
---> Package python-itsdangerous.noarch 0:0.23-2.el7 will be installed
---> Package python-werkzeug.noarch 0:0.9.1-2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: 1:python-flask-0.10.1-4.el7.noarch (rhui-REGION-rhel-server-extras)
           Requires: python-jinja2
 You could try using --skip-broken to work around the p

Comment 5 Chris Duryee 2014-12-05 15:10:07 UTC
I hit this as well when using ec2 and rhui to get packages.

I had to enable extras and the optional repo. After that, python-crane installs.

Comment 6 Irina Gulina 2014-12-11 14:17:16 UTC
Thanks Chris, after enabling optional repo (in addition to extras), python-crane installs.

Comment 7 Michael Hrivnak 2014-12-15 18:37:30 UTC
*** Bug 1173236 has been marked as a duplicate of this bug. ***

Comment 8 Michael Hrivnak 2014-12-16 19:02:44 UTC
https://github.com/pulp/pulp/pull/1434

Comment 9 Chris Duryee 2014-12-23 20:52:25 UTC
fixed in pulp 2.6.0-0.2.beta

Comment 10 Irina Gulina 2014-12-24 15:29:33 UTC
It was documented. 

http://pulp-user-guide.readthedocs.org/en/latest/installation.html

!Note

EPEL requires users of RHEL 6.x to enable the optional repository, and users of RHEL 7.x to additionally enable the extras repository. Details are described here.

Comment 11 Brian Bouterse 2015-02-28 22:45:24 UTC
Moved to https://pulp.plan.io/issues/626


Note You need to log in before you can comment on or make changes to this bug.