[openstack-dev] [all] Problems with keystoneclient stable branch (and maybe yours too)

Brant Knudson blk at acm.org
Tue Apr 14 13:59:56 UTC 2015


On Mon, Apr 13, 2015 at 9:33 PM, gordon chung <gord at live.ca> wrote:

> >
> >> 2) Incorrect cap in requirements.txt
> >>
> >> python-keystoneclient in stable/juno was capped at <=1.1.0, and 1.1.0 is
> >> the version tagged for the stable branch. When you create a review in
> >> stable/juno it installs python-keystoneclient and now the system has
> got a
> >> version like 1.1.0.post1, which is>1.1.0, so now python-keystoneclient
> >> doesn't match the requirements and swift-proxy fails to start
> (swift-proxy
> >> is very good at catching this problem for whatever reason). The cap
> should
> >> have been <1.2.0 so that we can propose patches and also make fix
> releases
> >> (1.1.1, 1.1.2, etc.).[3]
> >>
> >> [3] https://review.openstack.org/#/c/172718/
> >
> > Approved.
>
> we have the same issue for ceilometerclient for both icehouse[1] and
> juno[2], i put up requirement patches for each [3][4]
>
> [1] https://review.openstack.org/#/c/173085/
> [2] https://review.openstack.org/#/c/173086/
> [3] https://review.openstack.org/#/c/173149/
> [4] https://review.openstack.org/#/c/173148/
>
>
Those caps were originally <=1.0.12 and the new cap is <1.0.13, but these
caps are equivalent since the next fix release after 1.0.12 is 1.0.13
(unless you can use a version with 1.0.12.1?). So I'm not sure how this is
going to work.


> >
> >>
> >> I tried to recap all of the clients but that didn't pass Jenkins,
> probably
> >> because one or more clients didn't use semver correctly and have
> >> requirements updates in a micro release.[4]
> >>
> >> [4] https://review.openstack.org/#/c/172719/
> >
> > Did you literally update them all, or only the ones that looked like
> > they might be wrong? It looks like those caps came from the cap.py
> > script in the repository, which makes me wonder if we were just too
> > aggressive with defining what the cap should be.
> >
>
>
I updated all the python-*clients to allow for fixes, e.g., from
<=[major].[minor].[fix] to <[major].[minor+1].0. When this didn't work I
thought about checking all the client repos to see which ones have problems
but that was more work than I was willing to do.

don't know about others but full disclosure, we didn't use SEMVER
> correctly. :\
>
>
Maybe projects that didn't use semver correctly can't have stable branches
for now. I'm not sure what all the drawbacks are... maybe just that you
don't get to backport security fixes.

- Brant


> cheers,
> gord
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150414/5bc28275/attachment.html>


More information about the OpenStack-dev mailing list