GET /servers/details is not always returning the correct number of servers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Low
|
Arnaud Morin |
Bug Description
Context
=======
Nova 2024.2 (but master seems affected)
For an unknown reason (yet), we had leftovers in our nova_api/
MariaDB [nova_api]> select instance_uuid from build_requests;
+------
| instance_uuid |
+------
| 261bce67-
... (maybe some others)
+------
The thing is that this instance does exists on the infra:
$ openstack server show 261bce67-
+------
| Field | Value |
+------
| id | 261bce67-
| status | ACTIVE |
+------
Issue
=====
Because it's in both build_requests and one of the nova cell, it's then filtered by def _get_unique_
$ curl -H "X-Auth-Token: $T" "http://
6
AND the marker for next page is missing (servers_links).
The servers_links is missing because def _get_collection
[1] https:/
[2] https:/
[3] https:/
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
assignee: | nobody → Arnaud Morin (arnaud-morin) |
fix ongoing https:/ /review. opendev. org/c/openstack /nova/+ /947804