Vitrage APIs do not return tenant entities

Bug #1707589 reported by Idan Hefetz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vitrage
Fix Released
Critical
Ifat Afek
Pike
Fix Released
Critical
Ifat Afek

Bug Description

After a new devstack installation with 2 vms created by admin tenant, vitrage topology show only contains, nova.host, nova.zone, openstack.cluster.
Same thing happens in the horizon dashboard.

Also, for an unknown reason, after adding --all-tenants i can see the nova.instance items.

Revision history for this message
Ifat Afek (ifat-afek) wrote :

Same goes for Cinder and Neutron entities. There is a problem with the admin permissions/filtering.

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

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

Changed in vitrage:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Ifat Afek (ifat-afek)
summary: - Vitrage topology does contain admin project instances
+ Vitrage APIs do not return tenant entities
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to vitrage (stable/pike)

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

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

Reviewed: https://review.openstack.org/493930
Committed: https://git.openstack.org/cgit/openstack/vitrage/commit/?id=99cc705c1bf49e2cf06e3c01a8efafad577af31e
Submitter: Jenkins
Branch: master

commit 99cc705c1bf49e2cf06e3c01a8efafad577af31e
Author: Ifat Afek <email address hidden>
Date: Tue Aug 15 15:28:02 2017 +0000

    Fix a bug in the profiler serializer.

    The profiler serializer, which is used if the osprofiler is installed,
    was initialized with None and therefore did not serialize the context.
    As a result, the context did not reach the api handler layer and was
    ignored.

    The solution: if the serializer is None, return the un-serialized
    context as is.

    Change-Id: I2317cff4014db2b4e437b2e9428bd936518d7ba8
    Closes-Bug: #1707589

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

Reviewed: https://review.openstack.org/494077
Committed: https://git.openstack.org/cgit/openstack/vitrage/commit/?id=b65e9eb13f346b1c31e798adf19138cff190f0e5
Submitter: Jenkins
Branch: stable/pike

commit b65e9eb13f346b1c31e798adf19138cff190f0e5
Author: Ifat Afek <email address hidden>
Date: Tue Aug 15 15:28:02 2017 +0000

    Fix a bug in the profiler serializer.

    The profiler serializer, which is used if the osprofiler is installed,
    was initialized with None and therefore did not serialize the context.
    As a result, the context did not reach the api handler layer and was
    ignored.

    The solution: if the serializer is None, return the un-serialized
    context as is.

    Change-Id: I6f9b3c3735b10229e5bfd61339632730d2d812d1
    Closes-Bug: #1707589

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/vitrage 1.8.1

This issue was fixed in the openstack/vitrage 1.8.1 release.

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

This issue was fixed in the openstack/vitrage 2.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on vitrage (master)

Change abandoned by Ifat Afek (<email address hidden>) on branch: master
Review: https://review.openstack.org/493926
Reason: The test moved to the vitrage-tempest-plugin repo, here: https://review.openstack.org/#/c/576159/

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.