[octane] OSD upgrade should take care about package preferences

Bug #1585204 reported by Roman Sokolkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Sergey Abramov

Bug Description

While upgrading Ceph OSDs from 6.1 to 8.0, i've found that OLD packages have preference over NEW ones.

Workaround: http://paste.openstack.org/show/498607/

Steps to reproduce:
1) Upgrade 6.1 environment to 8.0 (all except ceph)
2) octane --debug -v upgrade-osd --admin-password admin 1

Actual result:
ceph-deploy fails

Expected result:
Command will succeed

Changed in fuel:
milestone: none → 8.0-updates
assignee: nobody → Fuel Octane (fuel-octane-team)
importance: Undecided → High
status: New → Confirmed
Changed in fuel:
assignee: Fuel Octane (fuel-octane-team) → Sergey Abramov (sabramov)
Ilya Kharin (akscram)
Changed in fuel:
importance: High → Medium
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/350171

Changed in fuel:
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/350171
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=13043d0eb0cf21cc4252cb42e5e4f7532bc05c12
Submitter: Jenkins
Branch: master

commit 13043d0eb0cf21cc4252cb42e5e4f7532bc05c12
Author: Sergey Abramov <email address hidden>
Date: Tue Aug 2 20:17:19 2016 +0300

    Set up repos for ceph upgrade in separate source

    * Set up repos for upgrade ceph on ceph_osd to separate source.
    * add preference file for ceph source on upgrade-osd step with
    highest Pin-Priority
    * add tests

    Change-Id: I1781eb4aa3e66b6e464256ab9b24e39f6a6d0b3d
    Closes-bug: 1585204

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/353938

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

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

commit c1ea3bdc2edbdc5683c277c67521619e7f0198cd
Author: Sergey Abramov <email address hidden>
Date: Tue Aug 2 20:17:19 2016 +0300

    Set up repos for ceph upgrade in separate source

    * Set up repos for upgrade ceph on ceph_osd to separate source.
    * add preference file for ceph source on upgrade-osd step with
    highest Pin-Priority
    * add tests

    Change-Id: I1781eb4aa3e66b6e464256ab9b24e39f6a6d0b3d
    Closes-bug: 1585204
    (cherry picked from commit 13043d0eb0cf21cc4252cb42e5e4f7532bc05c12)

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/357083

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/357109

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-octane (master)

Change abandoned by Yuriy Taraday (<email address hidden>) on branch: master
Review: https://review.openstack.org/357109
Reason: Wrong branch, yeah.

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/357129

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/357135

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-octane (stable/mitaka)

Change abandoned by Yuriy Taraday (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/357129
Reason: I'll preserve Change-Id next time.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Sergey Abramov (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/357083

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-octane (stable/mitaka)
Download full text (9.5 KiB)

Reviewed: https://review.openstack.org/357135
Committed: https://git.openstack.org/cgit/openstack/fuel-octane/commit/?id=34753632922d252dd47115cd6ad1460d3f987b11
Submitter: Jenkins
Branch: stable/mitaka

commit 90af105bdb1d292802f840ef68a556b7d0a202d7
Author: Pavel Chechetin <email address hidden>
Date: Wed Aug 17 17:24:56 2016 +0300

    Automated configuration of rsyncd

    Automated configuration (using custom graph feature) is added.
    rsyncd.conf is configurated using Augeas resource in Puppet as
    an elegent solution which doesn't interfere with existing
    configuration by Fuel bootstrap.

    It adds two Rsync section: octane_code, octane_data.

    RPM spec is also updated to incorporate octane_tasks Puppet module
    into Octane package and set Rsync up.

    Untapped controller group is deleted from upgrade-db-orig graph.

    Change-Id: Ia8ea7214b0b93f414d1de9b07a48e1602c0d2ae3

commit 1596f3732de97e239bbb997b07e3171fcd1fb6cb
Author: Nikita Zubkov <email address hidden>
Date: Mon Jul 25 20:00:43 2016 +0300

    Replace SQL SELECTs with API calls

    This allow us not to rely on objects internal database representation

    Change-Id: I10b1704835e4a3742638bc682eae18939ebca38c

commit 9c44fad4f4037b65d8447c64794ccb625a4e9e80
Author: Anastasiya <email address hidden>
Date: Wed Jul 27 16:05:27 2016 +0300

    Add processing for different output to clone_env function

    because fuelclient may have different output on different servers
    (dictionary or array)

    Change-Id: I662781e324b44094f86c875aaee5474eab8ac53e
    Closes-bug: 1603951

commit a8ab40b0f0f22f7419a19f0af3e8167b3da924a2
Author: Ilya Kharin <email address hidden>
Date: Tue Aug 16 11:48:28 2016 +0300

    Use ubuntu_bootstrap for old systems

    The bootstrap profile is no more used on the 9.0 Fuel Master node and
    for Cobbler systems that were created in 7.0 the profile attribute
    should be renamed to the default bootstrap profile

    Change-Id: I562506f2d457ba60df66afb0bc1ecc4bc30fd38d
    Closes-Bug: #1602583

commit e235f4012d51b49efba99a86bda21cd2a0b4560a
Author: Ilya Kharin <email address hidden>
Date: Tue Aug 16 11:35:59 2016 +0300

    Use load_yaml to get the astute content

    Change-Id: Ib2b04ee06b6fbcc72b76f6a759d950f20b5df469

commit 21aeddd74ea4b9f619800e3b6c3e24297bfc9c4f
Author: Roman Sokolkov <email address hidden>
Date: Thu Aug 11 16:22:18 2016 +0300

    Graph-based upgrade approach. Change to upgrade_db.

    Part 2. Change implements upgrade-db with Fuel graphs.

      - Added new function "upgrade_db_with_graph".
      - Added new "deployment" module to utils

    Co-Authored-By: Ilya Kharin <email address hidden>
    Change-Id: I5d3378824be8f41602cb056553e28dfdab3bf28a

commit 7af9395953d5758f52497b4e847171449117d8c9
Author: Andreas Jaeger <email address hidden>
Date: Fri Aug 12 20:53:27 2016 +0200

    Move other-requirements.txt to bindep.txt

    The default filename for documenting binary dependencies has been
    changed from "other-requirements.txt" to "bindep.txt" with the release
    of bindep 2.1.0. While the previous name is still supported, it wi...

Read more...

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-octane ocata-eol

This issue was fixed in the openstack/fuel-octane ocata-eol release.

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.