Page MenuHomePhabricator

Set scap minimum python version to 3.7
Open, Stalled, Needs TriagePublic

Description

Right now we're targeting Python 3.5. I'm hoping to advance to at least 3.7 so that we can use f-strings in the code.

To that end, I need to know the minimum version of Python 3 that is running on production hosts with scap installed.

I know there are some beta hosts still at Python 3.5 Those will need to be addressed.

deployment-echostore01.deployment-prep.eqiad.wmflabs
deployment-imagescaler03.deployment-prep.eqiad.wmflabs
deployment-ores01.deployment-prep.eqiad1.wikimedia.cloud
deployment-restbase03.deployment-prep.eqiad.wmflabs
deployment-webperf11.deployment-prep.eqiad1.wikimedia.cloud
deployment-webperf12.deployment-prep.eqiad.wmflabs

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.
StatusSubtypeAssignedTask
StalledNone
ResolvedNone

Event Timeline

@JMeybohm or @Jelto, can you use cumin to run "python3 -V" on production hosts that have scap installed?

There's still quite a few Stretch systems with scap in production:

===== NODE GROUP =====
(46) aqs[1004-1009].eqiad.wmnet,doc1001.eqiad.wmnet,ores[2001-2009].codfw.wmnet,ores[1001-1009].eqiad.wmnet,restbase-dev[1004-1006].eqiad.wmnet,sessionstore[2001-2003].codfw.wmnet,sessionstore[1001-1003].eqiad.wmnet,thumbor[2003-2006].codfw.wmnet,thumbor[1001-1002,1005-1006].eqiad.wmnet,webperf[2001-2002].codfw.wmnet,webperf[1001-1002].eqiad.wmnet
----- OUTPUT of 'python3 -V' -----
Python 3.5.3

===== NODE GROUP =====
(1) build2001.codfw.wmnet
----- OUTPUT of 'python3 -V' -----
Python 3.9.2

===== NODE GROUP =====
(490) an-airflow[1001-1002].eqiad.wmnet,an-coord[1001-1002].eqiad.wmnet,an-launcher1002.eqiad.wmnet,an-test-client1001.eqiad.wmnet,an-test-coord1001.eqiad.wmnet,an-tool[1005,1007,1010].eqiad.wmnet,aphlict1001.eqiad.wmnet,aqs[1010-1015].eqiad.wmnet,cloudweb2001-dev.wikimedia.org,contint[1001,2001].wikimedia.org,cumin1001.eqiad.wmnet,debmonitor2002.codfw.wmnet,debmonitor1002.eqiad.wmnet,deneb.codfw.wmnet,deploy2002.codfw.wmnet,deploy1002.eqiad.wmnet,doc2001.codfw.wmnet,doc1002.eqiad.wmnet,eventlog1003.eqiad.wmnet,gerrit[1001,2001].wikimedia.org,labstore[1006-1007].wikimedia.org,labweb[1001-1002].wikimedia.org,logstash[2023-2025,2030-2031].codfw.wmnet,logstash[1023-1025,1030-1032].eqiad.wmnet,maps[2005-2010].codfw.wmnet,maps[1005-1010].eqiad.wmnet,miscweb2002.codfw.wmnet,miscweb1002.eqiad.wmnet,mw[2251-2255,2257-2279,2281-2339,2350-2411].codfw.wmnet,mw[1302-1456].eqiad.wmnet,mwdebug[2001-2002].codfw.wmnet,mwdebug[1001-1002].eqiad.wmnet,mwmaint2002.codfw.wmnet,mwmaint1002.eqiad.wmnet,netbox[1001,2001].wikimedia.org,netbox-dev2001.wikimedia.org,netmon[1002,2001].wikimedia.org,parse[2001-2020].codfw.wmnet,phab2001.codfw.wmnet,phab1001.eqiad.wmnet,restbase[2012-2026].codfw.wmnet,restbase[1016-1030].eqiad.wmnet,scandium.eqiad.wmnet,search-loader2001.codfw.wmnet,search-loader1001.eqiad.wmnet,snapshot[1008-1013].eqiad.wmnet,stat[1004-1008].eqiad.wmnet,wcqs[2001-2003].codfw.wmnet,wcqs[1001-1003].eqiad.wmnet,wdqs[2001-2008].codfw.wmnet,wdqs[1003-1013].eqiad.wmnet,wtp[1025-1048].eqiad.wmnet
----- OUTPUT of 'python3 -V' -----
Python 3.7.3

Thanks @MoritzMuehlenhoff. Can you point me to an existing "upgrade Stretch hosts" task that I can hang this one off of?

Thanks @MoritzMuehlenhoff. Can you point me to an existing "upgrade Stretch hosts" task that I can hang this one off of?

You can use https://phabricator.wikimedia.org/T247045 for this.

thcipriani renamed this task from Set scap minimum version to 3.7 to Set scap minimum python version to 3.7.Apr 13 2022, 4:47 PM
thcipriani changed the task status from Open to Stalled.
thcipriani moved this task from Limbo to Blocked on the Release-Engineering-Team (Radar) board.