Stack update fails on RHEL if nodes are unsubscribed to Ceph OSD RHN channel

Bug #1713292 reported by Giulio Fidente
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alan Bishop

Bug Description

On RHEL the Ceph packages are distributed using three different software channels, Ceph MON, Ceph OSD and Ceph Tools.

Yum update fails on nodes not subscribed to the Ceph OSD channel because puppet-ceph enforce update of ceph-base, ceph-mon and ceph-osd packages.

Changed in tripleo:
milestone: none → pike-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
assignee: nobody → Giulio Fidente (gfidente)
status: New → In Progress
Changed in tripleo:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Giulio Fidente (<email address hidden>) on branch: master
Review: https://review.openstack.org/498240
Reason: we'll include this in I7a581518ed25cf5f264abfaabfcf2041363a065b instead which is also needed to fix pre-existing deployments

Changed in tripleo:
assignee: Giulio Fidente (gfidente) → Alan Bishop (alan-bishop)
Changed in tripleo:
milestone: pike-rc2 → queens-1
Changed in tripleo:
assignee: Alan Bishop (alan-bishop) → Emilien Macchi (emilienm)
Revision history for this message
Giulio Fidente (gfidente) wrote :

I think this has been fixed in https://review.openstack.org/#/c/496921/ but needs to be backported

Changed in tripleo:
assignee: Emilien Macchi (emilienm) → Alan Bishop (alan-bishop)
tags: added: pike-backport-potential
tags: added: newton-backport-potential ocata-backport-potential
Changed in tripleo:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/496921
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=5a89ea21f2add98119a10464b020a98999d31c41
Submitter: Jenkins
Branch: master

commit 5a89ea21f2add98119a10464b020a98999d31c41
Author: Alan Bishop <email address hidden>
Date: Wed Aug 30 09:26:16 2017 -0400

    Maintain ceph-osd package only on nodes hosting CephOSD service

    The ceph-osd package is only required on nodes hosting the CephOSD
    service, but the package's presence on other nodes may interfere with
    software updates. That's because some distros distribute Ceph software
    in different channels, and not all nodes have access to the ceph-osd
    channel.

    There are two parts to the fix, and the first is an enhancement to the
    yum update process. The process detects when the ceph-osd package is not
    required, and removes the package from the node.

    The second part takes ceph-osd out of the default list of packages
    needed by puppet-ceph. The ceph-osd package is listed only on the nodes
    hosting the CephOSD service.

    Closes-Bug: #1713292
    Change-Id: I7a581518ed25cf5f264abfaabfcf2041363a065b

Changed in tripleo:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/501557

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/pike)

Reviewed: https://review.openstack.org/501557
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=e6682e5b66d165a930e5a4a76e88289d7a1ce5e2
Submitter: Jenkins
Branch: stable/pike

commit e6682e5b66d165a930e5a4a76e88289d7a1ce5e2
Author: Alan Bishop <email address hidden>
Date: Wed Aug 30 09:26:16 2017 -0400

    Maintain ceph-osd package only on nodes hosting CephOSD service

    The ceph-osd package is only required on nodes hosting the CephOSD
    service, but the package's presence on other nodes may interfere with
    software updates. That's because some distros distribute Ceph software
    in different channels, and not all nodes have access to the ceph-osd
    channel.

    There are two parts to the fix, and the first is an enhancement to the
    yum update process. The process detects when the ceph-osd package is not
    required, and removes the package from the node.

    The second part takes ceph-osd out of the default list of packages
    needed by puppet-ceph. The ceph-osd package is listed only on the nodes
    hosting the CephOSD service.

    Closes-Bug: #1713292
    Change-Id: I7a581518ed25cf5f264abfaabfcf2041363a065b
    (cherry picked from commit 5a89ea21f2add98119a10464b020a98999d31c41)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.0.0rc2

This issue was fixed in the openstack/tripleo-heat-templates 7.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0b1 development milestone.

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.