s-proxy fails due to new proxy-server.conf-sample

Bug #1437249 reported by Ritesh Paiboina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Expired
Undecided
Unassigned

Bug Description

When I execute the following line , I get the below errors. S-proxy fails to start

/opt/stack/swift/bin/swift-proxy-server /etc/swift/proxy-server.conf -v & echo $! >/opt/stack/status/stack/s-proxy.pid; fg || echo "s-proxy failed to start" | tee "/opt/stack/status/stack/s-proxy.failure"

[1] 16538
/opt/stack/swift/bin/swift-proxy-server /etc/swift/proxy-server.conf -v
Error trying to load config from /etc/swift/proxy-server.conf: File contains parsing errors: /etc/swift/proxy-server.conf
        [line 303]: 'delay_auth_decision defaults to False, but leaving it as false will\n'
        [line 304]: 'prevent other auth systems, staticweb, tempurl, formpost, and ACLs from\n'
        [line 305]: 'working. This value must be explicitly set to True.\n'
s-proxy failed to start

The reason is due to following lines in swift/etc/proxy-server.conf-sample file.

# delay_auth_decision defaults to False, but leaving it as false will
# prevent other auth systems, staticweb, tempurl, formpost, and ACLs from
# working. This value must be explicitly set to True.

When I have removed these lines it works...

Revision history for this message
Christian Schwede (cschwede) wrote :

This doesn't happen on master. Which version are you using?

I suspect that this is related to a line before the mentioned lines; line 303-305 in your reported config don't match with the upstream version, thus there have to be a few changes. Could you please post a few more lines of the config file, maybe even the complete file?

Changed in swift:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Object Storage (swift) because there has been no activity for 60 days.]

Changed in swift:
status: Incomplete → Expired
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.