Project

Profile

Help

Story #1307

closed

As a user, I want to remotely unregister a consmer.

Added by jortel@redhat.com over 8 years ago. Updated almost 5 years 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

The current behavior of invoking the Consumer.unregistered() RMI on the agent when a consumer is deleted using API/pulp-admin is not the correct behavior. Instead, the registration status and associated artifacts (key, certificate) should solely be managed by pulp-consumer and that we discontinue invoking Consumer.unregistered() in the agent when a consumer is deleted.

If users really want to remotely unregister a consumer, I think we should support a new API pulp/consumers/<id>/actions/unregister/ that effectively does a

pulp-consumer unregister

remotely through the agent.

The suggested change untangles two very different use cases and provides a better separation of concerns.

This does not impact satellite. In fact, satellite sends a notify-agent: False to prevent Pulp from invoking the Consumer.unregistered() because katello-agent does not support it. In satellite, subscription manager solely manages registration status and artifacts on content hosts.

Actions #1

Updated by jortel@redhat.com over 8 years ago

This should be a 1 day effort.

Actions #2

Updated by bmbouter almost 5 years ago

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

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 #4

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF