当输入swift stat 或者swift list命令就会出错
Traceback (most recent call last):
File "/usr/local/bin/swift", line 7, in <module>
execfile(__file__)
File "/root/python-swiftclient/bin/swift", line 1491, in <module>
globals()['st_%s' % args[0]](parser, argv[1:], thread_manager)
File "/root/python-swiftclient/bin/swift", line 657, in st_stat
错误如下:
command_helpers.stat_account(conn, options, thread_manager)
File "/root/python-swiftclient/swiftclient/command_helpers.py", line 18, in stat_account
headers = conn.head_account()
File "/root/python-swiftclient/swiftclient/client.py", line 1221, in head_account
return self._retry(None, head_account)
File "/root/python-swiftclient/swiftclient/client.py", line 1173, in _retry
self.url, self.token = self.get_auth()
File "/root/python-swiftclient/swiftclient/client.py", line 1147, in get_auth
insecure=self.insecure)
File "/root/python-swiftclient/swiftclient/client.py", line 345, in get_auth
insecure=insecure)
File "/root/python-swiftclient/swiftclient/client.py", line 277, 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 argument 'insecure'
是什么原因有人知道吗求指导
|
|