Project

Profile

Help

Issue #381

closed

reactivating a deactivated node still shows the repos that was bound before deactivating

Added by pthomas@redhat.com about 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Low
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:
Documentation, Pulp 2
Sprint:
Quarter:

Description

Description of problem:

Deactivating node does not seem to be unbind the repos that was bound to the node.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. activate a node and bind repos to the node
2. sync the repo
3. now deactivate the node
4. Reactivate the node
5. Run node list. It displays the repos as bound

Actual results:
[root@qe-blade-03 ~]# pulp-admin node list
--------------------------------------------------------------------
Child Nodes
--------------------------------------------------------------------

Id: node1
Display Name: node1
Description: None
Bindings:
Additive: rhel64-os, rhel64-ks
Update Strategy: additive
Notes:

[root@qe-blade-03 ~]# pulp-admin node deactivate --node-id node1
Child node deactivated.

[root@qe-blade-03 ~]# pulp-admin node list
--------------------------------------------------------------------
Child Nodes
--------------------------------------------------------------------

[root@qe-blade-03 ~]# pulp-admin node activate --consumer-id node1
Consumer activated as child node.

[root@qe-blade-03 ~]# pulp-admin node list
--------------------------------------------------------------------
Child Nodes
--------------------------------------------------------------------

Id: node1
Display Name: node1
Description: None
Bindings:
Additive: rhel64-os, rhel64-ks
Update Strategy: additive
Notes:

[root@qe-blade-03 ~]#

Expected results:

repos should be unbound when you deactviate a node

Additional info:

+ This bug was cloned from Bugzilla Bug #1022188 +

Also available in: Atom PDF