Page MenuHomePhabricator

montage-beta tool seems to be running up load and hanging in uninterruptible sleep
Closed, InvalidPublic0 Estimated Story Points

Description

montage-beta appears to have database errors on a restart and isn't working. It is building up very high load on servers, though.

It would be good if this can be fixed.

Example error:

DAMN ! worker 7 (pid: 7320) died :( trying respawn ...
Respawned uWSGI worker 7 (new pid: 7358)
mounting /data/project/montage-beta/www/python/src/app.py on /montage-beta
!!  Model <class 'montage.rdb.RoundResultsSummary'> missing column campaign_id from database Engine(mysql://s53155:***@tools.labsdb/s53155__montage_beta?charset=utf8)
!!  Model <class 'montage.rdb.RoundResultsSummary'> missing column status from database Engine(mysql://s53155:***@tools.labsdb/s53155__montage_beta?charset=utf8)
!!  Model <class 'montage.rdb.RoundResultsSummary'> missing column language from database Engine(mysql://s53155:***@tools.labsdb/s53155__montage_beta?charset=utf8)
!!  Model <class 'montage.rdb.RoundResultsSummary'> missing column version from database Engine(mysql://s53155:***@tools.labsdb/s53155__montage_beta?charset=utf8)
!!  Model <class 'montage.rdb.RoundResultsSummary'> missing column modified_date from database Engine(mysql://s53155:***@tools.labsdb/s53155__montage_beta?charset=utf8)
!!  Model <class 'montage.rdb.Campaign'> missing column series_id from database Engine(mysql://s53155:***@tools.labsdb/s53155__montage_beta?charset=utf8)
!!  Model <class 'montage.rdb.Campaign'> missing column url from database Engine(mysql://s53155:***@tools.labsdb/s53155__montage_beta?charset=utf8)
!!  Model <class 'montage.rdb.Campaign'> missing column status from database Engine(mysql://s53155:***@tools.labsdb/s53155__montage_beta?charset=utf8)
!!  Model <class 'montage.rdb.RoundEntry'> missing column round_source_id from database Engine(mysql://s53155:***@tools.labsdb/s53155__montage_beta?charset=utf8)
!!  recreate the database and update the code, then try again

Event Timeline

• Bstorm triaged this task as Medium priority.

Mentioned in SAL (#wikimedia-cloud) [2019-04-09T19:36:58Z] <bstorm_> T220543 stopped webservice because it runs up load on any node it runs on in its current state and needs fixing before it is run

Aklapper removed a project: Tools.

Closing as the issue tracker for Montage is on Github nowadays: https://github.com/hatnote/montage/issues
If this is still a valid ticket, please copy it to the issue tracker on GitHub. Thanks a lot!

(https://commons.wikimedia.org/wiki/Commons:Montage says that "Issues can be reported on GitHub" and https://commons.wikimedia.org/wiki/Commons:Montage/Status states to "report any problems with the new interface at our Github".)