neutron-rally-task fails in rally_openstack.task.scenarios.neutron.trunk.CreateAndListTrunks

Bug #1870110 reported by Bence Romsics
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Bence Romsics
Tags: gate-failure
description: updated
Revision history for this message
Bence Romsics (bence-romsics) wrote :

We recently merged this trunk-related change so it's a candidate for investigation: https://review.opendev.org/477286

Revision history for this message
Bence Romsics (bence-romsics) wrote :

The linked change does mass updates on all subports of a trunk:

            for subport in subports:
                core_plugin.update_port(context, subport.port_id,
                                        {'port': {'device_id': device_id}})

So I would not be suprised to see huge performance effects and timeouts because of that.

Revision history for this message
Lajos Katona (lajos-katona) wrote :

As I see the rally task execution time increased significantly:
27. 03. before the merge: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_3a5/713290/2/check/neutron-rally-task/3a5c100/results/report.html#/NeutronTrunks.create_and_list_trunks Load duration: 227.115 s Full duration: 408.386 s
this means ~32sec / iteration from html report

01. 04. after the merge:
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_cea/702247/7/check/neutron-rally-task/cea4f53/results/report.html#/NeutronTrunks.create_and_list_trunks
Load duration: 343.507 s Full duration: 619.916 s
This means ~155sec / iteration

Revision history for this message
Lajos Katona (lajos-katona) wrote :

The job is not always failing, and that is due to that we are just hitting the ceiling sometimes

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

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

Changed in neutron:
assignee: nobody → Bence Romsics (bence-romsics)
status: New → In Progress
Changed in neutron:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/716562
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a90654ae5a8f4cc8588f0f595af091f8cd986441
Submitter: Zuul
Branch: master

commit a90654ae5a8f4cc8588f0f595af091f8cd986441
Author: Bence Romsics <email address hidden>
Date: Wed Apr 1 13:30:10 2020 +0200

    Revert "Subcribe trunk & subport events to set subport id"

    This reverts commit 8ebc635a18fd23fd6595551a703961a4d4392948.

    The reverted commit does mass update on all subports of a trunk.
    This is not in line with the original design since it causes huge
    api-side performance effects.

    I think that's the reason why we started seeing gate failures of
    rally_openstack.task.scenarios.neutron.trunk.CreateAndListTrunks
    in neutron-rally-task.

    Change-Id: I6f0fd91c62985207af8dbf29aae463b2b478d5d2
    Closes-Bug: #1870110
    Related-Bug: #1700428

Changed in neutron:
status: In Progress → Fix Released
tags: added: neutron-proactive-backport-potential
tags: removed: neutron-proactive-backport-potential
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.