Bug 1148558

Summary: pulp-admin docker repo list --details is not showing all distributors
Product: [Retired] Pulp Reporter: Brad Buckingham <bbuckingham>
Component: docker-supportAssignee: Chris Duryee <cduryee>
Status: CLOSED UPSTREAM QA Contact: pulp-qe-list
Severity: medium Docs Contact:
Priority: high    
Version: 2.5CC: cduryee, mhrivnak
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-28 22:37:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brad Buckingham 2014-10-01 17:49:32 UTC
Description of problem:

"pulp-admin repo list --details" lists the Distributors associated with all repositories; however, "pulp-admin docker repo list --details" does not.

Version-Release number of selected component (if applicable):
pulp-docker-plugins-0.2.1-0.1.alpha.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. create some docker repositories with various distributors 
2. pulp-admin repo list --details
3. pulp-admin docker repo list --details

Actual results:

[root@fortello-docker ~]# pulp-admin repo list --details
+----------------------------------------------------------------------+
                              Repositories
+----------------------------------------------------------------------+

Id:                  Default_Organization-docker-busybox
Display Name:        busybox
Description:         None
Content Unit Counts: 
  Docker Image: 10
Notes:               
Importers:           
  Config:           
    Feed:          https://index.docker.io
    Upstream Name: busybox
  Id:               docker_importer
  Importer Type Id: docker_importer
  Last Sync:        2014-10-01T15:07:48Z
  Repo Id:          Default_Organization-docker-busybox
  Scheduled Syncs:  
Distributors:        
  Auto Publish:        True
  Config:              
  Distributor Type Id: nodes_http_distributor
  Id:                  Default_Organization-docker-busybox_nodes
  Last Publish:        2014-10-01T15:07:51Z
  Repo Id:             Default_Organization-docker-busybox
  Scheduled Publishes: 
  Auto Publish:        True
  Config:              
    Protected: True
  Distributor Type Id: docker_distributor_web
  Id:                  Default_Organization-docker-busybox
  Last Publish:        2014-10-01T15:07:49Z
  Repo Id:             Default_Organization-docker-busybox
  Scheduled Publishes: 

Id:                  org-docker_product-busybox
Display Name:        busybox
Description:         None
Content Unit Counts: 
  Docker Image: 10
Notes:               
Importers:           
  Config:           
    Feed:          https://index.docker.io
    Upstream Name: busybox
  Id:               docker_importer
  Importer Type Id: docker_importer
  Last Sync:        2014-10-01T17:31:34Z
  Repo Id:          org-docker_product-busybox
  Scheduled Syncs:  
Distributors:        
  Auto Publish:        True
  Config:              
  Distributor Type Id: nodes_http_distributor
  Id:                  org-docker_product-busybox_nodes
  Last Publish:        2014-10-01T17:31:37Z
  Repo Id:             org-docker_product-busybox
  Scheduled Publishes: 
  Auto Publish:        True
  Config:              
    Protected: False
  Distributor Type Id: docker_distributor_web
  Id:                  org-docker_product-busybox
  Last Publish:        2014-10-01T17:31:35Z
  Repo Id:             org-docker_product-busybox
  Scheduled Publishes: 

[root@fortello-docker ~]# pulp-admin docker repo list --details
+----------------------------------------------------------------------+
                          Docker Repositories
+----------------------------------------------------------------------+

Id:                  Default_Organization-docker-busybox
Display Name:        busybox
Description:         None
Content Unit Counts: 
  Docker Image: 10
Notes:               
Importers:           
  Config:           
    Feed:          https://index.docker.io
    Upstream Name: busybox
  Id:               docker_importer
  Importer Type Id: docker_importer
  Last Sync:        2014-10-01T15:07:48Z
  Repo Id:          Default_Organization-docker-busybox
  Scheduled Syncs:  
Distributors:        

Id:                  org-docker_product-busybox
Display Name:        busybox
Description:         None
Content Unit Counts: 
  Docker Image: 10
Notes:               
Importers:           
  Config:           
    Feed:          https://index.docker.io
    Upstream Name: busybox
  Id:               docker_importer
  Importer Type Id: docker_importer
  Last Sync:        2014-10-01T17:31:34Z
  Repo Id:          org-docker_product-busybox
  Scheduled Syncs:  
Distributors:        


Expected results:

"pulp-admin docker repo list --details" should list the distributor details similar to what 'pulp-admin repo list --details" does.

Additional info:

Comment 1 Chris Duryee 2014-10-31 19:50:50 UTC
I fixed this as part of a different BZ.

PR is https://github.com/pulp/pulp_docker/pull/46

Comment 2 Brian Bouterse 2015-02-28 22:37:11 UTC
Moved to https://pulp.plan.io/issues/556