Ask Your Question
0

Swift Error 'Account Not Found'

asked 2015-08-06 20:19:05 -0500

Nazmi gravatar image

updated 2015-08-06 20:29:45 -0500

Good day to openstack community, Nazmi here.

I'm encountering an issue on swift whereby swift is not able to locate my account even though I have created one for it. So far I have not seen any issues similar to mine so I hope someone can help me out here? I've reached till chapter 9 at the moment

document link : http://docs.openstack.org/kilo/install-guide/install/apt/content/ (http://docs.openstack.org/kilo/instal...) Exsi 5.5 Ubuntu 14.04.2 swift version 2.3.1

Below here is the result when I typed the syntax swift -V 3 stat


root@ubuntu:/var/log# 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]

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'


My syslog below;


Aug 7 07:00:01 ubuntu CRON[835]: (neutron) CMD (if [ -x /usr/bin/neutron-netns-cleanup ] ; then /usr/bin/neutron-netns-cleanup --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini >/dev/null 2>&1; fi)

Aug 7 07:17:01 ubuntu CRON[1062]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

Aug 7 08:00:01 ubuntu CRON[1618]: (neutron) CMD (if [ -x /usr/bin/neutron-netns-cleanup ] ; then usr/bin/neutron-netns-cleanup --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini >/dev/null 2>&1; fi)

Aug 7 08:17:01 ubuntu CRON[1837]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

Aug 7 08:39:55 ubuntu proxy-server: Invalid user token - deferring reject downstream

Aug 7 08:39:55 ubuntu proxy-server: - - 07/Aug/2015/00/39/55 HEAD /v1/AUTH_6a8edf9e42b4456996c18e97f19394f9 HTTP/1.0 204 - Swift - - - - tx4c699f86bddf43a78bbdd-0055c3fe5b - 0.0306 GET_INFO - 1438907995.016673088 1438907995.047270060

Aug 7 08:40:02 ubuntu proxy-server: Bad response code while validating token: 500

Aug 7 08:40:02 ubuntu proxy-server: Identity response: {"error": {"message": "An unexpected error prevented the server from fulfilling your request.", "code": 500, "title": "Internal Server Error"}}

Aug 7 08:40:02 ubuntu proxy-server: Authorization failed for token

Aug 7 08:40:02 ubuntu proxy-server: Invalid user token - deferring reject downstream

Aug 7 08:40:02 ubuntu proxy-server: 10.10.101.61 10.10.101.61 07/Aug/2015/00/40/02 HEAD /v1/AUTH_6a8edf9e42b4456996c18e97f19394f9 HTTP/1.0 401 - python-swiftclient-2.3.1 6eddbdae88d049be... - - - tx4c699f86bddf43a78bbdd-0055c3fe5b - 7.6044 - - 1438907995.011676073 1438908002.616058111

Aug 7 09:00:01 ubuntu CRON[2540]: (neutron) CMD (if [ -x /usr/bin/neutron-netns-cleanup ] ; then usr/bin/neutron-netns-cleanup --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini >/dev/null 2>&1; fi)


edit retag flag offensive close merge delete

Comments

Ok a silly mistake by me. I overlooked the HASH KEY on one of the object node and it was different than my other nodes which was causing the issue.

Nazmi gravatar imageNazmi ( 2015-08-06 21:14:10 -0500 )edit

and another note, the "ntp" needs to be as close to real time as possible so that the swift stat can show properly

Nazmi gravatar imageNazmi ( 2015-08-06 21:58:23 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-08-17 07:30:55 -0500

Hi. I have the same exact error, and your hints did not help.

edit flag offensive delete link more

Comments

Hi, check for your "ntpq -c assoc" if its showing sys.peer as storages are very sensitive to the slightest change in time...

Nazmi gravatar imageNazmi ( 2015-08-18 02:08:09 -0500 )edit
0

answered 2016-07-01 06:24:10 -0500

Raspberryswift gravatar image

Hi i am also encounter same error. when i tried "ntpq -c assoc" it shows:

ntpq -c assoc

ind assid status conf reach auth condition last_event cnt

1 7206 8011 yes no none reject mobilize 1 2 7207 8011 yes no none reject mobilize 1 3 7208 8011 yes no none reject mobilize 1 4 7209 8011 yes no none reject mobilize 1

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-06 20:19:05 -0500

Seen: 936 times

Last updated: Jul 01 '16