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

[Pulp 3] Not able to use `--tabular` flag with `pulpcore-manager analyze-publication` due to missing prettytable module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 6.12.0
    • None
    • 0
    • False
    • Moderate
    • None
    • None
    • None
    • None

      Description of problem:

      This is a child of BZ https://bugzilla.redhat.com/show_bug.cgi?id=2124637 .

      As reported there, We can't use "--tabular" option as Pulp uses python 3.9 but the RHEL 8 ships python3-prettytable-0.7.2-14.el8.noarch which has the prettytable module python 3.6

      Version-Release number of selected component (if applicable):

      Satellite 6.12

      python39-pulpcore-3.18.6-2.el8pc.noarch / rubygem-pulpcore_client-3.18.5-1.el8sat.noarch / rubygem-pulp_rpm_client-3.17.4-1.el8sat.noarch

      How reproducible:

      Steps to Reproduce:

      Same as https://bugzilla.redhat.com/show_bug.cgi?id=2124637

      Actual results:

      1. PULP_SETTINGS=/etc/pulp/settings.py pulpcore-manager analyze-publication --distribution-base-path 'RedHat/Library/content/dist/rhel/server/7/7.9/x86_64/kickstart' --tabular

      System check identified some issues:

      CommandError: 'prettytable' package must be installed.

      Expected results:

      Since we ship this feature in the Pulpcore and Satellite 6.12 can run on RHEL only, We should support the --tabular option as well and no such dependency error should be raised.

      Additional info:

              rhn-support-osousa Odilon Sousa
              jira-bugzilla-migration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: