Project

Profile

Help

Issue #2101

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

Added by dkliban@redhat.com over 5 years ago. Updated almost 3 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:           

Associated revisions

Revision bf8ee840 View on GitHub
Added by Dawid Osuchowski almost 5 years ago

Make new ISO repos serve content using https

Newly created ISO repositories didn't specify the protocol for distributing content. Now it's explicitly set to use https by default.

closes #2101 https://pulp.plan.io/issues/2101

History

#1 Updated by amacdona@redhat.com over 5 years ago

  • Priority changed from Normal to Low
  • Severity changed from 2. Medium to 1. Low
  • Triaged changed from No to Yes
  • Tags Documentation added

#2 Updated by dkliban@redhat.com almost 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to Anonymous

#3 Updated by Anonymous almost 5 years ago

  • Status changed from ASSIGNED to MODIFIED

#5 Updated by semyers almost 5 years ago

  • Platform Release set to 2.13.0

#6 Updated by pcreech almost 5 years ago

  • Status changed from MODIFIED to 5

#7 Updated by pcreech over 4 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#8 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF