Project

Profile

Help

Issue #3764

closed

num_success and num_processed is wrong on Progress Report

Added by bizhang almost 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
Platform Release:
Target Release - Docker:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Steps to reproduce:

1. Create a docker repo

 pulp-admin docker repo create --repo-id=test --feed=https://registry-1.docker.io --upstream-name=busybox --tags=latest,1

2. Sync the docker repo

pulp-admin -vvv docker repo sync run --repo-id test

The progress report states num_success and num_processed is 20, but items_total is 2:

  "progress_report": {
    "docker_importer": [
      {
        "num_success": 20, 
        "description": "Downloading manifests", 
        "step_type": "sync_step_metadata", 
        "items_total": 2, 
        "state": "FINISHED", 
        "error_details": [], 
        "details": "", 
        "num_failures": 0, 
        "step_id": "854ace83-c5d8-4eca-8abd-e829ca52bce2", 
        "num_processed": 20
      }, 

This is not a problem with rpm sync (or docker publish), so I think it's a docker specific problem

"yum_importer": {
      "content": {
        "size_total": 78564, 
        "items_left": 0, 
        "items_total": 32, 
        "state": "FINISHED", 
        "size_left": 0, 
        "details": {
          "rpm_total": 32, 
          "rpm_done": 32, 
          "drpm_total": 0, 
          "drpm_done": 0
        }, 
        "error_details": []
      }, 

Also available in: Atom PDF