Feature request: pull-packages-to-pocket should return non-empty response when successful

Bug #1875880 reported by Mateusz Pawlowski on 2020-04-29
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Landscape Server

Bug Description

Currently when "pull-packages-to-pocket" API command completes you can only see "{}" in the output. It would be helpful and more informative if complete reprepro would be passed along.

Instead of empty JSON:

def finish(self, result):
"""Return an empty JSON-valid response."""
return {}

We could get following output from the reprepro:

Calculating packages to pull...
  pulling into 'bionic-security-staging|restricted|source'
  looking what to get from 'bionic-security|restricted|source'
  pulling into 'bionic-security-staging|restricted|i386'
  looking what to get from 'bionic-security|restricted|i386'
  pulling into 'bionic-security-staging|restricted|amd64'
  looking what to get from 'bionic-security|restricted|amd64'
Installing (and possibly deleting) packages...
Exporting indices...
 looking for changes in 'bionic-security-staging|restricted|amd64'...
  keeping old './dists/bionic-security-staging/restricted/binary-amd64/Packages' (uncompressed,gzipped)
 looking for changes in 'bionic-security-staging|restricted|i386'...
  keeping old './dists/bionic-security-staging/restricted/binary-i386/Packages' (uncompressed,gzipped)
 looking for changes in 'bionic-security-staging|restricted|source'...
  keeping old './dists/bionic-security-staging/restricted/source/Sources' (gzipped)

information type: Proprietary → Public
description: updated
Kodiak Firesmith (kodiakf) wrote :

Evaluating Landscape on-prem now for my org - the whole mirror creation and management process seems not well documented nor sysadmin friendly. Coming from the RHEL + Satellite world, it was always a breeze to import repositories to our local satellite from upstream Red Hat CDN - it was visually baked into the product.

I understand the point of keeping the SaaS and on-prem branches of this product identical, but there should really be some modular way to add additional web UI content that covers the package mirror / repo components of Landscape on-prem.

Failing all of that, at least having an Ansible play or Landscape script built in to sync content for new admins would be nice.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers