Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-18512

Output of "hammer scap-content" command with "bulk-upload" option displays unexpected word

XMLWordPrintable

    • Low
    • None

      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

      1. hammer scap-content bulk-upload --type default
      2. 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:

              ofedoren@redhat.com Oleh Fedorenko
              jira-bugzilla-migration RH Bugzilla Integration
              Peter Ondrejka Peter Ondrejka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: