[openstack-dev] devstack installation problem

Skyler Berg sberg at tintri.com
Sun Jul 12 23:55:43 UTC 2015


I just ran into this issue because I was installing a package that was
bringing in keystonemiddleware 1.5.x which was downgrading pbr to <1.0.
I fixed this problem by upgrading keystonemiddleware to 2.x.x with:

pip install -U keystonemiddleware

After that, devstack worked fine again.

This break happened after the RDO packages used in devstack were changed
from Juno to Kilo.

Skyler Berg


The 07/11/2015 18:18, Jeremy Stanley wrote:
> On 2015-07-11 18:09:26 +0000 (+0000), Jeremy Stanley wrote:
> > On 2015-07-11 22:49:27 +0530 (+0530), Venkateswarlu P wrote:
> > > After running ./stack.sh
> > > I am getting the following error.
> > > 
> > > 015-07-11 17:01:02.188 |     error in setup command: 'tests_require' must
> > > be a string or list of strings containing valid project/version requirement
> > > specifiers; Expected ',' or end-of-list in
> > > python-ldap>=2.4;python_version=='2.7' at ;python_version=='2.7'
> > [...]
> > 
> > That's an indication something's dragging in an older PBR release
> > that didn't know not to copy environment markers into tests_require.
> > Without more of the logs indicating what installed which versions of
> > PBR and why, it's hard to tell you any more than that. Are you
> > running from the DevStack master branch or a stable/something
> > branch?
> 
> Oh, I also meant to add that if you're re-running stack.sh on a
> machine where you've already run it before, this is a known issue.
> See https://launchpad.net/bugs/1468808 for a detailed explanation
> and current workaround.
> -- 
> Jeremy Stanley
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list