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

`containerfile_install_command` API endpoint does not return all transient packages

XMLWordPrintable

    • None
    • None
    • None
    • None

      Description of problem:

      When hitting the https://`hostname`/api/hosts/1/transient_packages/containerfile_install_command endpoint, up to 20 packages are returned in the containerfile string, regardless of the actual number of transient packages. This endpoint should ignore pagination and return all transient packages in the containerfile install string.

      Users should still be able to use scoped search on the returned packages (e.g. name=foo). This is important for future UI tasks.

      How reproducible:

      Always

       

      Is this issue a regression from an earlier version:

      No

       

      Steps to Reproduce:

      1. Create a bootc host with more than 20 transient packages.
      2. Run`curl -u admin:changeme "https://`hostname`/api/hosts/1/transient_packages/containerfile_install_command`
      3. See that there are only 20 reported packages in the install command. 

              rhn-engineering-qjames Quinn James
              rhn-engineering-qjames Quinn James
              Sam Bible Sam Bible
              Pavan Soma Shekar Pavan Soma Shekar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: