Red Hat Bugzilla – Bug 1277501
Improve messaging for hammer import
Last modified: 2017-01-05 10:12:35 EST
Description of problem:
The standard output from "hammer import repositories" is vague. For a successful import and sync the only output (unless you use -v) is "Summary: No action taken."
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Take a 5.7 export and extract as per user doc
2. Import orgs, etc., as described in the doc
3. Run "hammer import repositories" as described in the doc:
# hammer import repository --synchronize --wait --no-async \
> --csv-file /tmp/exports/repositories.csv
[Foreman] Username: admin
[Foreman] Password for admin:
<several hours later>
No action taken.
The import was successful, as evidenced by hammer organization list and hammer product list, but the message doesn't indicate that.
Something along the lines of "All repositories imported and synchronized successfully."
This command could be further improved by adding a progress meter of some sort. The sync can take a LONG time and some people could assume it's in error of some sort and cancel the op.
Created redmine issue http://projects.theforeman.org/issues/12379 from this bug
Upstream bug component is Uncategorized
Reset docs contact <> daobrien
Per 6.3 planning, moving out non acked bugs to the backlog
Upstream bug component is Hammer
This is an older bug which has been reported upstream. We are not going to track this bug downstream. When the upstream issue is resolved, the next build will contain the fix. Thank you.