Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

'Account not found' Error when Verify operation of Object Storage service

     Hi,
    I have configured the controller and storage nodes as it is described in "Openstack Installation guide for ubuntu 14.04 - kilo 2015". I didn't get any error message, but when I tried to verify operation of the Object Storage service by executing " swift -V 3 stat" after sourcing the demo-openrc.sh file, I get the following error :

    Traceback (most recent call last):
       File "/usr/bin/sift", 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: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
          raison SwiftError(' Account not found', exc=err)
    swiftclient.service.SwiftError: 'Account not found'

Any help is welcome, Thanks in advance.

'Account not found' Error when Verify operation of Object Storage service

 

Hi, I have configured the controller and storage nodes as it is described in "Openstack Installation guide for ubuntu 14.04 - kilo 2015". I didn't get any error message, but when I tried to verify operation of the Object Storage service by executing " swift -V 3 stat" after sourcing the demo-openrc.sh file, I get the following error : :

    Traceback (most recent call last):
       File "/usr/bin/sift", 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: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
          raison SwiftError(' Account not found', exc=err)
    swiftclient.service.SwiftError: 'Account not found'
 

Any help is welcome, Thanks in advance.

advance.

'Account not found' Error when Verify operation of Object Storage service

Hi, I have configured the controller and storage nodes as it is described in "Openstack Installation guide for ubuntu 14.04 - kilo 2015". I didn't get any error message, but when I tried to verify operation of the Object Storage service by executing " swift -V 3 stat" after sourcing the demo-openrc.sh file, I get the following error :

    Traceback (most recent call last):
       File "/usr/bin/sift", 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: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
          raison SwiftError(' Account not found', exc=err)
    swiftclient.service.SwiftError: 'Account not found'

Any help is welcome, Thanks in advance.advance.

This is the output after executing swift post test and

swift --debug -V 3 stat
    $ swift post test
    $swift --debug -V 3 stat
    DEBUG:keystoneclient.auth.identity.v3:Making authentication request to http://controller:5000/v3/auth/tokens
    INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
    DEBUG:urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 500 143
    DEBUG:keystoneclient.session:Request returned failure status: 500
    ERROR:swiftclient:Authorization Failure. Authorization failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-bc901493-c149-42ef-880d-3cc7dd1190e9)
    Traceback (most recent call last):
       File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1235, in _retry
          self.url, self.token = self.get_auth()
       File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1209, in get_auth
          insecure=self.insecure)
       File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 406, in get_auth
          auth_version=auth_version)
       File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 341, in get_auth_keystone
          raise ClientException('Authorization Failure. %s' % err)
    ClientException: Authorization Failure. Authorization failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-bc901493-c149-42ef-880d-3cc7dd1190e9)
    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' 

Please any suggestion.