Bug 1024036

Summary: katello-disconnected: disabling repo removes from list but not from syncable repo list
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: Inter Satellite SyncAssignee: Mike McCune <mmccune>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, bkearney, bthurber, tbiggs
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-08 18:23:48 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 Corey Welton 2013-10-28 16:16:37 UTC
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):


How reproducible:


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

Actual results:

[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
rhel-6-server-sam-rpms-6_4-x86_64

Puppet Forge
[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)
State: finished:
  repo: [rhel-6-server-sam-rpms-6_4-x86_64] packages remaining: [0]
State: unknown:
  repo: [rhel-6-server-rhev-agent-rpms-6_4-x86_64] packages remaining: [unknown]

Expected results:

disabled repo should not appear in list if it has been disabled.

Additional info:

Not yet sure if this will have any sort of effect on exports (i.e., perhaps exporting an empty repo or something)

Comment 3 Bryan Kearney 2016-02-08 18:23:48 UTC
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.