Hi,
keystone is the authentication method. my doubt in keystone Identity Service. When alice launch an instance 1st credentials are sent : what credentials are sending ? is it the admin token? please put an example to show what is the credential and catalog,token etc the whole process so that will have a better understanding what is happening. ******************************************************************************************************************** Thanks for the information. very useful. 100%. Community Rocks :) Glance supports Swift as the storage media: I have modified glance api and registry conf files and added default store as swift. Now I want to know where the image will get stored. ( Meaning inside glance path or swift path ) /var/lib/images which is the default path for glance image or /srv/node/sda1/......" which is the newly created swift image store. Note: In my configuration default glance storage is full. so its getting created inside /srv/node/sda1 as [root@controller objects]# pwd /srv/node/sda1/objects [root@controller objects]# ls 105444 122879 132822 139239 159355 181200 189036 212398 223406 250266 259217 30947 46999 51604 65854 72820 7975 90548 106819 122971 136641 149423 160195 187691 189342 215661 233311 251951 261667 32084 49690 61386 70617 73398 83357 98863 117245 130012 138254 155367 17167 188426 192918 222168 234219 258413 30213 35890 51350 6258 70880 78850 89722 [root@controller objects]# cd 10 105444/ 106819/ [root@controller objects]# cd 105444/ [root@controller 105444]# ls 211 hashes.pkl [root@controller 105444]# cd 211/ [root@controller 211]# ll total 0 drwxr-xr-x 2 swift swift 34 Jun 5 15:41 66f901ec5d1500a3d3a3d7fe06f2b211 [root@controller 211]# cd 66f901ec5d1500a3d3a3d7fe06f2b211/ [root@controller 66f901ec5d1500a3d3a3d7fe06f2b211]# ll total 200004 -rw------- 1 swift swift 204800000 Jun 5 15:41 1401963066.63643.data [root@controller 66f901ec5d1500a3d3a3d7fe06f2b211]# file 1401963066.63643.data 1401963066.63643.data: data Is everything Ok ? Anything I can do make it look better . I mean to show this in dashboard. Regards, Dhanesh. On Wed, Jun 4, 2014 at 11:12 AM, Kuo Hugo <[email protected]> wrote: > Btw, you can place OpenStack Swift as the secondary storage of CloudStack > as well. OpenStack Swift can work as an independent component without any > other OpenStack components. > > > > > 2014-06-04 13:39 GMT+08:00 Kuo Hugo <[email protected]>: > > Hi Dhanesh, >> >> Before answering the questions, I'd like to know what's the >> authentication mechanism of your Swift instance ? (Keystone or TempAuth) >> >> As an admin i can access container and i can upload files. >>> what about users inside a project. After giving reselleradmin access to >>> the project, user is also able to upload files >>> >> >> In case of Swift integrates with Keystone, you can grant >> roles-tenant-user relationship inside keystone. Swift is able to allow >> specific roles for accessing particular project(swift account). >> >> There're two essential middlewares for leveraging Keystone as the >> authentication server for Swift. >> >> - keystoneauth >> - tokenauth >> >> The authtoken middleware will take care of validating the user >> and keystoneauth will authorize access. You can specify permit roles in >> keystoneauth( >> https://github.com/HugoKuo/swift/blob/master/etc/proxy-server.conf-sample#L280-L282 >> ) >> >> So an user with role in operator or reselleradmin means the user is >> capable to operate on the Swift account(project). >> >> >>> >>> what are the uses of swift in openstack? >>> >> >> Various use cases of OpenStack Swift. As far as your question, Swift is >> used for storing instance's raw-images and snapshots with high >> availability(3 replicas in general). >> >> Besides images and snapshots, you can store *any data(especially static >> data)* inside Swift for high availability. >> >> >>> How is it useful as a storage? >>> >> >> Object Storage Capabilities >> >> - OpenStack provides redundant, scalable object storage using >> clusters of standardized servers capable of storing petabytes of data >> - Object Storage is not a traditional file system, but rather a >> distributed storage system for static data such as virtual machine images, >> photo storage, email storage, backups and archives. Having no central >> "brain" or master point of control provides greater scalability, >> redundancy >> and durability. >> - Objects and files are written to multiple disk drives spread >> throughout servers in the data center, with the OpenStack software >> responsible for ensuring data replication and integrity across the >> cluster. >> - Storage clusters scale horizontally simply by adding new servers. >> Should a server or hard drive fail, OpenStack replicates its content from >> other active nodes to new locations in the cluster. Because OpenStack uses >> software logic to ensure data replication and distribution across >> different >> devices, inexpensive commodity hard drives and servers can be used in lieu >> of more expensive equipment. >> >> >> >>> what are the datas we can store inside it? >>> >> >> Photos, VM images, Video, archive, document etc. Good for any data that >> doesn't be edited frequently. Frequently means the data is needed to be >> updated every seconds or mins. >> >> >>> Will it work like glance? >>> >> >> Glance is a layer to mange images with two major parts, database and >> storage media. By default, Glance stores images raw data on local volume >> and metadata in a database(e.g. Mysql). Glance supports Swift as the >> storage media that you can find the configurations over here ( >> https://github.com/openstack/glance/blob/master/etc/glance-api.conf#L299 >> ). >> >> So Swift coordinates with Glance instead of replacing Glance in OpenStack >> platform. >> >> >> >>> In cloudstack we have primary storage and secondary storage. what is the >>> role of swift or object store in opensatck in admin level and project (user >>> )level. >>> >> >> Swift is more like the secondary storage of CloudStack. >> >> >>> >>> Still not clear about swift storage. guide me on this >> >> >> Hope it help >> >> Hugo Kuo >> SwiftStack Inc. >> >> >> >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
