Page MenuHomePhabricator

Upgrade various Cloud VPS Python 2 scripts to Python 3
Open, NormalPublic

Description

So based on a git grep -E "^#\!/usr/bin/python([^3]|$)" in puppet.git I filtered through for stuff that looked Cloud VPS-related. It might be incomplete.
Ideally this stuff would be done this year.

modules/base/files/labs/notify_maintainers.py:#!/usr/bin/python
modules/base/files/labs/puppet_alert.py:#!/usr/bin/python
modules/dnsrecursor/files/labs-ip-alias-dump.py:#!/usr/bin/python
modules/graphite/files/archive-instances:#!/usr/bin/python
modules/icinga/files/check_wikitech_static_version.py:#!/usr/bin/python
modules/ldap/files/scripts/ssh-key-ldap-lookup:#!/usr/bin/python
modules/openstack/files/clientpackages/designatemakedomain.py:#!/usr/bin/python
modules/openstack/files/designate/dns-floating-ip-updater.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-cold-migrate.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-cold-nova-migrate.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-live-migrate.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-makedomain.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-novastats/wmcs-novastats-alltrusty.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-novastats/wmcs-novastats-capacity.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-novastats/wmcs-novastats-dnsleaks.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-novastats/wmcs-novastats-flavorreport.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-novastats/wmcs-novastats-imagestats.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-novastats/wmcs-novastats-proxyleaks.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-novastats/wmcs-novastats-puppetleaks.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-region-migrate-quotas.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-region-migrate-security-groups.py:#!/usr/bin/python
modules/openstack/files/mitaka/admin_scripts/wmcs-region-migrate.py:#!/usr/bin/python
modules/openstack/files/monitor/keystone/check_keystone_projects.py:#!/usr/bin/python
modules/openstack/files/monitor/keystone/check_keystone_roles.py:#!/usr/bin/python
modules/openstack/files/monitor/wmcs-spreadcheck.py:#!/usr/bin/python
modules/openstack/files/puppet/master/instance-info-dumper.py:#!/usr/bin/python
modules/openstack/files/util/wmcs-updateproxies.py:#!/usr/bin/python
modules/openstack/files/util/wmcs-webproxy.py:#!/usr/bin/python
modules/openstack/files/util/wmcs-wikireplica-dns.py:#!/usr/bin/python
modules/puppetmaster/files/validatelabsfqdn.py:#!/usr/bin/python
modules/shinken/files/shinkengen:#!/usr/bin/python2

Event Timeline

Krenair created this task.Mar 15 2019, 7:31 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 15 2019, 7:31 PM

The following:

modules/base/files/labs/notify_maintainers.py
modules/base/files/labs/puppet_alert.py
modules/ldap/files/scripts/ssh-key-ldap-lookup
modules/shinken/files/shinkengen

are probably blocked on T218423, probably.

bd808 renamed this task from Upgrade various Python 2 scripts to Python 3 to Upgrade various Cloud VPS/Toolforge Python 2 scripts to Python 3 .Mar 15 2019, 7:36 PM
Krenair added a subscriber: bd808.EditedMar 15 2019, 7:36 PM

@bd808 I actually separated the toolforge scripts into a different list which I haven't opened a task for yet

Krenair renamed this task from Upgrade various Cloud VPS/Toolforge Python 2 scripts to Python 3 to Upgrade various Cloud VPS Python 2 scripts to Python 3 .Mar 15 2019, 7:40 PM
GTirloni triaged this task as Normal priority.Mar 21 2019, 4:57 PM
Xqt added a subscriber: Xqt.Wed, Jul 24, 8:36 AM