integ/ceph/python-cephclient
Daniel Badea 72c3fa95b0 python-cephclient: delete finished requests
ceph-mgr REST API supports synchronous and asynchronous requests.
In asynchronous mode clients can run multiple requests in parallel
then poll to get status of finished requests.

ceph-mgr restful plugin keeps a list of requests that were initiated
by the client and forwarded towards ceph-mgr. It expects the client
to delete finished requests after retrieving current status.

python-cephclient is making synchronous requests (using POST to
"/request?wait=1") but the server is converting them asynchronus
then polls for status on its side. So after getting a response back
the client is still expected to DELETE "/request?id=..."

Currently it's not doing that and ceph-mgr restful plugin is
accumulating a list of all requests ever made by python-cephclient

Change-Id: If8d5c8b27135fde45116e05bb04b655d9574c5ca
Closes-Bug: 1828549
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
2019-05-10 12:18:47 +00:00
..
centos python-cephclient: rewrite to use ceph-mgr restful plugin 2019-04-26 08:51:19 +00:00
python-cephclient python-cephclient: delete finished requests 2019-05-10 12:18:47 +00:00