Project

Profile

Help

Story #2028

View the state ("active", "inactive", etc.) of various pulp processes via the status API

Added by dalley over 5 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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": "",
"_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": "",
"_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"
},
...
]

History

#1 Updated by bmbouter almost 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter almost 3 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.

#3 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

#4 Updated by bmbouter over 1 year ago

  • Category deleted (14)

We are removing the 'API' category per open floor discussion June 16, 2020.

Also available in: Atom PDF