← Back to team overview

openstack team mailing list archive

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

 

Ubuntu 12.04 LTS with Essex.

I have created endpoint for swift, but still swift reports there is no
endpoint.


root@OpenStack:~# export OS_USERNAME=swift
root@OpenStack:~# export OS_TENANT_NAME=service
root@OpenStack:~# export OS_PASSWORD=swiftpass
root@OpenStack:~# export OS_AUTH_URL=http://OpenStack:5000/v2.0/
root@OpenStack:~# export OS_REGION_NAME=RegionOne

*root@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@OpenStack:~# source creds/openrc *

root@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@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@OpenStack:~#



-- 
Thanks & Regards,
Shashi Kanth

Follow ups