glance/glance/registry/api/v2/__init__.py never get loaded so POST /rpc does not get connected to the mapper
self.mapper FROM middleware.py
Route name Methods Path /
GET /images
POST /images
GET /images/detail
GET /images/{id}
PUT /images/{id}
DELETE /images/{id}
GET /images/{image_id}/members
POST /images/{image_id}/members
PUT /images/{image_id}/members
GET /images/{image_id}/members/{id}
PUT /images/{image_id}/members/{id}
DELETE /images/{image_id}/members/{id} /shared-images/{id}
Testing with /rpc added to v1 __init__.py with needed imports:
self.mapper FROM middleware.py
Route name Methods Path /
GET /images
POST /images
GET /images/detail
GET /images/{id}
PUT /images/{id}
DELETE /images/{id}
GET /images/{image_id}/members
POST /images/{image_id}/members
PUT /images/{image_id}/members
GET /images/{image_id}/members/{id}
PUT /images/{image_id}/members/{id}
DELETE /images/{image_id}/members/{id} /shared-images/{id}
POST /rpc
glance/ glance/ registry/ api/v2/ __init_ _.py never get loaded so POST /rpc does not get connected to the mapper
self.mapper FROM middleware.py
/ {image_ id}/members {image_ id}/members {image_ id}/members {image_ id}/members/ {id} {image_ id}/members/ {id} {image_ id}/members/ {id}
/shared- images/ {id}
Route name Methods Path
GET /images
POST /images
GET /images/detail
GET /images/{id}
PUT /images/{id}
DELETE /images/{id}
GET /images/
POST /images/
PUT /images/
GET /images/
PUT /images/
DELETE /images/
Testing with /rpc added to v1 __init__.py with needed imports:
/ {image_ id}/members {image_ id}/members {image_ id}/members {image_ id}/members/ {id} {image_ id}/members/ {id} {image_ id}/members/ {id}
/shared- images/ {id}
self.mapper FROM middleware.py
Route name Methods Path
GET /images
POST /images
GET /images/detail
GET /images/{id}
PUT /images/{id}
DELETE /images/{id}
GET /images/
POST /images/
PUT /images/
GET /images/
PUT /images/
DELETE /images/
POST /rpc
and the api finally returns wanted results.