WDscholia / scholia

Wikidata-based scholarly profiles
https://scholia.toolforge.org
Other
222 stars 79 forks source link

Migration to 2020 Kubernetes #1013

Closed fnielsen closed 3 years ago

fnielsen commented 4 years ago

https://wikitech.wikimedia.org/wiki/News/2020_Kubernetes_cluster_migration#What_should_I_do?

nunogit commented 4 years ago

Related - Dockerization is a first step https://github.com/fnielsen/scholia/issues/966

fnielsen commented 4 years ago

No, dockerization is unrelated. 2020 Kubernetes is related to Toolforge

nunogit commented 4 years ago

Yes, I miss read it. They already use Kubernetes. They are updating. Docker is one of the underlying technologies in Kubernetes. In this sense, I thought we could better "surf this wave", but the wave was already there.

fnielsen commented 4 years ago

Webservice migrate as stated on https://wikitech.wikimedia.org/w/index.php?title=News/2020_Kubernetes_cluster_migration&oldid=1854854#Manually_migrate_a_webservice_to_the_new_cluster does not work. it generates an error https://wikitech.wikimedia.org/w/index.php?title=Talk:News/2020_Kubernetes_cluster_migration&diff=1856336&oldid=1850278

It is possible to go back to older documentation at https://wikitech.wikimedia.org/w/index.php?title=News/2020_Kubernetes_cluster_migration&oldid=1851901#Manually_migrate_a_webservice_to_the_new_cluster This allows us to change to the new system. However, there is a failure. The first failure was related to lxml import #1050. A commit has presumably fixed that. A restart of the server with the commit now results in another failure with an unclear nature. the starting process restarts at mounting /data/project/scholia/www/python/src/app.py on /scholia No further error message seems available.

fnielsen commented 4 years ago

A Phabricator task: https://phabricator.wikimedia.org/T245814

fnielsen commented 4 years ago

Apparently fixed to Python3.7.

Daniel-Mietchen commented 3 years ago

According to Nova Resource:Tools.scholia/SAL, this happened on 2020-02-28.