number_list and range_list filters are throwing warnings

Bug #1896252 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Alex Schultz

Bug Description

Looks like these filters are throwing warnings during validations of the undercloud install.

2020-09-18 15:40:37.355271 | fa163e04-6f5d-1599-88a7-000000000016 | TIMING | Gathering Facts | 0:00:02.073839 | 2.06s
2020-09-18 15:40:37.389849 | fa163e04-6f5d-1599-88a7-00000000000b | TIMING | undercloud_disk_space : Set a constant defining number of Bytes in 1 GB | 0:00:02.108420 | 0.03s
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/number_list.py)
as it seems to be invalid: No module named 'tripleo_ansible'
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/range_list.py) as
it seems to be invalid: No module named 'tripleo_ansible'
2020-09-18 15:40:38.939408 | fa163e04-6f5d-1599-88a7-00000000000c | TIMING | undercloud_disk_space : Stat volume directories | 0:00:03.657979 | 1.55s
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/number_list.py)
as it seems to be invalid: No module named 'tripleo_ansible'
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/range_list.py) as
it seems to be invalid: No module named 'tripleo_ansible'
2020-09-18 15:40:39.052543 | fa163e04-6f5d-1599-88a7-00000000000d | TIMING | undercloud_disk_space : Initialize existing_volumes to an empty array | 0:00:03.771113 | 0.10s
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/number_list.py)
as it seems to be invalid: No module named 'tripleo_ansible'
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/range_list.py) as
it seems to be invalid: No module named 'tripleo_ansible'
2020-09-18 15:40:39.238190 | fa163e04-6f5d-1599-88a7-00000000000e | TIMING | undercloud_disk_space : Filter out non-existing volumes | 0:00:03.956762 | 0.18s
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/number_list.py)
as it seems to be invalid: No module named 'tripleo_ansible'
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/range_list.py) as
it seems to be invalid: No module named 'tripleo_ansible'
2020-09-18 15:40:40.426321 | fa163e04-6f5d-1599-88a7-000000000010 | TIMING | undercloud_disk_space : Loop on volumes and gather available space | 0:00:05.144890 | 1.19s
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/number_list.py)
as it seems to be invalid: No module named 'tripleo_ansible'
[WARNING]: Skipping plugin (/usr/share/ansible/plugins/filter/range_list.py) as
it seems to be invalid: No module named 'tripleo_ansible'

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

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/753109
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=30406bf91f319ebe5ad01b272be3b97df53fba9b
Submitter: Zuul
Branch: master

commit 30406bf91f319ebe5ad01b272be3b97df53fba9b
Author: Alex Schultz <email address hidden>
Date: Mon Sep 21 14:39:33 2020 -0600

    Stop using custom exception for filter

    The loading of the module doesn't work and since we don't actually do
    anything with the exception, let's just use a generic exception instead.

    Change-Id: Ibe2b3a37d06ed5f740c9b9cf7d056a320f18dfa0
    Closes-Bug: #1896252

Changed in tripleo:
status: In Progress → Fix Released
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.