Re: [openstack-dev] Barbican : Dependency of pyenv configuration in Barbican.sh script

2015-04-23 Thread Asha Seshagiri
Thanks a lot Douglas for your response. Explanation is great ! I appreciate for your time and efforts. But Accept header is not required for posting the secret but is required while geting the secret as per [1] Accept header was mentioned while retrieving the secret . The same curl command works

Re: [openstack-dev] Barbican : Dependency of pyenv configuration in Barbican.sh script

2015-04-23 Thread Douglas Mendizabal
Hi Asha, I hope I can clear up some of your confusion about the Barbican server. Barbican is a standard WSGI application. [1] The WSGI application object is created by the create_main_app function in barbican.api.app [2]. WSGI should not be confused with uWSGI [3], which is a web server that

Re: [openstack-dev] Barbican : Dependency of pyenv configuration in Barbican.sh script

2015-04-23 Thread Asha Seshagiri
Hi All , Would need help! I tried executing the script present in the link https://github.com/openstack/barbican/blob/master/bin/barbican-api to start the barbican instance but the use cases of barbican are failing. Please find the details of the investigations : Usecase for posting and retrie

Re: [openstack-dev] Barbican : Dependency of pyenv configuration in Barbican.sh script

2015-04-23 Thread Asha Seshagiri
Hi All, Thanks Adam for your response. I am able to run the barbican-api script without SQLLite installation .I guess SQLLite comes configured with barbican installation .Please correct me if I am wrong. [root@barbican-keystone2 barbican]# bin/barbican-api 2015-04-23 11:12:31.571 8265 INFO barbic

Re: [openstack-dev] Barbican : Dependency of pyenv configuration in Barbican.sh script

2015-04-23 Thread Adam Harwell
Do you have sqlite installed on your system, and do you have config.py in the root of your barbican directory? The database is configured there (assuming it hasn’t changed since I last ran Barbican locally), and mine looks like this: config = { 'sqlalchemy': { 'url': 'sqlite:tmp/

Re: [openstack-dev] Barbican : Dependency of pyenv configuration in Barbican.sh script

2015-04-23 Thread neetu jain
Sorry I forgot to introduce myself. My name is Neetu Jain and I will be working on Barbican/HSM at softlayer/IBM. Asha and I are in the same team. On Thu, Apr 23, 2015 at 10:07 AM, neetu jain wrote: > Thanks John for you answer. > I tried running the script bin/barbican-api and ran into this

Re: [openstack-dev] Barbican : Dependency of pyenv configuration in Barbican.sh script

2015-04-23 Thread neetu jain
Thanks John for you answer. I tried running the script bin/barbican-api and ran into this issue (pasted at the end) . Seems like the script does not take care of the database side. 1) do we need to do something else to setup database? or its being worked on ? 2) Can we help in the process of remo

Re: [openstack-dev] Barbican : Dependency of pyenv configuration in Barbican.sh script

2015-04-22 Thread Asha Seshagiri
Thanks a lot John for your response. I appreciate for your time and effort in answering the queries and also pointing to the latest changes which you been always doing :) Thanks and Regards, Asha Seshagiri On Wed, Apr 22, 2015 at 6:09 PM, John Wood wrote: > Hello Asha, > > The barbican.sh sc

Re: [openstack-dev] Barbican : Dependency of pyenv configuration in Barbican.sh script

2015-04-22 Thread John Wood
Hello Asha, The barbican.sh script was originally intended to be a convenient way to boot up a Barbican instance locally to quickly start evaluating its API and functionality. It was not intended to be used as a production script, deferring instead to deployments utilizing packages such as RDO

[openstack-dev] Barbican : Dependency of pyenv configuration in Barbican.sh script

2015-04-22 Thread Asha Seshagiri
Hi All, I would like to know the reason behind the dependency of the pyenv virtual environment and pyenv in the barbican.sh script. Ideally in the production environment , barbican would run on standalone virtual box with a particular python version .I feel that their dependecies needs to be remo