ceph deploy fails "no filter named 'ips_in_ranges'"

Bug #1852136 reported by John Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
John Fulton

Bug Description

config-download's ceph-ansible execution failed with the following:

2019-11-11 19:07:56,707 p=361055 u=root | TASK [ceph-facts : set_fact _monitor_address to monitor_address
_block ipv4] ****
2019-11-11 19:07:56,708 p=361055 u=root | Monday 11 November 2019 19:07:56 +0000 (0:00:00.680) 0:0
0:56.862 *******
2019-11-11 19:07:56,927 p=361055 u=root | fatal: [overcloud-0-controller-0]: FAILED! => {"msg": "template error while templating string: no filter named 'ips_in_ranges'. String: {{ _monitor_addresses | default([]) + [{ 'name': item, 'addr': hostvars[item]['ansible_all_ipv4_addresses'] | ips_in_ranges(hostvars[item]['monitor_address_block'].split(',')) | first }] }}"}

Revision history for this message
John Fulton (jfulton-org) wrote :

This needs to be backported to Train and Stein

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/693749

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
John Fulton (jfulton-org) wrote :

I suspect CI didn't point this out because it's not using network isolation.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/693749
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=64f6d3ba1979e21fdf5392a056c13f313220be3e
Submitter: Zuul
Branch: master

commit 64f6d3ba1979e21fdf5392a056c13f313220be3e
Author: John Fulton <email address hidden>
Date: Mon Nov 11 16:39:23 2019 -0500

    Include ceph-ansible filter_plugins

    As of version 4, ceph-ansible ships it's own filter_plugins [1]
    so we need to include them in the environment when tripleo
    executes ceph-ansible.

    Closes-Bug: #1852136

    [1] https://github.com/ceph/ceph-ansible/commit/5fea830414e7eb4cf6f1d0008834e2c4b205b131

    Change-Id: Ia16edde342b0c86c31c5715a28dbfe370cfb3246

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

Fix proposed to branch: stable/train
Review: https://review.opendev.org/693913

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

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

Reviewed: https://review.opendev.org/693913
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=92ac330cee6a303c57572413ed160136e7d91a9b
Submitter: Zuul
Branch: stable/train

commit 92ac330cee6a303c57572413ed160136e7d91a9b
Author: John Fulton <email address hidden>
Date: Mon Nov 11 16:39:23 2019 -0500

    Include ceph-ansible filter_plugins

    As of version 4, ceph-ansible ships it's own filter_plugins [1]
    so we need to include them in the environment when tripleo
    executes ceph-ansible.

    Closes-Bug: #1852136

    [1] https://github.com/ceph/ceph-ansible/commit/5fea830414e7eb4cf6f1d0008834e2c4b205b131

    Change-Id: Ia16edde342b0c86c31c5715a28dbfe370cfb3246
    (cherry picked from commit 64f6d3ba1979e21fdf5392a056c13f313220be3e)

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

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

commit fc5ca307bda8748c0612508f53dc0c4826af78be
Author: John Fulton <email address hidden>
Date: Tue Nov 12 14:48:14 2019 -0500

    Include ceph-ansible filter_plugins

    As of version 4, ceph-ansible ships it's own filter_plugins [1]
    so we need to include them in the environment when tripleo
    executes ceph-ansible.

    This change is going directly into Stein becauase the relevant
    code was moved from tripleo-heat-templates to tripleo-ansible
    during Train. The same change has already been proposed in Master
    and Train (64f6d3ba1979e21fdf5392a056c13f313220be3e) in tripleo-
    ansible.

    Change-Id: I434273b4fee2719eb6ea9f4392364644446f11e6
    Closes-Bug: #1852136

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

This issue was fixed in the openstack/tripleo-ansible 1.0.0 release.

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 0.4.1

This issue was fixed in the openstack/tripleo-ansible 0.4.1 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.