Bug 1022188 - reactivating a deactivated node still shows the repos that was bound before deactivating
Summary: reactivating a deactivated node still shows the repos that was bound before d...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: documentation
Version: Master
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: ---
Assignee: Dennis Kliban
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-22 16:28 UTC by Preethi Thomas
Modified: 2015-02-28 21:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-28 21:59:39 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 381 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.