Bug #4248
Reverse image listing is not an exact reverse listing
Status: | New | Start date: | 09/02/2013 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | Christos Stavrakakis | % Done: | 0% |
|
Category: | Plankton | Spent time: | - | |
Target version: | - |
Description
The reverse order of image listing is not as expected.
To reproduce this problem, compare the results of the following requests:
GET https://cyclades.okeanos.grnet.gr/image/v1.0/images/?sort_dir=asc GET https://cyclades.okeanos.grnet.gr/image/v1.0/images/?sort_dir=desc
or with kamaki on bash:
$ kamaki image list ... $ kamaki image list --order=- ...
We expect the results of the desceding order to be the reverse of the asceding, but thsis is not always the case.
Here is a part of the ascending listing for demo.synnefo.org at the time this ticket was being created:
895242b9-af8a-48c5-8218-60e1fb2e985b Debian Base aad7480a-60d2-41da-a12d-f2cad5cb239a Debian Desktop b095f23b-dc85-4123-a9c9-62ad5300e6f2 Ubuntu Desktop LTS (Long Term Support) 03c936fe-8d0e-47e1-90c1-2010183a9fe1 Ubuntu Desktop 3ba21cbc-8570-4e51-ae1c-7b914a5540a4 Kubuntu 5195b8e6-d392-4b52-8129-85a30e1d9120 Fedora 6dc9b3ca-50ce-4732-8100-5ee6e02406a1 Kubuntu LTS (Long Term Support)
and here a part of the descending listing at the same time:
5195b8e6-d392-4b52-8129-85a30e1d9120 Fedora 6dc9b3ca-50ce-4732-8100-5ee6e02406a1 Kubuntu LTS (Long Term Support) 3ba21cbc-8570-4e51-ae1c-7b914a5540a4 Kubuntu b095f23b-dc85-4123-a9c9-62ad5300e6f2 Ubuntu Desktop LTS (Long Term Support) 03c936fe-8d0e-47e1-90c1-2010183a9fe1 Ubuntu Desktop aad7480a-60d2-41da-a12d-f2cad5cb239a Debian Desktop 895242b9-af8a-48c5-8218-60e1fb2e985b Debian Base