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

Shashi Kanth Boddula shashi.bsd at gmail.com
Tue May 8 00:42:39 UTC 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120508/49e25cf4/attachment.html>


More information about the Openstack mailing list