Project

Profile

Help

Issue #5341

installer translates pulp settings values for 'False' as 'false'

Added by jsherril@redhat.com over 1 year ago. Updated 9 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
Installer
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 60
Quarter:

Description

The migration tooling has you set various values for installation:
https://github.com/pulp/pulp-2to3-migrate

For example:

PULP2_MONGODB:
  name: "pulp_database"
  seeds: "localhost:27017"
  ssl: False

However when this gets generated to the settings file, it renders it as 'false':

PULP2_MONGODB = {"name": "pulp_database", "seeds": "localhost:27017", "ssl": false}

which python does not understand at all.

Associated revisions

Revision 717cfe51 View on GitHub
Added by dkliban@redhat.com over 1 year ago

Capitalize boolean settings in settings.py

fixes: #5341 https://pulp.plan.io/issues/5341

Revision 717cfe51 View on GitHub
Added by dkliban@redhat.com over 1 year ago

Capitalize boolean settings in settings.py

fixes: #5341 https://pulp.plan.io/issues/5341

History

#1 Updated by jsherril@redhat.com over 1 year ago

  • Tags Katello-P2 added
  • Tags deleted (Katello-P3, Pulp 3 installer)

#2 Updated by jsherril@redhat.com over 1 year ago

  • Subject changed from installer translates 'False' as false to installer translates pulp settings values for 'False' as 'false'

#3 Updated by amacdona@redhat.com over 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 58

#4 Updated by daviddavis over 1 year ago

  • Sprint/Milestone set to 3.0.0

#5 Updated by rchan over 1 year ago

  • Sprint changed from Sprint 58 to Sprint 59

#6 Updated by daviddavis over 1 year ago

  • Tags Pulp 3 installer added

#7 Updated by rchan over 1 year ago

  • Sprint changed from Sprint 59 to Sprint 60

#8 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#9 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from ASSIGNED to POST

#10 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from POST to MODIFIED

#11 Updated by bmbouter about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#12 Updated by ggainey 9 months ago

  • Tags Katello added
  • Tags deleted (Katello-P2)

#13 Updated by bmbouter 9 months ago

  • Category set to Installer
  • Tags deleted (Pulp 3 installer)

Please register to edit this issue

Also available in: Atom PDF