Metering dashboard. Marker could not be found (havana)

Bug #1260528 reported by Roman Sokolkov
46
This bug affects 11 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Ladislav Smola
Havana
Fix Released
High
Julie Pichon

Bug Description

Hello,

I couldn't reopen this bug https://bugs.launchpad.net/horizon/+bug/1247752 . And decided to create new one.

I use latest havana release(stable/havana branch) code, but also plunged into "Marker could not be found" error in horizon logs.

[Thu Dec 12 22:49:15 2013] [error] Request returned failure status: 400
[Thu Dec 12 22:49:18 2013] [error] REQ: curl -i -X GET http://192.168.0.2:35357/v2.0/tenants?marker=tenant_marker&limit=21 -H "User-Agent: python-keystoneclient" -H "Forwarded: for=10.20.0.1;by=python-keystonece"
[Thu Dec 12 22:49:18 2013] [error] RESP: [400] {'date': 'Thu, 12 Dec 2013 22:49:18 GMT', 'content-type': 'application/json', 'content-length': '88', 'vary': 'X-Auth-Token'}
[Thu Dec 12 22:49:18 2013] [error] RESP BODY: {"error": {"message": "Marker could not be found", "code": 400, "title": "Bad Request"}}

"tenant_marker" value comes from https://github.com/openstack/horizon/blob/stable/havana/openstack_dashboard/dashboards/admin/metering/views.py#L149

description: updated
Revision history for this message
Roman Sokolkov (rsokolkov) wrote :
Changed in horizon:
status: New → Invalid
Revision history for this message
Ujwal Setlur (ujwal-setlur) wrote :

I still see this in the latest devstack. Where is this fixed? Editing openstack_dashboard/dashboards/admin/metering/views.py:149: marker="tenant_marker") and removing the marker resolved this for me.

Revision history for this message
Ladislav Smola (lsmola) wrote :

Now I see this one too, I thought this was resolved ages ago.

Changed in horizon:
assignee: nobody → Ladislav Smola (lsmola)
status: Invalid → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Ladislav Smola (lsmola)
tags: added: havana-backport-potential
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → High
milestone: none → icehouse-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/66004
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=09a2e97a9c031df8b2f2005f4e4c804fb11dd0c4
Submitter: Jenkins
Branch: master

commit 09a2e97a9c031df8b2f2005f4e4c804fb11dd0c4
Author: Ladislav Smola <email address hidden>
Date: Fri Jan 10 17:13:13 2014 +0100

    Wrong marker sent to keystone

    Removed nonsense marker that prevents charts grouped by project
    working. Dropping also pagination for now, there is a UX design
    in progress that would present how pagination should work.

    Fixes bug 1260528

    Change-Id: I3c2c2b2d0c3fcc6947f53a10441f9cd1440ef0fa

Changed in horizon:
status: In Progress → Fix Committed
Julie Pichon (jpichon)
tags: removed: havana-backport-potential
Revision history for this message
Julie Pichon (jpichon) wrote :

The bug is exposed directly in Icehouse thanks to commit ea447939a88 (harmonising the Keystone version fallback).

It's not immediately visible in Havana because prior to that fix, we had a mix of v2 and v3 calls. To reproduce in Havana, one can set the keystone API version to 2.0 in local_settings.py. (The workaround would then be to run with Keystone v3 and explicitly set the version in the local settings...)

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

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/66357

Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/havana)

Reviewed: https://review.openstack.org/66357
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=e92ca0ebbf87cbbe1f7863cfbbc364a97a189275
Submitter: Jenkins
Branch: stable/havana

commit e92ca0ebbf87cbbe1f7863cfbbc364a97a189275
Author: Ladislav Smola <email address hidden>
Date: Fri Jan 10 17:13:13 2014 +0100

    Wrong marker sent to keystone

    Removed nonsense marker that prevents charts grouped by project
    working. Dropping also pagination for now, there is a UX design
    in progress that would present how pagination should work.

    Fixes bug 1260528

    Change-Id: I3c2c2b2d0c3fcc6947f53a10441f9cd1440ef0fa
    (cherry picked from commit 09a2e97a9c031df8b2f2005f4e4c804fb11dd0c4)

Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-2 → 2014.1
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.