Hi John, Thanks a lot for your response :) I followed the instructions from https://github.com/cloudkeep/barbican/wiki/Barbican-Quick-Start-Guide
There were few packages that were missing .Please find the Additional steps below : - pip install pecan - will install pecan - pip install alembic - will install alembic - yum install openldap-devel - pip install python-ldap Thanks and Regards, Asha Seshagiri On Wed, Mar 25, 2015 at 5:17 PM, John Wood <john.w...@rackspace.com> wrote: > Hello Asha, > > It seems like your installer script might be crashing for some reason. > You might need to execute the steps in the installer script manually to > stand things up, such as the pip install step here: > https://github.com/openstack/barbican/blob/master/bin/barbican.sh#L87 > > Please let us know if that helps. > > Thanks, > John > > From: Asha Seshagiri <asha.seshag...@gmail.com> > Date: Wednesday, March 25, 2015 at 2:24 PM > To: openstack-dev <openstack-dev@lists.openstack.org> > Cc: John Wood <john.w...@rackspace.com>, Douglas Mendizabal < > douglas.mendiza...@rackspace.com>, "Reller, Nathan S." < > nathan.rel...@jhuapl.edu> > Subject: Barbican : Unable to install Barbican on CentOS due to Import > Error > > Hi , > > When I tried installing barbican using the command bin/barbican.sh > install , I got the following error : > > *ImportError: No module named pecan* > Traceback (most recent call last): > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 247, in loadapp > return loadobj(APP, uri, name=name, **kw) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 272, in loadobj > return context.create() > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 710, in create > return self.object_type.invoke(self) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 144, in invoke > **context.local_conf) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/util.py", > line 55, in fix_call > val = callable(*args, **kw) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/urlmap.py", > line 25, in urlmap_factory > app = loader.get_app(app_name, global_conf=global_conf) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 350, in get_app > name=name, global_conf=global_conf).create() > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 362, in app_context > APP, name=name, global_conf=global_conf) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 450, in get_context > global_additions=global_additions) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 559, in _pipeline_app_context > APP, pipeline[-1], global_conf) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 458, in get_context > section) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 517, in _context_from_explicit > value = import_string(found_expr) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 22, in import_string > return pkg_resources.EntryPoint.parse("x=" + s).load(False) > File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line > 2320, in load > File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line > 2326, in resolve > File "/root/barbican/barbican/api/__init__.py", line 22, in <module> > import pecan > ImportError: No module named pecan > OOPS ! failed loading app in worker 1 (pid 27606) :( trying again... > worker respawning too fast !!! i have to sleep a bit (2 seconds)... > OOPS ! failed loading app in worker 1 (pid 27607) :( trying again... > worker respawning too fast !!! i have to sleep a bit (2 seconds)... > Respawned uWSGI worker 1 (new pid: 27608) > Respawned uWSGI worker 1 (new pid: 27609) > Loading paste environment: config:/etc/barbican/barbican-api-paste.ini > Loading paste environment: config:/etc/barbican/barbican-admin-paste.ini > Traceback (most recent call last): > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 247, in loadapp > return loadobj(APP, uri, name=name, **kw) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 271, in loadobj > global_conf=global_conf) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 296, in loadcontext > global_conf=global_conf) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 320, in _loadconfig > return loader.get_context(object_type, name, global_conf) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 450, in get_context > global_additions=global_additions) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 559, in _pipeline_app_context > APP, pipeline[-1], global_conf) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 458, in get_context > section) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 517, in _context_from_explicit > value = import_string(found_expr) > File > "/root/.pyenv/versions/barbican27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 22, in import_string > return pkg_resources.EntryPoint.parse("x=" + s).load(False) > > Any help would be appreciated! > Thanks in advance ! > > -- > *Thanks and Regards,* > *Asha Seshagiri* > -- *Thanks and Regards,* *Asha Seshagiri*
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev