[Openstack] Does OpenStack Folsom support OCCI ?

Giuseppe La Rocca giuseppe.larocca at ct.infn.it
Fri Apr 19 15:52:50 UTC 2013


Dear All,

I've successfully installed OpenStack for CentOS 6.3 (Folsom) and now I 
was trying
to add the OCCI support since we want to implement some APIs for testing 
the interoperability
with other cloud solutions.

I was following the instructions reported in this link: 
https://github.com/tmetsch/occi-os and
suggested by Florian Feldhaus. Unfortunately the distribution i was 
looking for (occi-os-folsom)
seems not be available in the repo.

$ pip-python install occi-os-folsom
Downloading/unpacking occi-os-folsom
   Could not find any downloads that satisfy the requirement occi-os-folsom
*No distributions at all found for occi-os-folsom*
Storing complete log in /root/.pip/pip.log

 From repo the only available distribution is the previous one ..

$ pip-python install openstackocci
Downloading/unpacking openstackocci
*Downloading openstackocci-essex-1.1.tar.gz*
   Running setup.py egg_info for package openstackocci
Requirement already satisfied (use --upgrade to upgrade): distribute in 
/usr/lib/python2.6/site-packages (from openstackocci)
Installing collected packages: openstackocci
   Running setup.py install for openstackocci
Successfully installed openstackocci
Cleaning up...

The problem is that with this previous one nova-api fails to start. See 
below the nova's api log file:

$ cat /var/log/nova/api.log
[..]
2013-04-12 10:05:05 9107 INFO keystone.middleware.auth_token [-] 
Starting keystone auth_token middleware
2013-04-12 10:05:05 9107 INFO keystone.middleware.auth_token [-] Using 
/tmp/keystone-signing-nova as cache directory for signing certificate
2013-04-12 10:05:05 9107 INFO nova.wsgi [-] osapi_volume listening on 
0.0.0.0:8776
2013-04-12 10:05:05 9107 INFO nova.service [-] Starting 1 workers
2013-04-12 10:05:05 9107 INFO nova.service [-] Started child 9329
2013-04-12 10:05:05 9107 DEBUG nova.wsgi [-] Loading app occiapi from 
/etc/nova/api-paste.ini load_app 
/usr/lib/python2.6/site-packages/nova/wsgi.py:371
2013-04-12 10:05:05 9329 INFO nova.osapi_volume.wsgi.server [-] (9329) 
wsgi starting up on http://0.0.0.0:8776/

2013-04-12 10:05:05 9107 *CRITICAL nova [-] occi-os-folsom*
2013-04-12 10:05:05 9107 TRACE nova Traceback (most recent call last):
2013-04-12 10:05:05 9107 TRACE nova   File "/usr/bin/nova-api", line 50, 
in <module>
2013-04-12 10:05:05 9107 TRACE nova     server = service.WSGIService(api)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/nova/service.py", line 577, in __init__
2013-04-12 10:05:05 9107 TRACE nova     self.app = 
self.loader.load_app(name)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/nova/wsgi.py", line 372, in load_app
2013-04-12 10:05:05 9107 TRACE nova     return 
deploy.loadapp("config:%s" % self.config_path, name=name)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 247, in loadapp
2013-04-12 10:05:05 9107 TRACE nova     return loadobj(APP, uri, 
name=name, **kw)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 272, in loadobj
2013-04-12 10:05:05 9107 TRACE nova     return context.create()
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 710, in create
2013-04-12 10:05:05 9107 TRACE nova     return self.object_type.invoke(self)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 144, in invoke
2013-04-12 10:05:05 9107 TRACE nova     **context.local_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/util.py", 
line 56, in fix_call
2013-04-12 10:05:05 9107 TRACE nova     val = callable(*args, **kw)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/paste/urlmap.py", line 25, in 
urlmap_factory
2013-04-12 10:05:05 9107 TRACE nova     app = loader.get_app(app_name, 
global_conf=global_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 350, in get_app
2013-04-12 10:05:05 9107 TRACE nova     name=name, 
global_conf=global_conf).create()
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 362, in app_context
2013-04-12 10:05:05 9107 TRACE nova     APP, name=name, 
global_conf=global_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 450, in get_context
2013-04-12 10:05:05 9107 TRACE nova global_additions=global_additions)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 559, in _pipeline_app_context
2013-04-12 10:05:05 9107 TRACE nova     APP, pipeline[-1], global_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 454, in get_context
2013-04-12 10:05:05 9107 TRACE nova     section)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 476, in _context_from_use
2013-04-12 10:05:05 9107 TRACE nova     object_type, name=use, 
global_conf=global_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 406, in get_context
2013-04-12 10:05:05 9107 TRACE nova     global_conf=global_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 296, in loadcontext
2013-04-12 10:05:05 9107 TRACE nova     global_conf=global_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 328, in _loadegg
2013-04-12 10:05:05 9107 TRACE nova     return 
loader.get_context(object_type, name, global_conf)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 620, in get_context
2013-04-12 10:05:05 9107 TRACE nova     object_type, name=name)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", 
line 640, in find_egg_entry_point
2013-04-12 10:05:05 9107 TRACE nova pkg_resources.require(self.spec)
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/pkg_resources.py", line 696, in require
2013-04-12 10:05:05 9107 TRACE nova     needed = 
self.resolve(parse_requirements(requirements))
2013-04-12 10:05:05 9107 TRACE nova   File 
"/usr/lib/python2.6/site-packages/pkg_resources.py", line 594, in resolve
2013-04-12 10:05:05 9107 TRACE nova     raise DistributionNotFound(req)
2013-04-12 10:05:05 9107 TRACE *nova DistributionNotFound: occi-os-folsom*
2013-04-12 10:05:05 9107 TRACE nova
2013-04-12 10:05:05 9326 INFO nova.service [-] Parent process has died 
unexpectedly, exiting
2013-04-12 10:05:05 9329 INFO nova.service [-] Parent process has died 
unexpectedly, exiting
2013-04-12 10:05:05 9326 INFO nova.wsgi [-] Stopping WSGI server.
2013-04-12 10:05:05 9329 INFO nova.wsgi [-] Stopping WSGI server.

Can you please let me know if there is a support for OCCI with Openstack 
Folsom ?
Do you know where i can find the correct distribution and fix this problem ?

Any hints are welcome.

Many thanks in advance,
~ Giuseppe

-- 
_______________________________________________
Giuseppe LA ROCCA			
INFN - National Institute of Nuclear Physics
Via Santa Sofia, no. 64  		
95123 Catania - ITALY			
Phone +39 (095)3785519
Fax   +39 (095)337938
Email giuseppe.larocca(at)ct.infn.it
Skype giuseppelarocca
________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130419/8b0fa650/attachment.html>


More information about the Openstack mailing list