There is no object-store endpoint on this auth server.

Asked by dubi

1)
I have 'gitted ' from devstack from master and used the following pasted localrc when running stack.sh (I enabled swift .
. I guess it should generate proxy & storage on same machine) .It finished ok .
 I can access the Dashboard .

Yet when I try to access swift with the following CLI ( at the installed server)
 swift -A http://9.148.4.70:5000/v2.0 -U admin -K passw0rd list

I get the following reply: There is no object-store endpoint on this auth server.
The keystone seems ok because when I curl with the credentials I get a token for the admin/passw0rd I specify
with expiration date etc.

Can you explain why ?

here is localrc content:

ADMIN_PASSWORD=passw0rd
MYSQL_PASSWORD=passw0rd
RABBIT_PASSWORD=passw0rd
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD

# Set DevStack Install Directory
# ------------------------------

# The DevStack install directory is set by the ``DEST`` variable. By setting it
# early in ``localrc`` you can reference it in later variables. The default value
# is ``/opt/stack``. It can be useful to set it even though it is not changed from
# the default value.
DEST=/opt/stack

# Swift
# -----

# Swift is now used as the back-end for the S3-like object store. If Nova's
# objectstore (``n-obj`` in ``ENABLED_SERVICES``) is enabled, it will NOT
# run if Swift is enabled. Setting the hash value is required and you will
# be prompted for it if Swift is enabled so just set it to something already:
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
ENABLED_SERVICE="$ENABLED_SERVICES,swift"

echo $ENABLED_SERVICE

# For development purposes the default of 3 replicas is usually not required.
# Set this to 1 to save some resources:
SWIFT_REPLICAS=1

# The data for Swift is stored in the source tree by default (``$DEST/swift/data``)
# and can be moved by setting ``SWIFT_DATA_DIR``. The directory will be created
# if it does not exist.
SWIFT_DATA_DIR=$DEST/data

2) what is the way to create an account via CLI . Is it generated automatically on the first POST CLI command for the
Authenticated user ? And under what account name ?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
dubi
Solved:
Last query:
Last reply:
Revision history for this message
gholt (gholt) said :
#1

I can't really help with this issue, but maybe I can point you toward someone who can.

"There is no object-store endpoint on this /auth/ server." seems to indicate an issue with the auth service itself. I believe your using Keystone (the v2.0 usually means that) so maybe the Keystone folks can help out. Somehow you have to get an "object-store" endpoint configured in Keystone that points to your Swift cluster.

Also, it could be an issue with how DevStack deployed everything, so maybe those folks could help out.

Unfortunately, I'm not familiar with either Keystone or DevStack, there might be a few Swift devs who are though.

Revision history for this message
Chmouel Boudjnah (chmouel) said :
#2

you need to use the tenant_name:user syntax ie:

 swift -A http://9.148.4.70:5000/v2.0 -U admin:admin -K passw0rd list

Revision history for this message
dubi (dubi-il) said :
#3

it does not help either

Revision history for this message
dubi (dubi-il) said :
#4

solved

Revision history for this message
dubi (dubi-il) said :
#5

solved