From 09b903ed5e3306cf200328f41ce6df371923d03d Mon Sep 17 00:00:00 2001 From: Mark Washenberger Date: Wed, 19 Sep 2012 18:41:03 +0000 Subject: Fix marker pagination for /servers Fixes bug 1053028. Recent changes to pagination required passing in full sqlalchemy objects into paginate_query. However, calls to paginate_query were passing in strings. Change-Id: Ib1396a78a12aef1a9cdc31f3624af30f19da44b5 --- nova/exception.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nova/exception.py') diff --git a/nova/exception.py b/nova/exception.py index c9f339e6c..4de43c366 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -1067,6 +1067,10 @@ class InstanceNotFound(NotFound): message = _("Instance %(instance_id)s could not be found.") +class MarkerNotFound(NotFound): + message = _("Marker %(marker)s could not be found.") + + class InvalidInstanceIDMalformed(Invalid): message = _("Invalid id: %(val)s (expecting \"i-...\").") -- cgit