Red Hat Bugzilla – Bug 1024025
[RFE] katello-disconnected: configure should read oauth creds from server.conf and/or be used to populate
Last modified: 2016-02-08 13:34:09 EST
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.
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.