Ask Your Question
0

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

asked 2012-05-27 04:23:13 -0500

dubi-il gravatar image

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 ?

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2012-05-28 12:39:02 -0500

dubi-il gravatar image

it does not help either

edit flag offensive delete link more
0

answered 2012-05-30 15:42:15 -0500

dubi-il gravatar image

solved

edit flag offensive delete link more
0

answered 2012-05-30 15:43:22 -0500

dubi-il gravatar image

solved

edit flag offensive delete link more
0

answered 2012-05-27 05:27:15 -0500

gholt gravatar image

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.

edit flag offensive delete link more
0

answered 2012-05-27 09:22:17 -0500

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

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: 2012-05-27 04:23:13 -0500

Seen: 87 times

Last updated: May 30 '12