AttributeError: 'NoneType' object has no attribute 'get_policies'

Bug #1708131 reported by Itzik Brown
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Tim Rozet

Bug Description

Hi,
I noticed the following trace in Neutron's log:

    2017-08-02 08:54:55.553 114300 ERROR networking_odl.journal.maintenance [req-76d82cd1-b1ef-46cb-b426-faaaf28b9dae - - - - -] Failed during maintenance operation full_sync.: AttributeError: 'NoneType' object has no attribute 'get_policies'
    2017-08-02 08:54:55.553 114300 ERROR networking_odl.journal.maintenance Traceback (most recent call last):
    2017-08-02 08:54:55.553 114300 ERROR networking_odl.journal.maintenance File "/usr/lib/python2.7/site-packages/networking_odl/journal/maintenance.py", line 55, in _execute_op
    2017-08-02 08:54:55.553 114300 ERROR networking_odl.journal.maintenance operation(session=session)
    2017-08-02 08:54:55.553 114300 ERROR networking_odl.journal.maintenance File "/usr/lib/python2.7/site-packages/networking_odl/journal/full_sync.py", line 86, in full_sync
    2017-08-02 08:54:55.553 114300 ERROR networking_odl.journal.maintenance collection_name)
    2017-08-02 08:54:55.553 114300 ERROR networking_odl.journal.maintenance File "/usr/lib/python2.7/site-packages/networking_odl/journal/full_sync.py", line 121, in _sync_resources
    2017-08-02 08:54:55.553 114300 ERROR networking_odl.journal.maintenance obj_getter = getattr(plugin, 'get_%s' % collection_name)
    2017-08-02 08:54:55.553 114300 ERROR networking_odl.journal.maintenance AttributeError: 'NoneType' object has no attribute 'get_policies'
    2017-08-02 08:54:55.553 114300 ERROR networking_odl.journal.maintenance

Version
========
python-networking-odl-11.0.0-0.20170721155128.a047729.el7ost.noarch

Mike Kolesnik (mkolesni)
Changed in networking-odl:
assignee: nobody → Mike Kolesnik (mkolesni)
importance: Undecided → High
Changed in networking-odl:
status: New → In Progress
Itzik Brown (itzikb1)
affects: networking-odl → tripleo
Changed in tripleo:
assignee: Mike Kolesnik (mkolesni) → Itzik Brown (itzikb1)
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/492027

Revision history for this message
Itzik Brown (itzikb1) wrote :

The missing configuration is causing the networking-odl full sync operation to fail.

Changed in tripleo:
status: In Progress → Invalid
Changed in tripleo:
assignee: Itzik Brown (itzikb1) → Emilien Macchi (emilienm)
status: Invalid → In Progress
Changed in tripleo:
assignee: Emilien Macchi (emilienm) → Itzik Brown (itzikb1)
Changed in tripleo:
assignee: Itzik Brown (itzikb1) → Michael Chapman (michaeltchapman)
Changed in tripleo:
assignee: Michael Chapman (michaeltchapman) → Itzik Brown (itzikb1)
Changed in tripleo:
assignee: Itzik Brown (itzikb1) → Tim Rozet (trozet)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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

commit cfd0d185a93ac2922e233e268a32c3574bee37bf
Author: Itzik Brown <email address hidden>
Date: Wed Aug 9 11:00:35 2017 +0300

    Disables QoS with OpenDaylight deployments

    QoS is not fully supported and fails to load correctly with
    networking-odl. Therefore disabling it from Neutron extension drivers
    until we have it fully working.

    Change-Id: I89aa3628c1400305f9659f5c0c99942a7fa7d19e
    Closes-Bug: 1708131

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/pike)

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

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

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

commit 3b6b741f30c0809369b448c78937e9e9a792c64b
Author: Itzik Brown <email address hidden>
Date: Wed Aug 9 11:00:35 2017 +0300

    Disables QoS with OpenDaylight deployments

    QoS is not fully supported and fails to load correctly with
    networking-odl. Therefore disabling it from Neutron extension drivers
    until we have it fully working.

    Change-Id: I89aa3628c1400305f9659f5c0c99942a7fa7d19e
    Closes-Bug: 1708131
    (cherry picked from commit cfd0d185a93ac2922e233e268a32c3574bee37bf)

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

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

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.