Bug 1022188

Summary: reactivating a deactivated node still shows the repos that was bound before deactivating
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: documentationAssignee: Dennis Kliban <dkliban>
Status: CLOSED UPSTREAM QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: low    
Version: MasterCC: dkliban, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-28 21:59:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Preethi Thomas 2013-10-22 16:28:03 UTC
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:

Comment 1 Preethi Thomas 2014-10-14 21:27:16 UTC
Could you please add the commit for the this bug

Comment 4 Brian Bouterse 2015-02-28 21:59:39 UTC
Moved to https://pulp.plan.io/issues/381