[OSCI] 7.0.mos-new.install-deb failed for new stable/kilo code

Bug #1474340 reported by Ivan Kolodyazhny
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Ivan Udovichenko

Bug Description

Newer Cinder from stable/kilo requires updated dependencies: http://osci-jenkins.srt.mirantis.net:8080/job/7.0.mos-new.install-deb/844/

Merge review request: https://review.fuel-infra.org/#/c/9299/

Ivan Kolodyazhny (e0ne)
Changed in fuel:
importance: Undecided → High
ruhe (ruhe)
Changed in fuel:
milestone: none → 7.0
affects: fuel → mos
Changed in mos:
milestone: 7.0 → none
milestone: none → 7.0
assignee: nobody → MOS Packaging Team (mos-packaging)
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :
summary: - [OSCI][Cinder] 7.0.mos-new.install-deb failed for new stable/kilo code
+ [OSCI] 7.0.mos-new.install-deb failed for new stable/kilo code
summary: - [OSCI] 7.0.mos-new.install-deb failed for new stable/kilo code
+ [OSCI] [Cinder] 7.0.mos-new.install-deb failed for new stable/kilo code
Revision history for this message
Ivan Udovichenko (iudovichenko) wrote : Re: [OSCI] [Cinder] 7.0.mos-new.install-deb failed for new stable/kilo code

OSCI, could you please check why it can't install dependent packages while they all present in repositories.
Also please note the dash after the package names.

Changed in mos:
assignee: MOS Packaging Team (mos-packaging) → Fuel OSCI Team (fuel-osci)
Changed in mos:
status: New → Confirmed
Changed in mos:
assignee: Fuel OSCI Team (fuel-osci) → Alexander Tsamutali (astsmtl)
summary: - [OSCI] [Cinder] 7.0.mos-new.install-deb failed for new stable/kilo code
+ [OSCI] 7.0.mos-new.install-deb failed for new stable/kilo code
Revision history for this message
Alexander Tsamutali (astsmtl) wrote :

The problem here is that package has wrong dependencies: python-pbr-, python-eventlet-, python-requests-, python-retrying-, python-routes-.

Changed in mos:
assignee: Alexander Tsamutali (astsmtl) → MOS Deployment Team (mos-deployment)
Changed in mos:
assignee: MOS Deployment Team (mos-deployment) → MOS Packaging Team (mos-packaging)
Changed in mos:
assignee: MOS Packaging Team (mos-packaging) → MOS Infra (mos-infra)
status: Confirmed → Fix Released
status: Fix Released → Confirmed
assignee: MOS Infra (mos-infra) → Fuel OSCI Team (fuel-osci)
Revision history for this message
Alexander Tsamutali (astsmtl) wrote :

Seems like this is a bug with dh_python2. If a line in requirements.txt has exclamaition mark right after the name of the package, it add's this wrong dependency. This commit broke our package: https://review.fuel-infra.org/gitweb?p=openstack/cinder.git;a=commitdiff;h=e1143ae7014c9ba85ea7fd0ac11980146869bc33

Changed in mos:
assignee: Fuel OSCI Team (fuel-osci) → Alexander Tsamutali (astsmtl)
Revision history for this message
Ivan Udovichenko (iudovichenko) wrote :

Ivan Kolodyazhny, please fix requirements in requirements.txt according to global requirements.
At this moment it fails because of wrong placement of versions.

For example:
https://github.com/openstack/requirements/blob/stable/kilo/global-requirements.txt#L89
Wrong in Cinder (Kilo):
https://github.com/openstack/cinder/blob/stable/kilo/requirements.txt#L5

With fix CI installs package without any issues:
https://review.fuel-infra.org/#/c/9299/2/requirements.txt

Revision history for this message
Alexander Tsamutali (astsmtl) wrote :

Ivan, it think it's wrong to say that version order is wrong. Instead we need to fix dh_python2. But you are right in that we can unblock work now by shuffling version caps.

Revision history for this message
Ivan Udovichenko (iudovichenko) wrote :

I've contacted the author of dh-python (thanks to Thomas Goirand who pointed him out to me. Piotr Ożarowski by the way :) )
As he said, it was fixed in 1.20141026-1 version. So Ubuntu Trusty repository contains old version.
So I've tested it with version 1.20141111-2 of dh-python from Debian Jessie repository (http://ftp.us.debian.org/debian/pool/main/d/dh-python/dh-python_1.20141111-2_all.deb). It works like a charm.
You may use it as a complete solution.

Changed in mos:
assignee: Alexander Tsamutali (astsmtl) → Ivan Udovichenko (iudovichenko)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to fuel-infra/jeepyb-config (master)

Reviewed: https://review.fuel-infra.org/9376
Submitter: Andrey Nikitin <email address hidden>
Branch: master

Commit: 60428af27b91dd7d0b5ba0c2494eb6bb3a9ed955
Author: Ivan Udovichenko <email address hidden>
Date: Wed Jul 15 16:05:34 2015

Add dh-python project

We need an updated version of dh-python package.

Related-Bug: #1474340

Change-Id: Ica1446c35444d294e8f98e83e0eaaddfd519cdb1

Revision history for this message
Igor Yozhikov (iyozhikov) wrote :
Changed in mos:
status: Confirmed → Fix Committed
Changed in mos:
status: Fix Committed → Fix Released
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.