[Help Needed] MediaWiki-Vagrant: Debian Stretch testing and migration

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Help Needed] MediaWiki-Vagrant: Debian Stretch testing and migration

Bryan Davis
Work has begun to upgrade the base distribution for MediaWiki-Vagrant
to Debian Stretch [0]. The Wikimedia production cluster is preparing
for a similar upgrade [1] which will in part allow the Wikimedia wikis
to migrate to PHP 7 [2].

== What's new in the stretch-migration branch? ==
* Debian Stretch (Debian 9) base image
* Default PHP runtime is Zend PHP 7.0 (HHVM available via role)
* Database is MariaDB 10.1
* Provisioning via Puppet 4

Setting up a basic wiki (no roles enabled) seems to work pretty well.
Additional roles need testing and may require updated Puppet manifests
(Puppet syntax updates, erb syntax updates, package name changes,
additional packages). Help is needed to test roles, file bugs, and
submit patches. With some help I think we can be ready to switch to
Stretch as the default base image in early/mid January.

== Testing the Stretch base image and Puppet profiles ==

Its recommended to test with a fresh MediaWiki-Vagrant checkout so if
things go badly you can easily switch back to your original install
and keep working.

  $ git clone --recursive
https://gerrit.wikimedia.org/r/mediawiki/vagrant mwv-stretch
  $ cd mwv-stretch
  $ git checkout stretch-migration
  $ ./setup.sh
  $ vagrant up

You can run `vagrant roles list -e -1` to get a nice list of the roles
you have enabled on your normal Trusty VM install to copy over to your
Stretch testing VM. This one-liner liner might even do it for you:

  $ cd mwv-stretch
  $ vagrant roles enable $(cd ../vagrant; vagrant roles list -e -1)
  $ vagrant provision


[0]: https://phabricator.wikimedia.org/T181353
[1]: https://phabricator.wikimedia.org/T174431
[2]: https://phabricator.wikimedia.org/T176370

Bryan
--
Bryan Davis              Wikimedia Foundation    <[hidden email]>
[[m:User:BDavis_(WMF)]] Manager, Cloud Services          Boise, ID USA
irc: bd808                                        v:415.839.6885 x6855

_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: [Help Needed] MediaWiki-Vagrant: Debian Stretch testing and migration

Bryan Davis
On Mon, Dec 18, 2017 at 10:07 PM, Bryan Davis <[hidden email]> wrote:

> Work has begun to upgrade the base distribution for MediaWiki-Vagrant
> to Debian Stretch [0]. The Wikimedia production cluster is preparing
> for a similar upgrade [1] which will in part allow the Wikimedia wikis
> to migrate to PHP 7 [2].
>
> == What's new in the stretch-migration branch? ==
> * Debian Stretch (Debian 9) base image
> * Default PHP runtime is Zend PHP 7.0 (HHVM available via role)
> * Database is MariaDB 10.1
> * Provisioning via Puppet 4
>
> Setting up a basic wiki (no roles enabled) seems to work pretty well.
> Additional roles need testing and may require updated Puppet manifests
> (Puppet syntax updates, erb syntax updates, package name changes,
> additional packages). Help is needed to test roles, file bugs, and
> submit patches. With some help I think we can be ready to switch to
> Stretch as the default base image in early/mid January.
>
> == Testing the Stretch base image and Puppet profiles ==
>
> Its recommended to test with a fresh MediaWiki-Vagrant checkout so if
> things go badly you can easily switch back to your original install
> and keep working.
>
>   $ git clone --recursive
> https://gerrit.wikimedia.org/r/mediawiki/vagrant mwv-stretch
>   $ cd mwv-stretch
>   $ git checkout stretch-migration
>   $ ./setup.sh
>   $ vagrant up
>
> You can run `vagrant roles list -e -1` to get a nice list of the roles
> you have enabled on your normal Trusty VM install to copy over to your
> Stretch testing VM. This one-liner liner might even do it for you:
>
>   $ cd mwv-stretch
>   $ vagrant roles enable $(cd ../vagrant; vagrant roles list -e -1)
>   $ vagrant provision
>
>
> [0]: https://phabricator.wikimedia.org/T181353
> [1]: https://phabricator.wikimedia.org/T174431
> [2]: https://phabricator.wikimedia.org/T176370

Work has gone pretty well on the stretch-migration branch. I'd like to
merge the branch to master and make it the default experience on or
around 2018-01-18. Having a major feature branch like this alive for
more than a month makes integrating the changes more difficult. It
also makes things harder for people who are making improvements on the
master branch.

It would be great to have some more users testing it out to make sure
the roles that they need to work with MediaWiki-Vagrant day to day are
working there. Special thanks to Stas, Gilles, Hashar, and Željko for
the bug reports and patches that they have already supplied.


Bryan
--
Bryan Davis              Wikimedia Foundation    <[hidden email]>
[[m:User:BDavis_(WMF)]] Manager, Cloud Services          Boise, ID USA
irc: bd808                                        v:415.839.6885 x6855

_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: [Help Needed] MediaWiki-Vagrant: Debian Stretch testing and migration

Stas Malyshev
Hi!

> It would be great to have some more users testing it out to make sure
> the roles that they need to work with MediaWiki-Vagrant day to day are
> working there. Special thanks to Stas, Gilles, Hashar, and Željko for
> the bug reports and patches that they have already supplied.

Seems to work ok for me for all roles I've used, except for the issue in
https://phabricator.wikimedia.org/T183306 which is of course still there.

--
Stas Malyshev
[hidden email]

_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: [Help Needed] MediaWiki-Vagrant: Debian Stretch testing and migration

Guillaume Lederrey
On Mon, Jan 8, 2018 at 11:05 PM, Stas Malyshev <[hidden email]> wrote:
> Hi!
>
>> It would be great to have some more users testing it out to make sure
>> the roles that they need to work with MediaWiki-Vagrant day to day are
>> working there. Special thanks to Stas, Gilles, Hashar, and Željko for
>> the bug reports and patches that they have already supplied.
>
> Seems to work ok for me for all roles I've used, except for the issue in
> https://phabricator.wikimedia.org/T183306 which is of course still there.

I've copied our elasticsearch plugins to stretch (this .deb is just
pulling together a few already compiled jar file, so no reason to
rebuild it for stretch). So this should now work (I have not tested it
in vagrant).

> --
> Stas Malyshev
> [hidden email]
>
> _______________________________________________
> Wikitech-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l



--
Guillaume Lederrey
Operations Engineer, Discovery
Wikimedia Foundation
UTC+2 / CEST

_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l