I am testing OpenStack on CentOS 7.
I follow the link below to install Swift:
http://docs.openstack.org/juno/install-guide/install/yum/content/swift-install-controller-node.html

But when I did a "swift stat", I encountered the errors as shown below:

Could someone help?

Regards,

Kevin



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



#env |grep OS
HOSTNAME=controller
OS_PASSWORD=xxxx
OS_AUTH_URL=http://controller:35357/v2.0
OS_USERNAME=admin
OS_TENANT_NAME=admin


#source demo-openrc.sh
#env |grep OS
HOSTNAME=controller
OS_PASSWORD=xxxx
OS_AUTH_URL=http://controller:5000/v2.0
OS_USERNAME=demo
OS_TENANT_NAME=demo
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to