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

Andy Smith andyster at gmail.com
Thu May 17 04:16:24 UTC 2012


Just ran into this, the issue is that swift expects the user to be of the
form TENANTNAME:USERNAME

swift will accept the ST_USER env variable, so you can add something like
this to your env:

export ST_USER=openstackDemo:adminUser


On Tue, May 8, 2012 at 8:42 AM, Shashi Kanth Boddula
<shashi.bsd at gmail.com>wrote:

> Ubuntu 12.04 LTS with Essex.
>
> I have created endpoint for swift, but still swift reports there is no
> endpoint.
>
>
> root at OpenStack:~# export OS_USERNAME=swift
> root at OpenStack:~# export OS_TENANT_NAME=service
> root at OpenStack:~# export OS_PASSWORD=swiftpass
> root at OpenStack:~# export OS_AUTH_URL=http://OpenStack:5000/v2.0/
> root at OpenStack:~# export OS_REGION_NAME=RegionOne
>
> *root at OpenStack:~# swift list
> There is no object-store endpoint on this auth server.
>
> *# cat creds/openrc
> export OS_USERNAME=adminUser
> export OS_TENANT_NAME=openstackDemo
> export OS_PASSWORD=secretword
> export OS_AUTH_URL=http://OpenStack:5000/v2.0/
> export OS_REGION_NAME=RegionOne*
>
> *root at OpenStack:~# source creds/openrc *
>
> root at OpenStack:~# swift list
> There is no object-store endpoint on this auth server.
>
> *
> # curl -d '{"auth": {"tenantName": "openstackDemo",
> "passwordCredentials":{"username": "adminUser", "password":
> "secretword"}}}' -H "Content-type: application/json"
> http://OpenStack:35357/v2.0/tokens | python -mjson.tool
>
> {
>                 "endpoints": [
>                     {
>                         "adminURL": "http://OpenStack:8080/",
>                         "internalURL": "
> http://OpenStack:8080/v2/AUTH_0e63498833bf44e4aeb0ac314635b68f",
>                         "publicURL": "
> http://OpenStack:8080/v2/AUTH_0e63498833bf44e4aeb0ac314635b68f",
>                         "region": "RegionOne"
>                     }
>                 ],
>                 "endpoints_links": [],
>                 "name": "swift",
>                 "type": "object-store"
>             },
>
>
> # cat /etc/keystone/keystone.conf | grep templ
> template_file = /etc/keystone/default_catalog.templates
>
> # cat /etc/keystone/default_catalog.templates | grep object
> catalog.RegionOne.object-store.publicURL =
> http://localhost:8080/v1/AUTH_$(tenant_id)s
> catalog.RegionOne.object-store.adminURL = http://localhost:8080/
> catalog.RegionOne.object-store.internalURL =
> http://localhost:8080/v1/AUTH_$(tenant_id)s
> catalog.RegionOne.object-store.name = 'Object Store Service'
>
> root at OpenStack:~# ps -ef | grep proxy-server
> swift    11192     1  0 05:52 ?        00:00:10 /usr/bin/python
> /usr/bin/swift-proxy-server /etc/swift/proxy-server.conf
> swift    11197 11192  0 05:52 ?        00:00:10 /usr/bin/python
> /usr/bin/swift-proxy-server /etc/swift/proxy-server.conf
> root     11753 10159  0 06:10 pts/2    00:00:00 grep --color=auto
> proxy-server
> root at OpenStack:~#
>
>
>
> --
> Thanks & Regards,
> Shashi Kanth
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120517/3114d810/attachment.html>


More information about the Openstack mailing list