Revision history [back]

click to hide/show revision 1
initial version

On the Swift node, here I was getting continuous output like the following in /var/log/syslog:

Jun 25 05:23:15 swift proxy-server Started child 27544 Jun 25 05:23:15 swift proxy-server Starting keystone auth_token middleware Jun 25 05:23:15 swift proxy-server Using /tmp/keystone-signing as cache directory for signing certificate Jun 25 05:23:15 swift proxy-server UNCAUGHT EXCEPTION#012Traceback (most recent call last):#012 File "/usr/bin/swift-proxy-server", line 22, in <module>#012 run_wsgi(conf_file, 'proxy-server', default_port=8080, *options)#012 File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 187, in run_wsgi#012 run_server()#012 File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 149, in run_server#012 global_conf={'log_name': log_name})#012 File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp#012 return loadobj(APP, uri, name=name, *kw)#012 File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj#012 return context.create()#012 File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create#012 return self.object_type.invoke(self)#012 File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 207, in invoke#012 app = filter(app)#012 File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 1153, in auth_filter#012 return AuthProtocol(app, conf)#012 File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 301, in __init__#012 self.signing_dirname)#012ConfigurationError: unable to access signing dir /tmp/keystone-signing Jun 25 05:23:15 swift proxy-server Removing dead child 27544

I updated proxy-server.conf to use a directory owned by swift user and updated the permissions accordingly. I am no longer getting dir access error. However, it still did not solve my swift command error.

I obtained my Swift installation by performing the following commands

  1. echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-proposed/grizzly main" | sudo tee /etc/apt/sources.list.d/folsom.list

  2. sudo apt-get -y install ubuntu-cloud-keyring

  3. sudo apt-get install -y swift swift-proxy swift-account swift-container swift-object memcached xfsprogs curl python-webob python-keystoneclient python-keystone

Is that the correct method to obtain the released versions of Grizzly binaries?

Regarding port errors, do you mean in the endpoint-list? I have all of my swift components including the swift proxy installed on 172.16.0.203. Shouldn't I specify the proxy IP when I create my endpoint? keystone is 172.16.0.201