project_id is not present on all resources

Bug #1630748 reported by Armando Migliaccio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Dariusz Smigiel

Bug Description

It looks like project_id is not applied seamlessly to all enabled API Resources. For instance, I can't see it for trunks in [1] or qos policies [2]. This happens from Newton on.

[1] http://logs.openstack.org/81/378081/3/check/gate-neutron-dsvm-api-ubuntu-trusty/d7beee8/logs/tempest.txt.gz#_2016-09-29_22_05_55_710
[2] http://logs.openstack.org/81/378081/3/check/gate-neutron-dsvm-api-ubuntu-trusty/d7beee8/logs/tempest.txt.gz#_2016-09-29_22_04_31_068

Changed in neutron:
importance: Undecided → High
status: New → Confirmed
milestone: none → ocata-1
tags: added: newton-backport-potential
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/382659

Changed in neutron:
assignee: nobody → Henry Gessau (gessau)
status: Confirmed → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

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

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

commit abc31a7ff249fab37f6ac6fb29e44d8b35f73f74
Author: Henry Gessau <email address hidden>
Date: Sun Oct 9 19:56:09 2016 -0400

    Extend project_id in object dicts (Newton only)

    This is a work-around for bug 1630748 that can be backported to
    stable/newton. This workaround will be reverted in Ocata and replaced
    by a proper fix.

    Partial-Bug: #1630748

    Change-Id: I4ec9340094bc51cd8aa6e5112bf8114aa26c2982

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

Reviewed: https://review.openstack.org/385234
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7c4563676a41194ad2f1dced91384bfcdd418a17
Submitter: Jenkins
Branch: stable/newton

commit 7c4563676a41194ad2f1dced91384bfcdd418a17
Author: Henry Gessau <email address hidden>
Date: Sun Oct 9 19:56:09 2016 -0400

    Extend project_id in object dicts (Newton only)

    This is a work-around for bug 1630748 that can be backported to
    stable/newton. This workaround will be reverted in Ocata and replaced
    by a proper fix.

    Partial-Bug: #1630748

    (cherry picked from commit abc31a7ff249fab37f6ac6fb29e44d8b35f73f74)
    Change-Id: I4ec9340094bc51cd8aa6e5112bf8114aa26c2982

tags: added: in-stable-newton
Changed in neutron:
assignee: Henry Gessau (gessau) → Artur Korzeniewski (artur-korzeniewski)
Changed in neutron:
assignee: Artur Korzeniewski (artur-korzeniewski) → Henry Gessau (gessau)
Changed in neutron:
assignee: Henry Gessau (gessau) → Artur Korzeniewski (artur-korzeniewski)
Changed in neutron:
assignee: Artur Korzeniewski (artur-korzeniewski) → Darek Smigiel (smigiel-dariusz)
Changed in neutron:
milestone: ocata-1 → ocata-2
Changed in neutron:
milestone: ocata-2 → ocata-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 8b048cc2872d243914ddea0210ba2128d979d1d2
Author: Henry Gessau <email address hidden>
Date: Tue Oct 18 11:35:24 2016 +0200

    Use project_id instead of tenant_id in objects

    Objects must use project_id and not tenant_id. The object framework
    ensures that tenant_id is added as an extra field for backward
    compatibility.

    This patch reverts the workaround implemented in change
    I4ec9340094bc51cd8aa6e5112bf8114aa26c2982 and implements a proper fix
    by explicitly updating the objects.

    Co-Authored-By: Artur Korzeniewski <email address hidden>
    Co-Authored-By: Darek Smigiel <email address hidden>

    Closes-Bug: #1630748

    Change-Id: Iab90bcab41655b2e210aea0e7581eb00b94ce5e5

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

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.