Project

Profile

Help

Issue #2101

closed

'pulp-admin iso repo create' command does not set default --serve-http config

Added by dkliban@redhat.com over 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Low
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Master
Platform Release:
2.13.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 2
Sprint:
Quarter:

Description

Seems like pulp-admin fails to provide a default --server-http or --serve-https setting for the iso distributor. Pulp defaults to publishing using https. The setting should be explicitly set.


[vagrant@dev devel]$ pulp-admin iso repo create --repo-id myrepo
Successfully created repository [myrepo]

[vagrant@dev devel]$ pulp-admin iso repo list --details --repo-id myrepo
+----------------------------------------------------------------------+
                            ISO Repositories
+----------------------------------------------------------------------+

Id:                   myrepo
Display Name:         None
Description:          None
Content Unit Counts:  
Notes:                
Scratchpad:           
Importers:            
  Config:           
  Id:               iso_importer
  Importer Type Id: iso_importer
  Last Sync:        None
  Repo Id:          myrepo
  Scratchpad:       None
Distributors:         
  Auto Publish:         True
  Config:               
  Distributor Type Id:  iso_distributor
  Id:                   iso_distributor
  Last Override Config: 
  Last Publish:         None
  Last Updated:         2016-07-23T15:02:35Z
  Repo Id:              myrepo
  Scratchpad:           

Compare to RPM repo

[vagrant@dev devel]$ pulp-admin rpm repo create --repo-id myrpmrepo
Successfully created repository [myrpmrepo]

[vagrant@dev devel]$ pulp-admin rpm repo list --details --repo-id myrpmrepo
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

Id:                   myrpmrepo
Display Name:         None
Description:          None
Content Unit Counts:  
Notes:                
Scratchpad:           
Importers:            
  Config:           
  Id:               yum_importer
  Importer Type Id: yum_importer
  Last Sync:        None
  Repo Id:          myrpmrepo
  Scratchpad:       None
Distributors:         
  Auto Publish:         True
  Config:               
    Http:         False
    Https:        True
    Relative URL: myrpmrepo
  Distributor Type Id:  yum_distributor
  Id:                   yum_distributor
  Last Override Config: 
  Last Publish:         None
  Last Updated:         2016-07-23T15:06:45Z
  Repo Id:              myrpmrepo
  Scratchpad:           
  Auto Publish:         False
  Config:               
    Http:         False
    Https:        True
    Relative URL: myrpmrepo
  Distributor Type Id:  export_distributor
  Id:                   export_distributor
  Last Override Config: 
  Last Publish:         None
  Last Updated:         2016-07-23T15:06:45Z
  Repo Id:              myrpmrepo
  Scratchpad:           

Also available in: Atom PDF