Issue #381
closedreactivating a deactivated node still shows the repos that was bound before deactivating
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 +