[OpenStack-Infra] [I18n] Regarding Zanata upgrade plan to 3.9.6 with Xenial: Help is needed

Ian Y. Choi ianyrchoi at gmail.com
Wed Dec 7 01:33:03 UTC 2016


Hello Clark,

Thanks a lot for helping Xenial upgrade.

https://review.openstack.org/#/c/393405/ needs to be merged for me and 
other translators to
test translate-dev.o.o with current Zanata 3.7.3.


With many thanks,

/Ian


Clark Boylan wrote on 12/6/2016 9:04 AM:
> This change has merged and the service seems up again. Sorry for not
> checking that before weekending.
>
> Clark
>
> On Mon, Dec 5, 2016, at 02:17 PM, Clark Boylan wrote:
>> I think puppet undid my fixes because
>> https://review.openstack.org/#/c/406398/ hasn't merged yet. Once that
>> merges we should be good (I will work on getting that in today).
>>
>> Clark
>>
>> On Mon, Dec 5, 2016, at 01:42 PM, Alex Eng wrote:
>>> Hi,
>>>
>>> For both URL, I can see wildfly 9, but nothing else. What are we testing
>>> here again?
>>>
>>>
>>> ---------------------------------------------
>>>
>>> Alex Eng
>>> Senior Software Engineer
>>> Globalisation Tools Engineering
>>> DID: +61 3514 8262 <callto:+61+3514+8262>
>>> Mobile: +614 2335 3457 <callto:+614+2335+3457>
>>>
>>> Red Hat, Asia-Pacific Pty Ltd
>>> Level 1, 193 North Quay
>>> Brisbane 4000
>>> Office: +61 7 3514 8100 <callto:+61+7+3514+8100>
>>> Fax: +61 7 3514 8199 <callto:+61+7+3514+8199>
>>> Website: www.redhat.com
>>>
>>> On Sat, Dec 3, 2016 at 9:37 AM, Clark Boylan <cboylan at sapwetik.org>
>>> wrote:
>>>
>>>> On Tue, Nov 22, 2016, at 03:56 PM, Clark Boylan wrote:
>>>>> On Wed, Nov 9, 2016, at 09:49 AM, Ian Y. Choi wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I18n team currently uses Zanata in translate.openstack.org so
>>>> frequently
>>>>>> as an OpenStack translation platform.
>>>>>> I really appreciate great help from all contributors, especially infra
>>>>>> team members and Zanata development team
>>>>>> :
>>>>>> http://specs.openstack.org/openstack-infra/infra-specs/
>>>> specs/migrate_to_zanata.html
>>>>>> .
>>>>>>
>>>>>> Thanks to [1], the current deployed Zanata version is 3.7.3.
>>>>>> During about one year, there were some discussions for Zanata
>>>>>> enhancements in many i18n IRC meetings,
>>>>>> and especially Austin & Barcelona summits [2].
>>>>>> Zanata development team members kindly listen to such enhancements, and
>>>>>> they are actively upgrading Zanata
>>>>>> with fixing bugs and incorporating cool features, which are very
>>>> helpful
>>>>>> for translators.
>>>>>>
>>>>>> One main obstacle for upgrading Zanata (as far as I know) was that
>>>> newer
>>>>>> versions of Zanata requires Java 8,
>>>>>> but it is not default on Trusty. To upgrade Zanata, upgrading from
>>>>>> Trusty to Xenial for translate.openstack.org is needed
>>>>>> since default-jre-headless on Trusty is Java 7 and Xenial is Java 8.
>>>>>>
>>>>>> Recently [3] has been merged, so I really hope that i18n team will see
>>>>>> newer version of Zanata soon :)
>>>>>>
>>>>>> I18n team discussed Zanata upgrade with pleia2 and clarkb during i18n
>>>>>> Barcelona meetup (See number 4 in [4]),
>>>>>> and the following is my thoughts on appropriate procedures to support
>>>>>> Zanata latest version
>>>>>> (Currently 3.9.6 - [5]):
>>>>>>
>>>>>> 1. Xenial OS test for translate-dev.openstack.org
>>>>>> : IMO after tests from infra team, [6] will be changed from "# Node-OS:
>>>>>> trusty" to "# Node-OS: xenial"
>>>>>>
>>>>>> 2. Using openstackid instead of openstackid-dev for translators to test
>>>>>> translate-dev.o.o
>>>>>> : I uploaded a patch [7].
>>>>>>
>>>>>> 3. Uploading a patch on openstack-infra/puppet-zanata for Zanata 3.9.6
>>>>>> : [8] is a reference for previous upgrade from Zanata 3.7.2 to 3.7.3
>>>>>>
>>>>>> 4. translate-dev.o.o with Zanata 3.9.6 will be ready => I18n
>>>> translators
>>>>>> will test it :)
>>>>>>
>>>>>> 5. If there will be no error for Zanata 3.9,6, then node upgrade from
>>>>>> Trusty to Xenial and Zanata upgrade to 3.9.6
>>>>>> is needed for translate.openstack.org
>>>>>> : changing [9] line and also proposing a patch similar to [10] will be
>>>>>> needed later.
>>>>>>
>>>>>>
>>>>>> Since newer version of Zanata is what translators are expecting a lot
>>>> :)
>>>>>> ,
>>>>>> I would like to kindly ask infra team members for the help of reviewing
>>>>>> and accomplishing such steps with higher priority.
>>>>>>
>>>>>> @clarkb, would the proposed procedures cover all the things regarding
>>>>>> Zanata upgrade?
>>>>>> If yes, would you share a sort of scheduled plans?
>>>>>> IMO Zanata development team will kindly help following schedules if
>>>>>> there will be some issues which are dependent to Zanata itself.
>>>>>>
>>>>>>
>>>>>> [1] https://review.openstack.org/#/c/240383/
>>>>>> [2] https://etherpad.openstack.org/p/I18n-Zanata-enhancement
>>>>>> [3] https://review.openstack.org/#/c/384239/
>>>>>> [4] https://etherpad.openstack.org/p/barcelona-i18n-meetup
>>>>>> [5] https://github.com/zanata/zanata-platform/releases
>>>>>> [6]
>>>>>> http://git.openstack.org/cgit/openstack-infra/system-config/
>>>> tree/manifests/site.pp#n1282
>>>>>> [7] https://review.openstack.org/#/c/393405/
>>>>>> [8] https://review.openstack.org/#/c/239617/1/manifests/init.pp
>>>>>> [9]
>>>>>> http://git.openstack.org/cgit/openstack-infra/system-config/
>>>> tree/manifests/site.pp#n1257
>>>>>> [10] https://review.openstack.org/#/c/232313/
>>>>> Just a quick status update on this. I have updated puppet things so that
>>>>> we can deploy translate-dev01.openstack.org on Xenial then CNAME
>>>>> translate-dev.openstack.org to it. (This is part of how we are trying to
>>>>> deploy services in the future to avoid being tied to a single instance
>>>>> in our puppetry). This includes running the noop puppet apply test
>>>>> against Xenial for these nodes on puppet changes as well.
>>>>>
>>>>> All of that has gone relatively well and I just tried to deploy on
>>>>> Xenial and have run into a few problems. The puppet output [11] shows
>>>>> that the service isn't installed properly on Ubuntu Xenial. Looking at
>>>>> the puppet-wildfly module [12] it doesn't appear to support systemd on
>>>>> debuntu yet. Due to the upcoming thanksgiving holiday I doubt I will get
>>>>> around to updating and testing that this week, so would be great if
>>>>> someone else is able to work with the puppet-wildfly upstream to fix
>>>>> this.
>>>>>
>>>>> One other thing that came up is do we need to copy any files from the
>>>>> old server to the new server? Specifically it looks like portions of
>>>>> `/home/wildfly/zanata` may need to be preserved. Or is everything
>>>>> important in the database?
>>>>>
>>>>> In any case once the wildfly puppetry is working I think the next step
>>>>> is to upgrade zanata to 3.9.6, change the openid server, and have the
>>>>> team test it. Once that looks good its on to the production server.
>>>>>
>>>>> [11] http://paste.openstack.org/show/590149/
>>>>> [12]
>>>>> https://github.com/biemond/biemond-wildfly/blob/master/
>>>> manifests/service.pp#L35-L46
>>>>
>>>> Time for an update, and this time it is good news. I managed to hack
>>>> around the systemd issue by adding a puppet exec between installing the
>>>> init script and starting the service that runs a systemctl daemon-reload
>>>> [13]. This is necessary to make systemd see the init script allowing it
>>>> to be used to start the service.
>>>>
>>>> With that sorted I have created a new server called
>>>> translate-dev01.openstack.org and updated DNS to have
>>>> translate-dev.openstack.org point to it. This server is running on
>>>> Ubuntu Xenial with Java 8 and using the old version of Zanata (3.7.3).
>>>> Now would be a good time to test that this works so that we don't have
>>>> to do the entire upgrade migration in one go when we do production. Once
>>>> we are happy with Zanata 3.7.3 on Ubuntu Xenial and Java 8 we can
>>>> upgrade translate-dev.openstack.org to the version of Zanata we want,
>>>> then test again. And once that is done we can redeploy and upgrade the
>>>> production server on Xenial as well.
>>>>
>>>> Let me know how your testing goes and we can take it from there.
>>>>
>>>> [13] https://review.openstack.org/#/c/401363/
>>>>
>>>> Thank you,
>>>> Clark
>>>>
>> _______________________________________________
>> OpenStack-Infra mailing list
>> OpenStack-Infra at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
> _______________________________________________
> OpenStack-Infra mailing list
> OpenStack-Infra at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra





More information about the OpenStack-Infra mailing list