Comment 8 for bug 1451402

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

Yeah the v3 pagination doesn't work at all. I've set list_limit to 2 for testing

crudini --set /etc/keystone/keystone.conf DEFAULT list_limit 2

and now I can't access my data :-)

here is the response, it doesn't contain links to previous and next either, only truncate=true is correct

{"links"=>{"self"=>"http://10.8.99.222:35357/v3/projects", "previous"=>nil, "next"=>nil}, "projects"=>[{"description"=>"Heat stack user project", "links"=>{"self"=>"http://10.8.99.222:35357/v3/projects/1e08f3807b9348078a31b23b2938d38b"}, "enabled"=>true, "id"=>"1e08f3807b9348078a31b23b2938d38b", "parent_id"=>nil, "domain_id"=>"daff4aab54244fa1aaeac4d436ec97b6", "name"=>"6923ecb4505e44a9b614912ce6c7cd5b-a3dd363c-de55-4984-9f30-eec3c5a"}, {"description"=>"Heat stack user project", "links"=>{"self"=>"http://10.8.99.222:35357/v3/projects/2982d2698be14c359e780c6ca975e5e9"}, "enabled"=>true, "id"=>"2982d2698be14c359e780c6ca975e5e9", "parent_id"=>nil, "domain_id"=>"daff4aab54244fa1aaeac4d436ec97b6", "name"=>"6923ecb4505e44a9b614912ce6c7cd5b-fe618d76-8006-44aa-9469-934e370"}], "truncated"=>true}