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

You can export but not import 'Default Organization View' as Content View

XMLWordPrintable

    • Moderate
    • No

      Description of problem:

      You can export but not import 'Default Organization View' as Content View

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

      How reproducible:
      Every time

      Steps to Reproduce:
      ~]# hammer content-export complete version \
      > --content-view="Default Organization View" \
      > --version=1.0 \
      > --organization="Default Organization"
       
      then I moved it to /var/lib/pulp/imports/
       
      this fails
      ~]# date && hammer content-import version --organization="Default Organization" --path=/var/lib/pulp/imports/2023-02-23T02-32-50-05-00
      Thu Feb 23 06:04:16 EST 2023
      Could not import the archive.:
      Unable to import in to Content View specified in the metadata - 'Default Organization View'. The 'import_only' attribute for the content view is set to false. To mark this Content View as importable, have your system administrator run the following command on the server.
      foreman-rake katello:set_content_view_import_only ID=1

      Actual results:

      running `foreman-rake katello:set_content_view_import_only ID=1` does not solve the problem

      Expected results:

      Either I cannot export "Default Organization View" as a Content View or I can import it.
      No point to allow an export if import does not work.

      Additional info:
      I was told exporting should not be allowed.

      I am setting severity to medium because although it seems trivial it does waste a lot of time.

              jira-bugzilla-migration RH Bugzilla Integration
              swadeley@redhat.com Stephen Wadeley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: