[upgrade] [build] Incorrect path to patches/ dir in octane RPM build spec

Bug #1557734 reported by Oleg S. Gelbukh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Oleg S. Gelbukh
8.0.x
Fix Committed
High
Unassigned
Mitaka
Fix Committed
High
Oleg S. Gelbukh

Bug Description

Detailed description:

RPM build spec in fuel-octane project contains hardcoded path to install patches/, which points at python2.6/site-packages. However, in version 8.0 and 9.0 python 2.7 is installed and used. Thus the path is incorrect.

Steps to reproduce:

1. Install the Fuel Master node with default settings.
2. Install fuel-octane package from the mos8.0-proposed repo:

  yum install -y fuel-octane-8.0.0-1.mos1104.noarch.rpm

3. Locate timeout.patch file using find command:

  find /usr -name timeout.patch

Expected result:

  /usr/lib/python2.7/site-packages/octane/patches/timeout.patch

Actual result:

  File not found.

no longer affects: fuel/future
tags: added: feature-upgrade team-upgrades
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-octane (master)

Fix proposed to branch: master
Review: https://review.openstack.org/293255

Changed in fuel:
assignee: Fuel Octane Dev Team (fuel-octane) → Oleg S. Gelbukh (gelbuhos)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-octane (master)

Reviewed: https://review.openstack.org/293255
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=fd880d34eb9a2994e8de56623818f59adc0ab027
Submitter: Jenkins
Branch: master

commit fd880d34eb9a2994e8de56623818f59adc0ab027
Author: Oleg Gelbukh <email address hidden>
Date: Tue Mar 15 19:28:08 2016 +0000

    Install patch files to proper path

    Patches are being installed to incorrect hardcoded path.
    Change the path to be dependent on the version of python in the RPM
    spec.

    Change-Id: Ieb967f95318e19e616fd96459c3bfb28cbb8730c
    Closes-bug: 1557734

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-octane (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/293478

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-octane (stable/8.0)

Reviewed: https://review.openstack.org/293478
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=22f154e8a462373c55233947c345fe2eb66832ee
Submitter: Jenkins
Branch: stable/8.0

commit 22f154e8a462373c55233947c345fe2eb66832ee
Author: Oleg Gelbukh <email address hidden>
Date: Tue Mar 15 19:28:08 2016 +0000

    Install patch files to proper path

    Patches are being installed to incorrect hardcoded path.
    Change the path to be dependent on the version of python in the RPM
    spec.

    Change-Id: Ieb967f95318e19e616fd96459c3bfb28cbb8730c
    Closes-bug: 1557734
    (cherry picked from commit fd880d34eb9a2994e8de56623818f59adc0ab027)

tags: added: dev-to-verify
tags: removed: dev-to-verify
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.