There is no object-store endpoint on this auth server.
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 ?