Ask Your Question
0

Add a new store

asked 2012-06-07 10:19:32 -0500

I want to create a new store. Just to start of I created a filesystem2.py with contents as file2,filesystems2 and did and update to images.py. The restarted glance after updating api.conf file. However it does not identify my new store. Any code has to be updated further.Pointers will be useful

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2012-06-07 12:14:25 -0500

eglynn gravatar image

Have you updated the known_stores config option in glance-api.conf?

The out-of-the-box setting is:

List of which store classes and store class locations are

currently known to glance at startup.

known_stores = glance.store.filesystem.Store, glance.store.http.Store, glance.store.rbd.Store, glance.store.s3.Store, glance.store.swift.Store,

This toption is crucial for glance to be able to map from a store scheme to the glue-code responsible for interacting with that store.

edit flag offensive delete link more
0

answered 2012-06-08 11:54:22 -0500

After the above update it worked. Thankyou. However I think we must updating python files for this change like images.py.

edit flag offensive delete link more
0

answered 2012-06-08 11:57:06 -0500

After the above update it worked. Thankyou. However I think we must not update python files for this change like images.py.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-06-07 10:19:32 -0500

Seen: 17 times

Last updated: Jun 08 '12