linuxbridge scenario job fails with: "AttributeError: 'LinuxbridgeAgentExtensionAPI' object has no attribute 'request_int_br'"

Bug #1743463 reported by Ihar Hrachyshka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Unassigned

Bug Description

log extension is not compatible with linuxbridge agent. We should, short term, avoid configuring it there; and long term, make it compatible with the agent. (It should be doable because the agent uses the same iptables firewall).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/533799

Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

Trace of the error:

2018-01-15 12:34:13.957 | Jan 15 12:32:50 ubuntu-xenial-ovh-bhs1-0001888168 neutron-linuxbridge-agent[20404]: ERROR oslo_service.service File "/opt/stack/new/neutron/neutron/agent/agent_extensions_manager.py", line 54, in initialize
2018-01-15 12:34:13.958 | Jan 15 12:32:50 ubuntu-xenial-ovh-bhs1-0001888168 neutron-linuxbridge-agent[20404]: ERROR oslo_service.service extension.obj.initialize(connection, driver_type)
2018-01-15 12:34:13.958 | Jan 15 12:32:50 ubuntu-xenial-ovh-bhs1-0001888168 neutron-linuxbridge-agent[20404]: ERROR oslo_service.service File "/opt/stack/new/neutron/neutron/services/logapi/agent/log_extension.py", line 89, in initialize
2018-01-15 12:34:13.958 | Jan 15 12:32:50 ubuntu-xenial-ovh-bhs1-0001888168 neutron-linuxbridge-agent[20404]: ERROR oslo_service.service int_br = self.agent_api.request_int_br()
2018-01-15 12:34:13.958 | Jan 15 12:32:50 ubuntu-xenial-ovh-bhs1-0001888168 neutron-linuxbridge-agent[20404]: ERROR oslo_service.service AttributeError: 'LinuxbridgeAgentExtensionAPI' object has no attribute 'request_int_br'

http://logs.openstack.org/84/531684/4/check/neutron-tempest-plugin-scenario-linuxbridge/aebe7eb/logs/devstacklog.txt.gz#_2018-01-15_12_34_13_957

Changed in neutron:
status: New → In Progress
importance: Undecided → High
status: In Progress → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.openstack.org/533799
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=602437216f56b3a27addaec11c14002e7e3a8443
Submitter: Zuul
Branch: master

commit 602437216f56b3a27addaec11c14002e7e3a8443
Author: Ihar Hrachyshka <email address hidden>
Date: Mon Jan 15 13:11:50 2018 -0800

    Configure log extension for ovs scenario job only

    Current implementation of the agent l2 extension is not compatible with
    linuxbridge. More work should happen before it's possible to enable it
    back.

    Change-Id: I2db1ffea4c172a9461b22c46e99f0abbb4fc1d85
    Related-Bug: #1743463

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/535330

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.openstack.org/535330
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4db37df648adeb425d6dcc21138dae74e8558e5a
Submitter: Zuul
Branch: master

commit 4db37df648adeb425d6dcc21138dae74e8558e5a
Author: Jakub Libosvar <email address hidden>
Date: Thu Jan 18 13:49:51 2018 +0000

    log-api: Don't enable logging for linuxbridge

    We still run API tests agains logging API and the job has OVS enabled.
    As all linuxbridge flavors contain same string, this patch changes when
    logging service plugin is configured which is always but in linuxbridge
    scenario job.

    Change-Id: I66234f45ee74c070119d84830790df296ba8d5f7
    Related-bug: #1743463

tags: added: neutron-proactive-backport-potential
tags: added: neutron-easy-proactive-backport-potential
Changed in neutron:
status: Confirmed → 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.