Page MenuHomePhabricator

WMCS: migrate python2 scripts to python3
Open, NormalPublic

Description

In the WMCS team we use/have several python2 scripts that need to migrate to python3. This task is to track this work.

Things to take into account:

  • a given script may be more commonly used than others. If we use the script a lot we must ensure we don't leave it in a broken state.
  • I'm sure certain scripts may require almost no changes, because they already have py3 support or because is rather simple
  • some scripts may have module dependencies that may require changes in the dependency chain we install via puppet

This wikitech page contains many of the scripts we have (but we have even more!) with a brief description in some cases:
https://wikitech.wikimedia.org/wiki/Portal:Cloud_VPS/Admin/Maintenance#Admin/Maintenance_scripts
We can use this moment to generate some additional documentation bits for those lacking any.

  • wmcs-cold-migrate
  • wmcs-cold-nova-migrate
  • wmcs-live-migrate
  • wmcs-region-migrate
  • wmcs-region-migrate-security-groups
  • wmcs-region-migrate-quotas
  • wmcs-novastats-imagestats
  • wmcs-novastats-alltrusty
  • wmcs-novastats-flavorreport
  • wmcs-novastats-puppetleaks
  • wmcs-novastats-capacity
  • wmcs-novastats-imagestats
  • wmcs-novastats-dnsleaks
  • wmcs-novastats-proxyleaks
  • wmcs-makedomain
  • wmcs-wikireplica-dns
  • wmcs-spreadcheck

Event Timeline

aborrero created this task.Aug 6 2019, 11:35 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 6 2019, 11:35 AM
aborrero triaged this task as Normal priority.Aug 6 2019, 11:35 AM
aborrero moved this task from Inbox to Important on the cloud-services-team (Kanban) board.
bd808 added a project: Epic.