error in auth swift with keystone [closed]

asked 2013-08-17 10:26:27 -0500

baran gravatar image

updated 2013-08-17 10:50:40 -0500

hello

i do Keystone settings according to the following: http://www.canonical.com/sites/www.canonical.com/files/active/Ubuntu_Keystone_WP_WEB_AW.pdf

and swift settings according to the following:
http://docs.openstack.org/developer/swift/development_saio.html
and
https://blog.hpcloud.com/road-essex-part-2-keystone-and-swift-keystone-authentication

but
swift -v –V 2.0 -A http://127.0.0.1:5000/v2.0/ -U ubuntu:admin -K openstack stat
error:

traceback (most recent call last);
file "/usr/local/bin/swift", line 7, in <module>
execfile(--file--)
file "/root/python-swiftclient/bin/swift", line 1322, in <module>
globals() ['st_%s' % args[0]] (parser, argv[1:], thread_manager) file "/root/python-swiftclient/bin/swift", line 578, in st_stat
headers = conn.head_account()
file "/root/python-swiftclient/swiftclient/client.py", line 1131, in head_account
return self._retry(none, head_account)
file "/root/python-swiftclient/swiftclient/client.py", line 1088, in _retryself.url, self.token = self.get_auth()
file "/root/python-swiftclient/swiftclient/client.py", line 1064, in get_auth insecure=self.insecure
file "/root/python-swiftclient/swiftclient/client.py", line 220, in get_keystoneclient_2_0
auth_url=auth_url, insecure=insecure
file "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py",line 66, in --init--
super(client, self). --init(endpoint=endpoint, **kwargs)
typeerror: --init--() got an unexpected keyword argumant 'insecure'</module></module>

AND:
swift -v –V 2.0 -A http://127.0.0.1:5000/v2.0/ -U ubuntu:admin -K openstack stat

ERROR:
no handlers could be found for logger "swiftclient"
auth GET failed: http://127.0.0.1:5000/v2.0/ 200 ok

WHY???????????

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Jobin
close date 2013-08-18 05:44:52.622451

Comments

So please answer. At the same https://ask.openstack.org/en/question/4163/swift-admin-password-gives-unexpected-argument-errorwhy/ Thanks

baran gravatar imagebaran ( 2013-08-18 04:24:31 -0500 )edit

I am sorry but I have no knowledge how to solve this, would have happily done if I knew. But please do not spam.

Jobin gravatar imageJobin ( 2013-08-18 05:29:44 -0500 )edit