Bug 1148558 - pulp-admin docker repo list --details is not showing all distributors
Summary: pulp-admin docker repo list --details is not showing all distributors
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: docker-support
Version: 2.5
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Chris Duryee
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-01 17:49 UTC by Brad Buckingham
Modified: 2015-02-28 22:37 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-28 22:37:11 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 556 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.