Attempting to add a custom store file, but I receive an CONF error
Hi all,
Hopefully, this is the right place for this question. I basically wrote my own store to glance, which can be found here:
http://
But, I get this error:
2013-03-05 22:55:51 28157 DEBUG glance.store [-] Attempting to import store glance.
ERROR: Unable to load glance-api-keystone from configuration file /etc/glance/
Got: ImportError('Class Store cannot be found ([\'Traceback (most recent call last):\\n\', \' File "/usr/lib/
2013-03-05 22:55:51 28116 ERROR eventlet.
The irods.py store file is located in /usr/lib/
Thanks in advance,
Ed
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Glance Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- digitalwonk
- Solved:
- 2013-03-18
- Last query:
- 2013-03-18
- Last reply:
digitalwonk (digitalwonk) said : | #1 |
If I import the irods.py file from within /usr/lib/
# python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import s3
>>> import irods
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "irods.py", line 27, in <module>
CONF.
File "/usr/lib/
return f(self, *args, **kwargs)
File "/usr/lib/
if _is_opt_
File "/usr/lib/
if opt.dest in opts:
AttributeError: 'list' object has no attribute 'dest'
digitalwonk (digitalwonk) said : | #2 |
The solution was that I was invoking register_opt, when I should have invoked register_opts