[openstack-dev] [keystone] keystonemiddleware stable/juno broken

Brant Knudson blk at acm.org
Tue Apr 21 16:12:12 UTC 2015


On Sun, Apr 19, 2015 at 2:21 PM, Brant Knudson <blk at acm.org> wrote:

>
> Ever since the stable/juno branch was created for keystonemiddleware it's
> been broken and there are several changes piling up there. The fix for bug
> 1408838 "Tests fail with new oslo.utils 1.2.1" allows the tests to pass. I
> cherry-picked the fix here[1].
>
> Based on the title of the bug, you'd think that capping oslo.utils<1.2.1
> would be an alternative fix, but I tried installing older versions of
> oslo.utils and eventually it failed with a completely different error, so I
> think that's a dead end.
>
> [1] https://review.openstack.org/#/c/175232/
>
>
So this fix has merged, but keystonemiddleware has another problem -- the
proposal bot posted a change to get the requirements up to date and that's
failing all the -python* jobs. Looks like what's happening is that during
the tox venv installation the oslo.messaging package is being updated to
version 1.9.0, which is way newer than the other oslo packages and this is
causing a test that uses pkg_resource to fail with a dependency issue
(oslo.messaging 1.9.0 requires oslo.utils<1.5.0,>1.4.0 but global
requirements has oslo.utils<1.2.0, so that's what's installed). This all
appears to be related to other issues we've seen where the dep resolver
isn't working as expected.

I tried using an older pycadf (which, from the tox logs is where
oslo.messaging is being upgraded) but it was only with a very old version
of pycadf that things worked.

So the current proposed fix is to move oslo.messaging from
test-requirements.txt to requirements.txt. The correct oslo.messaging gets
installed when both pycadf and oslo.messaging are in the same file.
Hopefully this is ok and can be done in a fix release... oslo.messaging was
already a requirement for pycadf so this shouldn't cause an issue for
packagers.[1]

[1] https://review.openstack.org/#/c/175688/

If this sounds ok I'll squash the change into the parent review so that it
can get merged.

- Brant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150421/b4c4497f/attachment.html>


More information about the OpenStack-dev mailing list