swift-proxy delay-auth-decision has broken default

Bug #1169308 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swift-proxy (Juju Charms Collection)
Fix Released
Undecided
Andreas Hasenack

Bug Description

This is the configuration key:
  delay-auth-decision:
    default: "True"
    type: string
    description: Delay authentication to downstream WSGI services.

That translates into "delay_auth_decision = True" in /etc/swift/proxy-server.conf, which is not recognized. It needs to be lowercase.

It's probably best to change delay-auth-decision to a boolean type in the charm config, and handle writing it out correctly to the config file in the charm.

Related branches

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Quick simple branch attached, may not be the best way to handle this but I didn't find a way in jinja to render python boolean values as lowercase directly.

Changed in swift-proxy (Juju Charms Collection):
status: New → In Progress
assignee: nobody → Andreas Hasenack (ahasenack)
tags: added: landscape
Changed in swift-proxy (Juju Charms Collection):
status: In Progress → Fix Committed
tags: added: openstack
Changed in swift-proxy (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.