Project

Profile

Help

Issue #2340

closed

`pulp-admin status` tells the health of the wrong AMQP message bus

Added by Ichimonji10 over 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
High
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Currently, pulp-admin status prints a message like this:

[root@localhost ~]# pulp-admin status
+----------------------------------------------------------------------+
                          Status of the server
+----------------------------------------------------------------------+

Api Version:           2
Database Connection:
  Connected: True
Known Workers:
  _id:            scheduler@localhost.localdomain
  _ns:            workers
  Last Heartbeat: 2016-10-14T20:10:22Z
  _id:            resource_manager@localhost.localdomain
  _ns:            workers
  Last Heartbeat: 2016-10-14T20:10:23Z
  _id:            reserved_resource_worker-1@localhost.localdomain
  _ns:            workers
  Last Heartbeat: 2016-10-14T20:10:23Z
  _id:            reserved_resource_worker-0@localhost.localdomain
  _ns:            workers
  Last Heartbeat: 2016-10-14T20:10:24Z
Messaging Connection:
  Connected: True
Versions:
  Platform Version: 2.10.1a1

The "Messaging Connection" section tells whether the consumer message bus is connected, and it corresponds to the [messaging] section in /etc/pulp/server.conf. However, Pulp doesn't have just one AMQP message bus. It has two: one for consumers, and one for Pulp's own task system. It seems strange that pulp-admin status tells the health of the optional consumer messaging bus and not the mandatory task message bus.

As a user, I expect pulp-admin status to tell me the status of Pulp's most critical components. It doesn't do so. I would suggest that:

  • pulp-admin status tell whether or not the tasking message bus is connected. (This corresponds to the [tasks] section in /etc/pulp/server.conf.)
  • The docs should clearly explain the semantics of the "Messaging Connection" field.

Currently:

  • pulp-admin status tells whether or not the consumer message bus is connected. (This corresponds to the [messaging] section in /etc/pulp/server.conf.)
  • The docs don't explain the semantics of the "Messaging Connection" field.

Note that much consumer-related functionality is being dropped in Pulp 3, anyway.

Actions #1

Updated by amacdona@redhat.com over 7 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by semyers over 7 years ago

  • Priority changed from Normal to High

https://pulpadmin.fedorapeople.org/triage/pulp-dev/2016/pulp-dev.2016-10-18-14.29.log.html#l-153

14:50:47 <pulpbot> Current proposal accepted: Priority: High, Severity: Medium
Actions #3

Updated by bmbouter almost 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #4

Updated by bmbouter almost 5 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.

Actions #5

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF