Story #2028
closedView the state ("active", "inactive", etc.) of various pulp processes via the status API
0%
Description
It would be useful to have an "active" or "status" field for certain types of workers returned through the status API. This would enable easy visual discrimination between an active and inactive celerybeat process or resource manager, as several may be running while only one actively participates
Only pulp_resource_manager and pulp_celerybeat should have this field. There is no concept of "active" or "inactive" for pulp_worker processes.
Current API response¶
"known_workers": [
... {
"_id": "resource_manager@dalley-pulp-ha-testing1.os1.phx2.redhat.com",
"_ns": "workers",
"last_heartbeat": "2016-06-20T15:18:06Z"
}, {
"_id": "reserved_resource_worker-0@dev",
"_ns": "workers",
"last_heartbeat": "2016-06-21T18:58:18Z"
},
...
]
Desired API response¶
"known_workers": [
... {
"_id": "resource_manager@dalley-pulp-ha-testing1.os1.phx2.redhat.com",
"_ns": "workers",
"last_heartbeat": "2016-06-20T15:18:06Z",
"status": "inactive"
}, {
"_id": "reserved_resource_worker-0@dev",
"_ns": "workers",
"last_heartbeat": "2016-06-21T18:58:18Z"
},
...
]
Updated by bmbouter almost 4 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter almost 4 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.
Updated by bmbouter almost 3 years ago
- Category deleted (
14)
We are removing the 'API' category per open floor discussion June 16, 2020.