Bug 1024025 - [RFE] katello-disconnected: configure should read oauth creds from server.conf and/or be used to populate
Summary: [RFE] katello-disconnected: configure should read oauth creds from server.con...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
low vote
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-28 15:31 UTC by Corey Welton
Modified: 2016-02-08 18:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-08 18:34:09 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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