Bug 1024025

Summary: [RFE] katello-disconnected: configure should read oauth creds from server.conf and/or be used to populate
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: PackagingAssignee: Mike McCune <mmccune>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, bkearney, riehecky
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-08 18:34:09 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 15:31:24 UTC
Description of problem:
When setting up katello disconnected, the steps are:

1. create oauth secret
2. manually replace oauth credentials in pulp server.conf
3. run 'katello-disconnected configure --oauth-key=<key> --oauth-secret=<secret>" -- basically respecifying the stuff you've manually entered into the pulp server.conf

This is error-prone and somewhat cumbersome. Is there any reason we can't, in step 3, simply read from server.conf the stuff we just added in step 2, as default values for 'katello-disconnected configure'?  We could keep the --oauth-secret and --oauth-key flags as optional, in case a user wants to, for whatever reason, specify something else. 

Alternately, we could also populate server.conf at 'katello-disconnected configure' runtime - but I don't know what implications of that might be.  Just a consideration.

Comment 4 Bryan Kearney 2016-02-08 18:34:09 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.