python-requests package version conflict on yum update

Bug #1508328 reported by Andres Toomsalu
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel build team
7.0.x
Invalid
High
Fuel build team

Bug Description

What I did:

1. in-place upgrade from Fuel 6.1 to 7.0
2. run yum update for the first time (succeeded)
3. now trying to run yum update again - getting python-requests version conflict

--> Processing Dependency: python-requests <= 2.2.1 for package: 1:python-keystoneclient-0.11.1-1.mos832.noarch
--> Processing Dependency: python-requests <= 2.2.1 for package: python-fuelclient-7.0.0-201.1.git486bde5.noarch
---> Package python-urllib3.noarch 0:1.7.1-2.mira1 will be updated
---> Package python-urllib3.noarch 0:1.10.2-1.el6 will be an update
--> Finished Dependency Resolution
Error: Package: python-fuelclient-7.0.0-201.1.git486bde5.noarch (@7.0_nailgun)
           Requires: python-requests <= 2.2.1
           Removing: python-requests-2.2.1-1.mira1.noarch (@anaconda-CentOS-201410241409.x86_64/6.3)
               python-requests = 2.2.1-1.mira1
           Updated By: python-requests-2.6.0-3.el6.noarch (base)
               python-requests = 2.6.0-3.el6
           Available: python-requests-1.1.0-4.el6.centos.noarch (extras)
               python-requests = 1.1.0-4.el6.centos
           Available: python-requests-2.2.1-1.el6.mira3.noarch (7.0_nailgun)
               python-requests = 2.2.1-1.el6.mira3
Error: Package: 1:python-keystoneclient-0.11.1-1.mos832.noarch (@7.0_nailgun)
           Requires: python-requests <= 2.2.1
           Removing: python-requests-2.2.1-1.mira1.noarch (@anaconda-CentOS-201410241409.x86_64/6.3)
               python-requests = 2.2.1-1.mira1
           Updated By: python-requests-2.6.0-3.el6.noarch (base)
               python-requests = 2.6.0-3.el6
           Available: python-requests-1.1.0-4.el6.centos.noarch (extras)
               python-requests = 1.1.0-4.el6.centos
           Available: python-requests-2.2.1-1.el6.mira3.noarch (7.0_nailgun)
               python-requests = 2.2.1-1.el6.mira3
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Changed in fuel:
assignee: nobody → Fuel build team (fuel-build)
importance: Undecided → High
milestone: none → 7.0-updates
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel build team (fuel-build) → MOS Packaging Team (mos-packaging)
tags: added: fuel-build
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

fuel-python, is it the correct upgrade procedure of the master node?

Changed in fuel:
status: New → Confirmed
assignee: MOS Packaging Team (mos-packaging) → Fuel Python Team (fuel-python)
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Andres Toomsalu - please provide specific steps how you performed the upgrade

Changed in fuel:
status: Confirmed → Incomplete
assignee: Fuel Python Team (fuel-python) → Andres Toomsalu (andres-active)
Maciej Relewicz (rlu)
tags: added: area-build
Changed in fuel:
status: Incomplete → Invalid
Revision history for this message
Carlos Goncalves (cgoncalves) wrote :

I'm also hit by this.

I upgraded my Fuel master node following the steps mentioned in https://docs.mirantis.com/openstack/fuel/fuel-7.0/user-guide.html#upgrading-and-updating-from-earlier-releases. Afterwards I ran:

    # yum update
    # dockerctl destroy all
    # dockerctl start all

And all worked well and rebooted. Once the Fuel master node booted I confirmed to have Fuel 7.0 installed and running -- I could login to the UI and see my previous OpenStack environment.

Later on the day I logged in again to the Fuel node and ran again 'yum update', getting the package conflicts:

---> Package python-requests.noarch 0:2.2.1-1.mira1 will be updated
--> Processing Dependency: python-requests <= 2.2.1 for package: 1:python-keystoneclient-0.11.1-1.mos832.noarch
--> Processing Dependency: python-requests <= 2.2.1 for package: python-fuelclient-7.0.0-201.1.git486bde5.noarch
--> Running transaction check
---> Package keyutils-libs.i686 0:1.4-5.el6 will be installed
---> Package libselinux.i686 0:2.0.94-5.8.el6 will be installed
---> Package python-requests.noarch 0:2.2.1-1.mira1 will be updated
--> Processing Dependency: python-requests <= 2.2.1 for package: 1:python-keystoneclient-0.11.1-1.mos832.noarch
--> Processing Dependency: python-requests <= 2.2.1 for package: python-fuelclient-7.0.0-201.1.git486bde5.noarch
--> Finished Dependency Resolution
Error: Package: python-fuelclient-7.0.0-201.1.git486bde5.noarch (@7.0_nailgun)
           Requires: python-requests <= 2.2.1
           Removing: python-requests-2.2.1-1.mira1.noarch (@anaconda-CentOS-201410241409.x86_64/6.3)
               python-requests = 2.2.1-1.mira1
           Updated By: python-requests-2.6.0-3.el6.noarch (base)
               python-requests = 2.6.0-3.el6
           Available: python-requests-1.1.0-4.el6.centos.noarch (extras)
               python-requests = 1.1.0-4.el6.centos
           Available: python-requests-2.2.1-1.el6.mira3.noarch (7.0_nailgun)
               python-requests = 2.2.1-1.el6.mira3
Error: Package: 1:python-keystoneclient-0.11.1-1.mos832.noarch (@7.0_nailgun)
           Requires: python-requests <= 2.2.1
           Removing: python-requests-2.2.1-1.mira1.noarch (@anaconda-CentOS-201410241409.x86_64/6.3)
               python-requests = 2.2.1-1.mira1
           Updated By: python-requests-2.6.0-3.el6.noarch (base)
               python-requests = 2.6.0-3.el6
           Available: python-requests-1.1.0-4.el6.centos.noarch (extras)
               python-requests = 1.1.0-4.el6.centos
           Available: python-requests-2.2.1-1.el6.mira3.noarch (7.0_nailgun)
               python-requests = 2.2.1-1.el6.mira3
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Changed in fuel:
status: Invalid → Confirmed
Changed in fuel:
assignee: Andres Toomsalu (andres-active) → nobody
Maciej Relewicz (rlu)
Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
Revision history for this message
Carlos Goncalves (cgoncalves) wrote :

I still have the package conflict problem, conflicting with a newer python-fuelclient package version. This issue should be investigated and fixed as it prevents Fuel master nodes from getting bug and security fixes.

---> Package python-fuelclient.noarch 0:7.0.0-202.1.gite0e5760 will be an update
--> Processing Dependency: python-requests <= 2.2.1 for package: python-fuelclient-7.0.0-202.1.gite0e5760.noarch
---> Package python-requests.noarch 0:2.2.1-1.mira1 will be updated
--> Processing Dependency: python-requests <= 2.2.1 for package: python-fuelclient-7.0.0-202.1.gite0e5760.noarch
--> Processing Dependency: python-requests <= 2.2.1 for package: 1:python-keystoneclient-0.11.1-1.mos832.noarch
--> Finished Dependency Resolution
Error: Package: python-fuelclient-7.0.0-202.1.gite0e5760.noarch (mos7.0-updates)
           Requires: python-requests <= 2.2.1
           Removing: python-requests-2.2.1-1.mira1.noarch (@anaconda-CentOS-201410241409.x86_64/6.3)
               python-requests = 2.2.1-1.mira1
           Updated By: python-requests-2.6.0-3.el6.noarch (base)
               python-requests = 2.6.0-3.el6
           Available: python-requests-1.1.0-4.el6.centos.noarch (extras)
               python-requests = 1.1.0-4.el6.centos
           Available: python-requests-2.2.1-1.el6.mira3.noarch (7.0_nailgun)
               python-requests = 2.2.1-1.el6.mira3
Error: Package: 1:python-keystoneclient-0.11.1-1.mos832.noarch (@7.0_nailgun)
           Requires: python-requests <= 2.2.1
           Removing: python-requests-2.2.1-1.mira1.noarch (@anaconda-CentOS-201410241409.x86_64/6.3)
               python-requests = 2.2.1-1.mira1
           Updated By: python-requests-2.6.0-3.el6.noarch (base)
               python-requests = 2.6.0-3.el6
           Available: python-requests-1.1.0-4.el6.centos.noarch (extras)
               python-requests = 1.1.0-4.el6.centos
           Available: python-requests-2.2.1-1.el6.mira3.noarch (7.0_nailgun)
               python-requests = 2.2.1-1.el6.mira3
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Changed in fuel:
milestone: 7.0-updates → 9.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Fuel build team (fuel-build)
status: Confirmed → Invalid
Revision history for this message
Sergey Kulanov (skulanov) wrote :

Folks, could you please share your repos list:

1) yum repolist -v
and
2) yum info python-requests --showduplicates

Revision history for this message
Sergey Kulanov (skulanov) wrote :

putting in `incomplete` while waiting results of the commands from #5

Revision history for this message
Sergey Kulanov (skulanov) wrote :

move to invalid, please re-open in case of issues with providing information from comment #5

Revision history for this message
Fedor Tarasenko (ftarasenko) wrote :
Download full text (3.3 KiB)

[root@fuel-2 ~]# yum info python-requests --showduplicates
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.h1host.ru
 * extras: mirror.h1host.ru
 * updates: mirror.h1host.ru
Installed Packages
Name : python-requests
Arch : noarch
Version : 2.2.1
Release : 1.mira1
Size : 298 k
Repo : installed
From repo : nailgun
Summary : HTTP library, written in Python, for human beings
URL : http://pypi.python.org/pypi/requests
License : ASL 2.0
Description : Most existing Python modules for sending HTTP requests are extremely verbose and
            : cumbersome. Python’s built-in urllib2 module provides most of the HTTP
            : capabilities you should need, but the API is thoroughly broken. This library is
            : designed to make HTTP requests easy for developers.

Available Packages
Name : python-requests
Arch : noarch
Version : 1.1.0
Release : 4.el6.centos
Size : 71 k
Repo : extras
Summary : HTTP library, written in Python, for human beings
URL : http://pypi.python.org/pypi/requests
License : ASL 2.0
Description : Most existing Python modules for sending HTTP requests are extremely verbose and
            : cumbersome. Python’s built-in urllib2 module provides most of the HTTP
            : capabilities you should need, but the API is thoroughly broken. This library is
            : designed to make HTTP requests easy for developers.

Name : python-requests
Arch : noarch
Version : 2.2.1
Release : 1.el6.mira3
Size : 85 k
Repo : 7.0_nailgun
Summary : HTTP library, written in Python, for human beings
URL : http://pypi.python.org/pypi/requests
License : ASL 2.0
Description : Most existing Python modules for sending HTTP requests are extremely verbose and
            : cumbersome. Python’s built-in urllib2 module provides most of the HTTP
            : capabilities you should need, but the API is thoroughly broken. This library is
            : designed to make HTTP requests easy for developers.

Name : python-requests
Arch : noarch
Version : 2.2.1
Release : 1.mira1
Size : 84 k
Repo : nailgun
Summary : HTTP library, written in Python, for human beings
URL : http://pypi.python.org/pypi/requests
License : ASL 2.0
Description : Most existing Python modules for sending HTTP requests are extremely verbose and
            : cumbersome. Python’s built-in urllib2 module provides most of the HTTP
            : capabilities you should need, but the API is thoroughly broken. This library is
            : designed to make HTTP requests easy for developers.

Name : python-requests
Arch : noarch
Version : 2.6.0
Release : 3.el6
Size : 95 k
Repo : base
Summary : HTTP library, written in Python, for human beings
URL : http://pypi.python.org/pypi/requests
License : ASL 2.0
Description : Most existing Python modules for sending HTTP requests are extremely verbose and
            : cumbersome. Python’s built-in urllib2 module provides most of the HTTP
    ...

Read more...

Revision history for this message
Sergey Kulanov (skulanov) wrote :

@Fedor thanks, what about

    yum repolist -v

Revision history for this message
Fedor Tarasenko (ftarasenko) wrote :
Download full text (4.0 KiB)

[root@fuel-2 ~]# yum repolist -v
Loading "fastestmirror" plugin
Loading "priorities" plugin
Not loading "product-id" plugin, as it is disabled
Not loading "subscription-manager" plugin, as it is disabled
Config time: 0.028
Yum Version: 3.2.29
Loading mirror speeds from cached hostfile
 * base: mirror.h1host.ru
 * extras: mirror.h1host.ru
 * updates: mirror.h1host.ru
Setting up Package Sacks
pkgsack time: 0.670
Repo-id : 7.0_auxiliary
Repo-name : 7.0_auxiliary
Repo-revision: 1443623762
Repo-updated : Wed Sep 30 14:36:02 2015
Repo-pkgs : 0
Repo-size : 0
Repo-baseurl : file:///var/www/nailgun/2015.1.0-7.0/centos/auxiliary/
Repo-expire : 21,600 second(s) (last: Tue Apr 19 13:43:27 2016)

Repo-id : 7.0_nailgun
Repo-name : 7.0_nailgun
Repo-revision: 1442953930
Repo-updated : Tue Sep 22 20:32:31 2015
Repo-pkgs : 959
Repo-size : 1.5 G
Repo-baseurl : file:/var/www/nailgun/2015.1.0-7.0/centos/x86_64/
Repo-expire : 21,600 second(s) (last: Tue Apr 19 13:43:27 2016)
Repo-excluded: 1

Repo-id : auxiliary
Repo-name : auxillary
Repo-revision: 1443538937
Repo-updated : Tue Sep 29 15:02:17 2015
Repo-pkgs : 0
Repo-size : 0
Repo-baseurl : file:///var/www/nailgun/2014.2.2-6.1/centos/auxiliary/
Repo-expire : 21,600 second(s) (last: Tue Apr 19 13:43:28 2016)

Repo-id : base
Repo-name : CentOS-6 - Base
Repo-revision: 1438723315
Repo-updated : Tue Aug 4 21:24:45 2015
Repo-pkgs : 6,575
Repo-size : 5.4 G
Repo-mirrors : http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock
Repo-baseurl : http://mirror.h1host.ru/centos/6.7/os/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Tue Apr 19 13:43:28 2016)

Repo-id : extras
Repo-name : CentOS-6 - Extras
Repo-revision: 1459954720
Repo-updated : Wed Apr 6 14:58:41 2016
Repo-pkgs : 62
Repo-size : 18 M
Repo-mirrors : http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras&infra=stock
Repo-baseurl : http://mirror.h1host.ru/centos/6.7/extras/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Tue Apr 19 13:43:29 2016)

Repo-id : mos6.1-security
Repo-name : mos6.1-security
Repo-revision: 1435170165
Repo-updated : Wed Jun 24 18:22:46 2015
Repo-pkgs : 23
Repo-size : 3.3 M
Repo-baseurl : http://mirror.fuel-infra.org/mos/centos-6/mos6.1/security/
Repo-expire : 21,600 second(s) (last: Tue Apr 19 13:43:30 2016)
Repo-excluded: 1

Repo-id : mos6.1-updates
Repo-name : mos6.1-updates
Repo-revision: 1458638946
Repo-updated : Tue Mar 22 09:29:11 2016
Repo-pkgs : 150
Repo-size : 1.3 G
Repo-baseurl : http://mirror.fuel-infra.org/mos/centos-6/mos6.1/updates/
Repo-expire : 21,600 second(s) (last: Tue Apr 19 13:43:30 2016)
Repo-excluded: 28

Repo-id : mos7.0-security
Repo-name : mos7.0-security
Repo-revision: 1437652840
Repo-updated : Thu Jul 23 12:00:40 2015
Repo-pkgs : 0
Repo-size : 0
Repo-baseurl : http://mirror.fuel-infra.org/mos-repos/centos/mos7.0-centos6-fuel/security/x86_64/
Repo-expire : 21,600 second(s) (last: Tue Apr 19 13:43:30 2016)

Repo-id : mos7.0-updates
Repo-name : mos7.0-updates
Repo-revision: 1460979721
Repo-updated : Mon Apr 18 11:42:05 2016
Repo-pkgs : 30
Repo-size...

Read more...

Revision history for this message
Fedor Tarasenko (ftarasenko) wrote :

As a workaround, I used yum-priorities to set priority=1 for Nailgun repository.
After that, upgrade is successful.

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.