queens undercloud passes wrong crush ruleset when deploying pike+jewel

Bug #1776252 reported by John Fulton on 2018-06-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Giulio Fidente

Bug Description

When using Queens undercloud with ceph-ansible 3.1.x to deploy Pike overcloud with Ceph Jewel, the default openstack pool definition is empty which results in the following error on pool creation and overcloud deployment fails because the ceph-ansible run fails.

 "Error ENOENT: specified ruleset replicated_rule doesn't exist"

Compatibility should be added for old versions in THT to address this scenario.

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

Changed in tripleo:
assignee: nobody → Giulio Fidente (gfidente)
status: Triaged → In Progress

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/574341
Reason: The gate is having serious troubles with docker.io, we need to abandon this patch so it leaves the gate and when it's stable again I will restore this patch. Please do not restore or do anything, I'll take care of it as soon as things work again.

Reviewed: https://review.openstack.org/574341
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=dcf558628f62f12829044dbeee56047f485585f0
Submitter: Zuul
Branch: master

commit dcf558628f62f12829044dbeee56047f485585f0
Author: Giulio Fidente <email address hidden>
Date: Mon Jun 11 18:57:02 2018 +0200

    Set Ceph pools rule_name to replicated_rule

    By setting the value of rule_name explicitly, we prevent backward
    incompatibility issues because the default which ceph-ansible uses
    might fit a particular version of Ceph, not all.

    Change-Id: I275c1ca53ea79eea607cbbb58aa21cae6d6be80b
    Closes-Bug: 1776252

Changed in tripleo:
status: In Progress → Fix Released

Reviewed: https://review.openstack.org/575721
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=c3415390b163774668b0e53a0ed0ed3649a3446b
Submitter: Zuul
Branch: stable/queens

commit c3415390b163774668b0e53a0ed0ed3649a3446b
Author: Giulio Fidente <email address hidden>
Date: Mon Jun 11 18:57:02 2018 +0200

    Set Ceph pools rule_name to replicated_rule

    By setting the value of rule_name explicitly, we prevent backward
    incompatibility issues because the default which ceph-ansible uses
    might fit a particular version of Ceph, not all.

    Change-Id: I275c1ca53ea79eea607cbbb58aa21cae6d6be80b
    Closes-Bug: 1776252
    (cherry picked from commit dcf558628f62f12829044dbeee56047f485585f0)

tags: added: in-stable-queens

Reviewed: https://review.openstack.org/575789
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=74b5bda397c8b6f96c79bee518862154d411d536
Submitter: Zuul
Branch: stable/pike

commit 74b5bda397c8b6f96c79bee518862154d411d536
Author: Giulio Fidente <email address hidden>
Date: Mon Jun 11 18:57:02 2018 +0200

    Set Ceph pools rule_name to replicated_rule

    By setting the value of rule_name explicitly, we prevent backward
    incompatibility issues because the default which ceph-ansible uses
    might fit a particular version of Ceph, not all.

    Note that the actual value for rule_name is different in the Pike
    backport, deploying Ceph Jewel, because it needs to be set to
    "replicated_ruleset" and not "replicated_rule" as with Ceph Luminous.

    Change-Id: I275c1ca53ea79eea607cbbb58aa21cae6d6be80b
    Closes-Bug: 1776252
    (cherry picked from commit dcf558628f62f12829044dbeee56047f485585f0)

tags: added: in-stable-pike

This issue was fixed in the openstack/tripleo-heat-templates 8.0.4 release.

This issue was fixed in the openstack/tripleo-heat-templates 7.0.14 release.

This issue was fixed in the openstack/tripleo-heat-templates 9.0.0.0b4 development milestone.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers