Bug 1135588 - hammer-import-config-file repeatedly asking for credentials
Summary: hammer-import-config-file repeatedly asking for credentials
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Transitions
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Grant Gainey
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks: stargate-GA-tracker
TreeView+ depends on / blocked
 
Reported: 2014-08-29 17:39 UTC by Grant Gainey
Modified: 2017-02-23 21:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-11 12:22:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Grant Gainey 2014-08-29 17:39:50 UTC
hammer-import-config-file invokes 'hammer repository upload-content' once for every puppet-module it creates.  If the user hasn't specified a username/pwd in their cfg-file, the tool re-queries for their credentials on every module.

For many customers this means MANY (tens-to-hundreds) of queries.

Teach hammer-cli-import to know what usr/pwd was used on first-api-invoke, and use that on the created-cmd-line for repo-upload.

Comment 1 RHEL Program Management 2014-08-29 17:52:57 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Grant Gainey 2014-08-29 19:34:25 UTC
hammer-cli-import commit 5ab01489eeaa46584ba89454d906d379c67d7fa7

Comment 5 Matej Kollar 2014-09-03 12:36:48 UTC
verified with rubygem-hammer_cli_import-0.10.3-1

Comment 6 Bryan Kearney 2014-09-11 12:22:04 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.


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