yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08553
[Bug 1260333] Re: Malformed property protection rules return error to end user
** Changed in: glance
Status: Fix Committed => Fix Released
** Changed in: glance
Milestone: None => icehouse-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1260333
Title:
Malformed property protection rules return error to end user
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
Using a property protections file such as:
[.*]
create = @,!
read = @
update = @
delete = @
The create operation has an invalid rule, duplicate values are not
allowed. This should probably result in the service refusing to start,
however currently the service will start and operations touching this
value will return:
500 Internal Server Error
Malformed property protection rule 'some_property': '@' and '!' are mutually exclusive (HTTP 500)
to the end user. My feeling is that the end user should not receive
any information about the cause of the error, just the 500 status.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1260333/+subscriptions
References