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:           
Actions #1

Updated by amacdona@redhat.com over 7 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
Actions #2

Updated by dkliban@redhat.com about 7 years ago

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

Added by Dawid Osuchowski about 7 years ago

Revision bf8ee840 | View on GitHub

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

Actions #3

Updated by Anonymous about 7 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #5

Updated by semyers about 7 years ago

  • Platform Release set to 2.13.0
Actions #6

Updated by pcreech almost 7 years ago

  • Status changed from MODIFIED to 5
Actions #7

Updated by pcreech almost 7 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #8

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF