Closed
Description
A lot of Python code inside CloudStack is still Python 2 and we have just 10 months left before Python 2 is no longer supported: https://pythonclock.org/
Various items need to be looked at and checked for Python 3 compatibility. A list, but probably not complete:
- KVM Security Groups
- Xen Security Groups
- Virtual Router scripts (addressed in Update SystemVM scripts from python2 to python3 #3730)
- Various setup tools
- build tools (addressed in some minor changes to make the build run with python 3 #4030)
- marvin framework and smoke tests (Marvin3 #4727)
- marvin component test sets (component test ports/fixes in python3 #5082)
- packaging (cloud.spec) (Suggestions on Python processing of cloud.spec file in packaging directory #4513 is asking for it)
These are isolated projects and can usually be taken care of separately and also properly tested.
Creating this ticket so it can be referred to and also this is out there.