Bug #36725
closedOutput of "hammer scap-content" command with "bulk-upload" option displays unexpected word
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2213163
Description of problem: Output of "hammer scap-content bulk-upload" command showing extra unexpected words in the result, output of command can be more specific.
Version-Release number of selected component (if applicable): 6.13.0
How reproducible: Always
Steps to Reproduce:1. ssh to satellite server
2. execute hammer cli command
- hammer scap-content bulk-upload --type default
- hammer scap-content bulk-upload --type directory --directory /usr/share/xml/scap/ssg/content/
Actual results:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#1. Loading the Default OpenSCAP Contents
[root@ip-fqdn ~]# hammer scap-content bulk-upload --type default
Errors:
Uploaded Scap Contents:
Scap Contents uploaded.
#2. Uploading Additional SCAP Content
[root@ip-fqdn ~]# hammer scap-content bulk-upload --type directory --directory /usr/share/xml/scap/ssg/content/
Errors:
Uploaded Scap Contents:
1) Id: 6
Title: firefox content
Original Filename: ssg-firefox-ds.xml
2) Id: 7
Title: rhel6 content
Original Filename: ssg-rhel6-ds.xml
3) Id: 8
Title: rhel7 content
Original Filename: ssg-rhel7-ds.xml
4) Id: 9
Title: rhel8 content
Original Filename: ssg-rhel8-ds.xml
Scap Contents uploaded.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expected results:
The output of command should be specific with result only or word "Error:" could be hidden if there is no error and only successful output message could be displayed.
Additional info:
Updated by Oleh Fedorenko about 1 year ago
- Project changed from Hammer CLI to OpenSCAP
- Status changed from New to Assigned
- Assignee set to Oleh Fedorenko
- Triaged changed from No to Yes
Updated by The Foreman Bot about 1 year ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer_cli_foreman_openscap/pull/43 added
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases hammer_cli_foreman_openscap 0.1.14 added
Updated by Oleh Fedorenko about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer_cli_foreman_openscap|8af82b7785d28b03bcdbd2a5f35e88ad5deb219e.
Updated by Oleh Fedorenko 12 months ago
- Fixed in Releases hammer_cli_foreman_openscap-0.2.0 added
- Fixed in Releases deleted (
hammer_cli_foreman_openscap 0.1.14)