<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear All,<br>
    <br>
    I've successfully installed OpenStack for CentOS 6.3 (Folsom) and
    now I was trying <br>
    to add the OCCI support since we want to implement some APIs for
    testing the interoperability <br>
    with other cloud solutions.<br>
    <br>
    I was following the instructions reported in this link: <a
      class="moz-txt-link-freetext"
      href="https://github.com/tmetsch/occi-os">https://github.com/tmetsch/occi-os</a>
    and<br>
    suggested by Florian Feldhaus. Unfortunately the distribution i was
    looking for (occi-os-folsom) <br>
    seems not be available in the repo. <br>
    <br>
    $ pip-python install occi-os-folsom<br>
    Downloading/unpacking occi-os-folsom<br>
      Could not find any downloads that satisfy the requirement
    occi-os-folsom<br>
    <b>No distributions at all found for occi-os-folsom</b><br>
    Storing complete log in /root/.pip/pip.log<br>
    <br>
    From repo the only available distribution is the previous one ..<br>
    <br>
    $ pip-python install openstackocci<br>
    Downloading/unpacking openstackocci<br>
      <b>Downloading openstackocci-essex-1.1.tar.gz</b><br>
      Running setup.py egg_info for package openstackocci<br>
    Requirement already satisfied (use --upgrade to upgrade): distribute
    in /usr/lib/python2.6/site-packages (from openstackocci)<br>
    Installing collected packages: openstackocci<br>
      Running setup.py install for openstackocci<br>
    Successfully installed openstackocci<br>
    Cleaning up...<br>
    <br>
    The problem is that with this previous one nova-api fails to start.
    See below the nova's api log file:<br>
    <br>
    $ cat /var/log/nova/api.log<br>
    [..]<br>
    2013-04-12 10:05:05 9107 INFO keystone.middleware.auth_token [-]
    Starting keystone auth_token middleware<br>
    2013-04-12 10:05:05 9107 INFO keystone.middleware.auth_token [-]
    Using /tmp/keystone-signing-nova as cache directory for signing
    certificate<br>
    2013-04-12 10:05:05 9107 INFO nova.wsgi [-] osapi_volume listening
    on 0.0.0.0:8776<br>
    2013-04-12 10:05:05 9107 INFO nova.service [-] Starting 1 workers<br>
    2013-04-12 10:05:05 9107 INFO nova.service [-] Started child 9329<br>
    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<br>
    2013-04-12 10:05:05 9329 INFO nova.osapi_volume.wsgi.server [-]
    (9329) wsgi starting up on <a class="moz-txt-link-freetext"
      href="http://0.0.0.0:8776/">http://0.0.0.0:8776/</a><br>
    <br>
    2013-04-12 10:05:05 9107 <b>CRITICAL nova [-] occi-os-folsom</b><br>
    2013-04-12 10:05:05 9107 TRACE nova Traceback (most recent call
    last):<br>
    2013-04-12 10:05:05 9107 TRACE nova   File "/usr/bin/nova-api", line
    50, in <module><br>
    2013-04-12 10:05:05 9107 TRACE nova     server =
    service.WSGIService(api)<br>
    2013-04-12 10:05:05 9107 TRACE nova   File
    "/usr/lib/python2.6/site-packages/nova/service.py", line 577, in
    __init__<br>
    2013-04-12 10:05:05 9107 TRACE nova     self.app =
    self.loader.load_app(name)<br>
    2013-04-12 10:05:05 9107 TRACE nova   File
    "/usr/lib/python2.6/site-packages/nova/wsgi.py", line 372, in
    load_app<br>
    2013-04-12 10:05:05 9107 TRACE nova     return
    deploy.loadapp("config:%s" % self.config_path, name=name)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     return loadobj(APP, uri,
    name=name, **kw)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     return context.create()<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     return
    self.object_type.invoke(self)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     **context.local_conf)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     val = callable(*args, **kw)<br>
    2013-04-12 10:05:05 9107 TRACE nova   File
    "/usr/lib/python2.6/site-packages/paste/urlmap.py", line 25, in
    urlmap_factory<br>
    2013-04-12 10:05:05 9107 TRACE nova     app =
    loader.get_app(app_name, global_conf=global_conf)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     name=name,
    global_conf=global_conf).create()<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     APP, name=name,
    global_conf=global_conf)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova    
    global_additions=global_additions)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     APP, pipeline[-1],
    global_conf)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     section)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     object_type, name=use,
    global_conf=global_conf)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     global_conf=global_conf)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     global_conf=global_conf)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     return
    loader.get_context(object_type, name, global_conf)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova     object_type, name=name)<br>
    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<br>
    2013-04-12 10:05:05 9107 TRACE nova    
    pkg_resources.require(self.spec)<br>
    2013-04-12 10:05:05 9107 TRACE nova   File
    "/usr/lib/python2.6/site-packages/pkg_resources.py", line 696, in
    require<br>
    2013-04-12 10:05:05 9107 TRACE nova     needed =
    self.resolve(parse_requirements(requirements))<br>
    2013-04-12 10:05:05 9107 TRACE nova   File
    "/usr/lib/python2.6/site-packages/pkg_resources.py", line 594, in
    resolve<br>
    2013-04-12 10:05:05 9107 TRACE nova     raise
    DistributionNotFound(req)<br>
    2013-04-12 10:05:05 9107 TRACE <b>nova DistributionNotFound:
      occi-os-folsom</b><br>
    2013-04-12 10:05:05 9107 TRACE nova <br>
    2013-04-12 10:05:05 9326 INFO nova.service [-] Parent process has
    died unexpectedly, exiting<br>
    2013-04-12 10:05:05 9329 INFO nova.service [-] Parent process has
    died unexpectedly, exiting<br>
    2013-04-12 10:05:05 9326 INFO nova.wsgi [-] Stopping WSGI server.<br>
    2013-04-12 10:05:05 9329 INFO nova.wsgi [-] Stopping WSGI server.<br>
    <br>
    Can you please let me know if there is a support for OCCI with
    Openstack Folsom ?<br>
    Do you know where i can find the correct distribution and fix this
    problem ?<br>
    <br>
    Any hints are welcome.<br>
    <br>
    Many thanks in advance,<br>
    ~ Giuseppe
    <pre class="moz-signature" cols="72">-- 
_______________________________________________
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
________________________________________________
</pre>
  </body>
</html>