Red Hat Bugzilla – Bug 1024036
katello-disconnected: disabling repo removes from list but not from syncable repo list
Last modified: 2016-02-08 13:23:48 EST
Description of problem:
When user disables a repo in katello-disconnected, it is removed from list of available repos, but doesn't disappear during sync watch.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enable repo A; configure; sync and export
2. Enable repo B; configure
3. Disable repo A; configure
4. katello-disconnected sync
5. katello-disconnected watch
[root@hp-dl380pgen8-02-vm-15 export]# katello-disconnected disable --repo rhel-6-server-rhev-agent-rpms-6_4-x86_64
[root@hp-dl380pgen8-02-vm-15 export]# katello-disconnected list enabled
Red Hat Repositories
[root@hp-dl380pgen8-02-vm-15 export]# katello-disconnected configure
[root@hp-dl380pgen8-02-vm-15 export]# katello-disconnected watch
Watching sync... (this may be safely interrupted with Ctrl+C)
repo: [rhel-6-server-sam-rpms-6_4-x86_64] packages remaining: 
repo: [rhel-6-server-rhev-agent-rpms-6_4-x86_64] packages remaining: [unknown]
disabled repo should not appear in list if it has been disabled.
Not yet sure if this will have any sort of effect on exports (i.e., perhaps exporting an empty repo or something)
The katello-disconnected server synchronization and export functions are being moved into the Satellite server itself. With 6.2, the katello-disconnected command will no longer be delivered and instead will be replaced with a new export and import functions delivered via the UI and hammer CLI. This bug is being closed as "WONTFIX" since it relates only to the existing katello-disconnected tooling. Please check the Satellite docs with the release of Satellite 6.2 on how to use the new content export and import features.