It should be possible to override the URL used in previous/next links

Bug #1483873 reported by Matt Dietz
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Undecided
Unassigned

Bug Description

The code for fetching the pagination links is hard coded to use WebOb's Request path_url property. In setups where a proxy is used to forward requests to neutron nodes, the href shown to the requesting tenant doesn't match the one he/she made the request against.

https://github.com/openstack/neutron/blob/master/neutron/api/api_common.py#L56-L73

Ideally, one should be able to define a configuration variable that's used in place of the request.path_url if defined

Changed in neutron:
assignee: nobody → alexander medvedev (xroot)
Changed in neutron:
status: New → Confirmed
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/289654

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by alexander medvedev (<email address hidden>) on branch: master
Review: https://review.openstack.org/289654
Reason: Abandoning this patch as the pagination URL problem can be solved with middleware in the config files.

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

This bug is > 180 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Changed in neutron:
assignee: alexander medvedev (xroot) → nobody
status: In Progress → Incomplete
Changed in neutron:
status: Incomplete → Won't Fix
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.