neutron devstack plugin enables q-trunk depending on rally

Bug #1643451 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
YAMAMOTO Takashi

Bug Description

it enables q-trunk if rally devstack plugin is enabled.

i wanted to use neutron devstack plugin to configure qos plugin. [1]
i was surprised that it enables q-trunk.

[1] https://github.com/openstack/networking-midonet/blob/691f8490317f36ec2c629c9a397c09eebf7638bd/devstack/README.rst#qos

Revision history for this message
Victor Morales (electrocucaracha) wrote :

Hi Yamamoto,

Could you include the local.conf for this bug? I'm trying to reproduce this in my environment. Is this behavior only present using midonet?

Changed in neutron:
status: New → Incomplete
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

Victor,

it isn't midonet specific. just "enable_plugin" neutron and rally, and see q-trunk is enabled.

my local.conf has too many midonet-specific development-only things.
i can provide it but i guess it isn't so useful.

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

i provided a feedback

Changed in neutron:
status: Incomplete → New
Revision history for this message
Kevin Benton (kevinbenton) wrote :

That's because we have rally scenarios that exercise the trunk plugin. https://github.com/openstack/neutron/blob/master/rally-jobs/neutron-neutron.yaml#L308

What would you like to change?

Changed in neutron:
status: New → Incomplete
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

Kevin,

i want to make it not to enable q-trunk silently.
rally job can enable it explicitly instead.

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

feedback provided

Changed in neutron:
status: Incomplete → New
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in neutron:
assignee: nobody → Satyanarayana Patibandla (satya-patibandla)
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

Satyanarayana,

i submitted project-config change.
but please feel free to take this over if you want to work on this.

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

I guess I did not account for the fact that other projects may still want to enable neutron plugin but hand pick what extension to load. It should be possible to switch the extension back off, but at least keep this in our control and I personally disagree with the project-config change.

Changed in neutron:
status: New → Confirmed
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

Satyanarayana: if you like I can fix this for you, since I was the one who created the mishap in the first place :)

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

Fix proposed to branch: master
Review: https://review.openstack.org/411291

Changed in neutron:
assignee: Satyanarayana Patibandla (satya-patibandla) → YAMAMOTO Takashi (yamamoto)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/411297

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

Satyanarayana,

i submitted a new set of patches.
but feel free to take it back anytime if you want.

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/415422

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

Reviewed: https://review.openstack.org/411291
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8ef0979700afc90634535b6991975ade639324d5
Submitter: Jenkins
Branch: master

commit 8ef0979700afc90634535b6991975ade639324d5
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Dec 15 21:26:53 2016 +0900

    gate_hook: Add a no-op rally case

    This is the first step of the following plan:

        1. make neutron's gate_hook accept "rally" but do nothing.
        2. make project-config change to consume the gate_hook
        3. make the rest of neutron change

    Partial-Bug: #1643451
    Change-Id: I0a309272ec46b8477fe57eeb676a5cd850e4d60b

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/newton)

Reviewed: https://review.openstack.org/415422
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=680e1448b853a1c7fe93746b5220fdb03071b2ff
Submitter: Jenkins
Branch: stable/newton

commit 680e1448b853a1c7fe93746b5220fdb03071b2ff
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Dec 15 21:26:53 2016 +0900

    gate_hook: Add a no-op rally case

    This is the first step of the following plan:

        1. make neutron's gate_hook accept "rally" but do nothing.
        2. make project-config change to consume the gate_hook
        3. make the rest of neutron change

    Partial-Bug: #1643451

    (cherry picked from commit 8ef0979700afc90634535b6991975ade639324d5)
    Change-Id: I0a309272ec46b8477fe57eeb676a5cd850e4d60b

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/417524

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/mitaka)

Reviewed: https://review.openstack.org/417524
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=962de7f5bd8d2a59c153fc198f13f112f5464551
Submitter: Jenkins
Branch: stable/mitaka

commit 962de7f5bd8d2a59c153fc198f13f112f5464551
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Dec 15 21:26:53 2016 +0900

    gate_hook: Add a no-op rally case

    This is the first step of the following plan:

        1. make neutron's gate_hook accept "rally" but do nothing.
        2. make project-config change to consume the gate_hook
        3. make the rest of neutron change

    Partial-Bug: #1643451
    (cherry picked from commit 8ef0979700afc90634535b6991975ade639324d5)

    Conflicts:
     neutron/tests/contrib/gate_hook.sh

    Change-Id: I0a309272ec46b8477fe57eeb676a5cd850e4d60b

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/417884

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

Reviewed: https://review.openstack.org/411297
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=b1405cbe1ec77bab5dfa0e810813951b3e0e8aa4
Submitter: Jenkins
Branch: master

commit b1405cbe1ec77bab5dfa0e810813951b3e0e8aa4
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Dec 15 21:42:07 2016 +0900

    Use gate_hook to enable q-trunk for rally.

    Instead of making devstack enable it, because it can have
    undesired effects for other rally-using gate jobs.
    (See Closes-Bug for an example)

    Closes-Bug: #1643451
    Change-Id: Id971432955196a7d5f64c598aeebf1a7bc245321

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/newton)

Reviewed: https://review.openstack.org/417884
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=13af01167180758a25429ec24668ab8b63fe662f
Submitter: Jenkins
Branch: stable/newton

commit 13af01167180758a25429ec24668ab8b63fe662f
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Dec 15 21:42:07 2016 +0900

    Use gate_hook to enable q-trunk for rally.

    Instead of making devstack enable it, because it can have
    undesired effects for other rally-using gate jobs.
    (See Closes-Bug for an example)

    Closes-Bug: #1643451

    (cherry picked from commit b1405cbe1ec77bab5dfa0e810813951b3e0e8aa4)
    Change-Id: Id971432955196a7d5f64c598aeebf1a7bc245321

tags: added: neutron-proactive-backport-potential
tags: removed: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 10.0.0.0b3

This issue was fixed in the openstack/neutron 10.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 9.2.0

This issue was fixed in the openstack/neutron 9.2.0 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.