Default setting for "list_records_by_skipping_down_cells" causes unexpected results.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Incomplete
|
Undecided
|
Arun Mani |
Bug Description
Problem:
When a query to compute server GET all_tenants is sent we receive a cell timeout and no response is received.
Root Cause:
The default Openstack behaviour with Cells is that when any cell does not respond it is skipped and the API continues to return a success 200 response. In the logs we see "Cell %s is not responding and hence is being omitted from the results" . This behaviour caused empty list of resources to be sent back to the caller. Any caller using this API assumes there are no resources in the cell and proceeds.
Workaround:
The solution here was to change the default configuration of "list_records_
PS: This is observed with the wallaby version of Openstack.
Changed in nova: | |
assignee: | nobody → Arun Mani (arun-mani) |
description: | updated |
Changed in nova: | |
status: | New → Incomplete |
Details from the nova-api log,
2022-10-20 03:25:08.944 2274055 WARNING nova.compute. multi_cell_ list [req-186660d8- 293e-4524- b6de-7662e4700e 42 f3126e1aa6e7942 9606bcbaf5ee60b 97f479cbfb7a0fc 8b69960402e8112 a2c0 5ee7a74d72ad4b1 c9aa30de3a3b2bf 5e - 59147e9e7ea64a9 a8ba59ccf054293 1a 59147e9e7ea64a9 a8ba59ccf054293 1a] Cell 5a761e7e- a5ba-46af- a312-a9bc725991 de is not responding and hence is being omitted from the results compute. wsgi.server [req-186660d8- 293e-4524- b6de-7662e4700e 42 f3126e1aa6e7942 9606bcbaf5ee60b 97f479cbfb7a0fc 8b69960402e8112 a2c0 5ee7a74d72ad4b1 c9aa30de3a3b2bf 5e - 59147e9e7ea64a9 a8ba59ccf054293 1a 59147e9e7ea64a9 a8ba59ccf054293 1a] 192.168. 60.141, 127.0.0. 1 "GET /v2.1/5ee7a74d7 2ad4b1c9aa30de3 a3b2bf5e/ servers? all_tenants= True HTTP/1.1" status: 200 len: 363696 time: 114.1267443
2022-10-20 03:25:10.061 2274055 INFO nova.osapi_