Add signing dir
Currently, my swift installation fails with the following error message: [Errno 13] Permission denied: '/root/keystone-signing and the proxy server can never service requests. This is b/c by default the client side directory for pki-signing seems to use $HOME. This commits sets the directory to be /var/cache/swift/ and resolves my swift-proxy issues. Change-Id: Ice904a9d53432ba1a1ae9516cd0ee6204ade63bb
This commit is contained in:
@@ -24,6 +24,7 @@ describe 'swift::proxy::authtoken' do
|
|||||||
verify_contents(subject, fragment_file,
|
verify_contents(subject, fragment_file,
|
||||||
[
|
[
|
||||||
'[filter:authtoken]',
|
'[filter:authtoken]',
|
||||||
|
'signing_dir=/var/cache/swift',
|
||||||
'paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory',
|
'paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory',
|
||||||
'auth_host = 127.0.0.1',
|
'auth_host = 127.0.0.1',
|
||||||
'auth_port = 35357',
|
'auth_port = 35357',
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
[filter:authtoken]
|
[filter:authtoken]
|
||||||
|
signing_dir=/var/cache/swift
|
||||||
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
||||||
auth_host = <%= @auth_host %>
|
auth_host = <%= @auth_host %>
|
||||||
auth_port = <%= @auth_port %>
|
auth_port = <%= @auth_port %>
|
||||||
|
Reference in New Issue
Block a user