Ceph MDS pools creation fails

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

Bug Description

When deploying with ceph-mds, the deployment fails on task: TASK [ceph-mds : create filesystem pools] with:

2019-07-18 18:37:06,240 p=230030 u=root | TASK [ceph-mds : create filesystem pools] **************************************
2019-07-18 18:37:06,241 p=230030 u=root | task path: /usr/share/ceph-ansible/roles/ceph-mds/tasks/create_mds_filesystems.yml:24
2019-07-18 18:37:06,241 p=230030 u=root | Thursday 18 July 2019 18:37:06 +0000 (0:00:00.140) 0:12:44.533 *********
2019-07-18 18:37:06,245 p=230030 u=root | META: noop
2019-07-18 18:37:06,246 p=230030 u=root | META: noop
2019-07-18 18:37:06,332 p=230030 u=root | fatal: [controller-0]: FAILED! =>
  msg: |-
    The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'pg_num'

    The error appears to be in '/usr/share/ceph-ansible/roles/ceph-mds/tasks/create_mds_filesystems.yml': line 24, column 11, but may
    be elsewhere in the file depending on the exact syntax problem.

    The offending line appears to be:

          block:
            - name: create filesystem pools
              ^ here

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.opendev.org/671686

Changed in tripleo:
assignee: nobody → Giulio Fidente (gfidente)
status: Triaged → In Progress
Changed in tripleo:
milestone: train-2 → train-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/671686
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=51624fa82da3daa5b4cdce664648f9d736bbc4ab
Submitter: Zuul
Branch: master

commit 51624fa82da3daa5b4cdce664648f9d736bbc4ab
Author: Giulio Fidente <email address hidden>
Date: Fri Jul 19 10:55:07 2019 +0200

    Updates the cephfs_pools format to match that of openstack_pools

    We did not keep the cephfs_pools format updated as we did with
    openstack_pools; ceph-ansible rc11 has a backward incompat issue
    with the old format.

    Change-Id: Icac13112655cd1d51170829fb0ac897473d30eaf
    Closes-Bug: 1837195

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

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/673569

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

Reviewed: https://review.opendev.org/673569
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=3746b91335397ba9dd6f1e3b305f474b069001fa
Submitter: Zuul
Branch: stable/stein

commit 3746b91335397ba9dd6f1e3b305f474b069001fa
Author: Giulio Fidente <email address hidden>
Date: Fri Jul 19 10:55:07 2019 +0200

    Updates the cephfs_pools format to match that of openstack_pools

    We did not keep the cephfs_pools format updated as we did with
    openstack_pools; ceph-ansible rc11 has a backward incompat issue
    with the old format.

    Change-Id: Icac13112655cd1d51170829fb0ac897473d30eaf
    Closes-Bug: 1837195
    (cherry picked from commit 51624fa82da3daa5b4cdce664648f9d736bbc4ab)

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

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

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

This issue was fixed in the openstack/tripleo-heat-templates 11.2.0 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.