Openstack swift with ceph backend (radosgw) -
i trying use openstack (liberty) swift ceph (jewel) using radosgw. aim objects should stored under ceph osds. have working openstack , ceph cluster.
to use ceph object storage backend installed , configured radosgw in ceph cluster . in openstack node installed "python-swiftclient", created object-store service , added endpoint service url of radosgw.
i followed instructions given in link below. http://docs.ceph.com/docs/jewel/radosgw/keystone/
ceph.conf
[client.rgw.rgw] rgw_frontends = "civetweb port=7480" rgw enable ops log = true rgw ops log rados = true rgw thread pool size = 2000 rgw override bucket index max shards = 23 ms dispatch throttle bytes = 209715200 [client.radosgw.gateway] rgw keystone url = http://controller:35357 rgw keystone admin token = admin rgw keystone accepted roles = _member_,admin rgw keystone token cache size = 200 rgw keystone revocation interval = 60 rgw s3 auth use keystone = true nss db path = /var/ceph/nss
openstack endpoints
# openstack endpoint list |grep -i object | 8efd00b48db249e69244a5f3e35356b1 | regionone | swift | object-store | true | internal | http://rgw:7480/swift/v1 | | b7d1c7ccc84640138116d8e6676b28a3 | regionone | swift | object-store | true | admin | http://rgw:7480/swift/v1 | | c7844842b53647a4b623905c54cc6c75 | regionone | swift | object-store | true | public | http://rgw:7480/swift/v1 |
output of swift list command line
# swift list -v test_container
output of swift stat command line
# swift stat -v storageurl: http://rgw:7480/swift/v1 auth token: auth_rgwtk0e00000074657374757365723a737769667431dd200c6d2136112ee6d657300feb16d05ffa8f80a2e53ce6c257b32ec5505ff396e5e8 account: v1 containers: 7 objects: 12 bytes: 168 meta temp-url-key: healthseq x-account-bytes-used-actual: 40960 x-timestamp: 1473615022.41820 x-trans-id: tx0000000000000000006b3-0057d594ae-1f5cb-default content-type: text/plain; charset=utf-8 accept-ranges: bytes
when try access object store - container in openstack dashboard, following error. http://pastebin.com/alevycx8
please see image below error while trying access object store dashboard.
just remove line in code [client.radosgw.gateway] , merge setting
Comments
Post a Comment