Comment 13 for bug 1420335

Revision history for this message
James Carey (jecarey) wrote :

Here is what I think the situation is:
(1) Cinder moved to using the oslo.i18n library instead of gettextutils from oslo-incubator with https://review.openstack.org/#/c/112613/ which was merged into master on August 9, 2014 which means Juno uses oslo.i18n. This was the first release of the oslo.i18n library 1.0.0.
(2) As part of that patch I changed some of the test cases to mess with the internals of the oslo.i18n library in order to have the test perform the same test.
(3) In the next release of oslo.i18n (1.2.0) it moved its internals to oslo_i18n which made the test cases which used the internals of the library no longer work.
(4) These test cases were updated in Kilo with https://review.openstack.org/#/c/145359/ to no longer be naughty, but to instead use a new test fixture provided with oslo.i18n release 1.3.0
(5) stable/juno did not cap the oslo.i18n library, so instead of using release 1.0.0, it picked up the latest version 1.3.1 This broke Cinder in stable/juno.
(6) The patch in #4 above was backported to stable/juno with https://review.openstack.org/#/c/145642/ in order to fix Cinder in stable/juno

What is happening now:
(A) stable/juno should not use the new oslo.i18n versions. It is going to be patched to pin it to pin oslo.i18n to 1.0.0. This is prior to the namespace change #3 above.
(B) This will break the patch added to stable/juno in #6 above because it relies both on the namespace (1.2.0) and the fixture (1.3.0), so it must be reverted. This will return cinder to the code that worked with oslo.i18n 1.0.0.