Corrected default limits filter in nova API
The old syntax that used % symbols, caused some errors upon a restart of the nova-api. Replacing the % and parentheses with the double quotes allows the API to start without errors. Change-Id: I96c00590390c6caf0a17a43e68ede111684b3110 Closes-Bug: #1683496
This commit is contained in:
parent
57bb7299b7
commit
442f6a0ed7
|
@ -246,8 +246,8 @@ class openstack_tasks::openstack_controller::openstack_controller {
|
|||
$delete_limit = $merged_limits['DELETE']
|
||||
$post_servers_limit = $merged_limits['POST_SERVERS']
|
||||
$nova_rate_limits_string = inline_template('<%="(POST, *, .*, #{@post_limit} , MINUTE);\
|
||||
(POST, %(*/servers), ^/servers, #{@post_servers_limit} , DAY);(PUT, %(*) , .*, #{@put_limit}\
|
||||
, MINUTE);(GET, %(*changes-since*), .*changes-since.*, #{@get_limit}, MINUTE);(DELETE, %(*),\
|
||||
(POST, \"*/servers\", ^/servers, #{@post_servers_limit} , DAY);(PUT, \"*\" , .*, #{@put_limit}\
|
||||
, MINUTE);(GET, \"*changes-since*\", .*changes-since.*, #{@get_limit}, MINUTE);(DELETE, \"*\",\
|
||||
.*, #{@delete_limit} , MINUTE)" %>')
|
||||
|
||||
class { '::nova::keystone::authtoken':
|
||||
|
|
Loading…
Reference in New Issue