Project

General

Profile

Bug #12379

Improve messaging for hammer import

Added by Bryan Kearney about 4 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1277501
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):

How reproducible:

Always?

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:

  1. hammer import repository --synchronize --wait --no-async \

--csv-file /tmp/exports/repositories.csv

[Foreman] Username: admin
[Foreman] Password for admin:

<several hours later>

Summary
No action taken.

Actual results:

The import was successful, as evidenced by hammer organization list and hammer product list, but the message doesn't indicate that.

Expected results:

Something along the lines of "All repositories imported and synchronized successfully."

Additional info:

History

#1 Updated by Eric Helms about 4 years ago

  • Legacy Backlogs Release (now unused) set to 86
  • Triaged changed from No to Yes

#2 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 86 to 114

#3 Updated by Eric Helms over 3 years ago

  • Project changed from Katello to Hammer CLI Import
  • Category deleted (Hammer)

#4 Updated by Eric Helms over 1 year ago

  • Status changed from New to Rejected

#5 Updated by Greg Sutcliffe over 1 year ago

  • Target version deleted (Katello Backlog)

Also available in: Atom PDF