<div dir="ltr">why not use devstack [1] with a minimal local.conf (used to specify which components to install) ?<div><br></div><div>[1] <a href="http://docs.openstack.org/developer/devstack/">http://docs.openstack.org/developer/devstack/</a></div><div><br></div><div>minimal local.conf:</div><div><br></div><div><div>[[local|localrc]]</div><div>RECLONE=yes</div><div><br></div><div># Credentials</div><div>DATABASE_PASSWORD=openstack</div><div>ADMIN_PASSWORD=openstack</div><div>SERVICE_PASSWORD=openstack</div><div>RABBIT_PASSWORD=openstack</div><div><br></div><div># Services</div><div>ENABLED_SERVICES=rabbit,mysql,key</div><div>ENABLED_SERVICES+=,horizon</div><div><br></div><div># Enable Logging<br></div><div>LOGFILE=/opt/stack/logs/stack.sh.log</div><div>VERBOSE=True</div><div>LOG_COLOR=True</div><div>SCREEN_LOGDIR=/opt/stack/logs</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 23, 2017 at 8:39 AM, Daniel Gitu <span dir="ltr"><<a href="mailto:gitudaniel@gmail.com" target="_blank">gitudaniel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm new to all this and I am in need of help to find out where I went wrong.<br>
This is a bit lengthy, I have left a blank space between the text and the error<br>
messages I received.<br>
I first set up and activated a virtual environment then cloned the keystone<br>
project into that environment.<br>
I then proceeded to cd into keystone and executed pip install -r<br>
requirements.txt and got the following errors:<br>
<br>
    Failed building wheel for cryptography<br>
    Failed cleaning build dir for cryptography<br>
    Failed building wheel for netifaces<br>
    Failed building wheel for pycrypto<br>
    Command "/home/grenouille/openstack/bi<wbr>n/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-bu<wbr>ild-XqTJv_/cryptography/setup.<wbr>py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().<wbr>replace('\r\n', '\n');f.close();exec(compile(c<wbr>ode, __file__, 'exec'))" install --record /tmp/pip-nFp6dT-record/install<wbr>-record.txt --single-version-externally-ma<wbr>naged --compile --install-headers /home/grenouille/openstack/inc<wbr>lude/site/python2.7/cryptograp<wbr>hy" failed with error code 1 in /tmp/pip-build-XqTJv_/cryptogr<wbr>aphy/<br>
<br>
The above errors were resolved by executing; sudo apt-get install<br>
build-essential libssl-dev libffi-dev python-dev and re-running<br>
pipinstall -r requirements.txt<br>
I ran sudo apt install tox and executed tox in the keystone directory<br>
As tox was installing dependencies the first line read:<br>
<br>
    ERROR: invocation failed (exit code 1), logfile: /home/grenouille/openstack/key<wbr>stone/.tox/docs      /log/docs-1.log<br>
    ERROR: actionid: docs<br>
<br>
The final error message read:<br>
<br>
    ERROR: could not install deps [-r/home/grenouille/openstack/<wbr>keystone/test-requirements.txt<wbr>, .[ldap,memcache,mongodb]]; v = InvocationError('/home/grenoui<wbr>lle/openstack/keystone/.tox/<wbr>docs/bin/pip install -chttps://<a href="http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt" rel="noreferrer" target="_blank">git.openstack.org/cg<wbr>it/openstack/requirements/plai<wbr>n/upper-constraints.txt</a> -r/home/grenouille/openstack/k<wbr>eystone/test-requirements.txt .[ldap,memcache,mongodb] (see /home/grenouille/openstack/key<wbr>stone/.tox/docs/log/docs-1.log<wbr>)', 1)<br>
<br>
<br>
Regards,<br>
Daniel.<br>
<br>
<br>
<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</blockquote></div><br></div>