Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

(Kilo) Swift Installation Ubuntu 14.04: swiftclient.service.SwiftError: 'Account not found'

Hi all,

I've tried to install swift on two object nodes following latest (10 January 2016) installation guide for Kilo release. I've followed the guide in every detail and tried to install twice. When I verify the installation:

#swift -V 3 stat

Traceback (most recent call last):
  File "/usr/bin/swift", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/dist-packages/swiftclient/shell.py", line 1287, in main
    globals()['st_%s' % args[0]](parser, argv[1:], output)
  File "/usr/lib/python2.7/dist-packages/swiftclient/shell.py", line 492, in st_stat
    stat_result = swift.stat()
  File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 443, in stat
    raise SwiftError('Account not found', exc=err)
swiftclient.service.SwiftError: 'Account not found'

Do you have any clues on what/where might be the error?

Thanks and Kind Regards,

Riccardo


Debug Log

DEBUG:keystoneclient.auth.identity.v3:Making authentication request to http://controller:35357/v3/auth/tokens
INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:urllib3.connectionpool:Setting read timeout to None
DEBUG:urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 201 4747
DEBUG:iso8601.iso8601:Parsed 2016-02-26T13:29:34.657991Z into {'tz_sign': None, 'second_fraction': u'657991', 'hour': u'13', 'daydash': u'26', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'34', 'tz_minute': None, 'year': u'2016', 'separator': u'T', 'monthdash': u'02', 'day': None, 'minute': u'29'} with default timezone <iso8601.iso8601.Utc object at 0x7f42363950d0>
DEBUG:iso8601.iso8601:Got u'2016' for 'year' with default None
DEBUG:iso8601.iso8601:Got u'02' for 'monthdash' with default 1
DEBUG:iso8601.iso8601:Got 2 for 'month' with default 2
DEBUG:iso8601.iso8601:Got u'26' for 'daydash' with default 1
DEBUG:iso8601.iso8601:Got 26 for 'day' with default 26
DEBUG:iso8601.iso8601:Got u'13' for 'hour' with default None
DEBUG:iso8601.iso8601:Got u'29' for 'minute' with default None
DEBUG:iso8601.iso8601:Got u'34' for 'second' with default None
INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:urllib3.connectionpool:Setting read timeout to <object object at 0x7f4239c02090>
DEBUG:urllib3.connectionpool:"HEAD /v1/AUTH_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 400 0
INFO:swiftclient:REQ: curl -i http://controller:8080/v1/AUTH_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -I -H "X-Auth-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
INFO:swiftclient:RESP STATUS: 400 Bad Request
INFO:swiftclient:RESP HEADERS: [('date', 'Fri, 26 Feb 2016 12:29:34 GMT'), ('content-length', '0'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'tx5e89c5cc0e8848ffa6dba-0056d0452e')]
ERROR:swiftclient:Account HEAD failed: http://controller:8080/v1/AUTH_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 400 Bad Request
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1243, in _retry
    rv = func(self.url, self.token, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 528, in head_account
    http_response_content=body)
ClientException: Account HEAD failed: http://controller:8080/v1/AUTH_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 400 Bad Request
Traceback (most recent call last):
  File "/usr/bin/swift", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/dist-packages/swiftclient/shell.py", line 1287, in main
    globals()['st_%s' % args[0]](parser, argv[1:], output)
  File "/usr/lib/python2.7/dist-packages/swiftclient/shell.py", line 492, in st_stat
    stat_result = swift.stat()
  File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 443, in stat
    raise SwiftError('Account not found', exc=err)
swiftclient.service.SwiftError: 'Account not found'