You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cloudstack build fails on EL9 due to Python issue #6651
Both 4.17.1 and master (currently 4.18) fail to package/build on EL9 due to a Python error. NB the default Python in EL9 is v3.9, as opposed to 3.6 in EL8.
Please advise.
I found a general issue, CloudStack python codebase incl. marvin lib and smoketests etc seem to be Python 3.8 compatible but not Python 3.9 or 3.10 compatible. With Python 3.10 I'm not able to use local marvin tests and run some python/ACS scripts - could it be the same issue building on EL9? cc @DaanHoogland
I tried to downgrade to npm 6.14.17 on a ol9 box, but haven´t managed that yet. I suspect the version of node will be a problem as well. In the end the problem is a line in node-gyp import sys; print "%s.%s.%s" % sys.version_info[:3];, however the node-gyp version mentioned, 7.1.2. and that contains 'import sys; print("%s.%s.%s" % sys.version_info[:3]);'
This is a dependency hell, it seems.
I think that would be (almost) the same as installing the el8 packages on el9/ol9. I'll tinker around with that idea. In the end I think we really need to update our dependencies.
Activity
yadvr commentedon Aug 29, 2022
I found a general issue, CloudStack python codebase incl. marvin lib and smoketests etc seem to be Python 3.8 compatible but not Python 3.9 or 3.10 compatible. With Python 3.10 I'm not able to use local marvin tests and run some python/ACS scripts - could it be the same issue building on EL9? cc @DaanHoogland
yadvr commentedon Aug 29, 2022
Releases/EOL reference (from https://www.python.org/downloads/):

DaanHoogland commentedon Aug 29, 2022
@rohityadavcloud , i suspect this issue is due to
I tried to downgrade to npm 6.14.17 on a ol9 box, but haven´t managed that yet. I suspect the version of
nodewill be a problem as well. In the end the problem is a line in node-gypimport sys; print "%s.%s.%s" % sys.version_info[:3];, however thenode-gypversion mentioned, 7.1.2. and that contains'import sys; print("%s.%s.%s" % sys.version_info[:3]);'This is a dependency hell, it seems.
yadvr commentedon Aug 29, 2022
Couldn't we build EL9 pkgs on EL8 container - just asking
DaanHoogland commentedon Aug 30, 2022
I think that would be (almost) the same as installing the el8 packages on el9/ol9. I'll tinker around with that idea. In the end I think we really need to update our dependencies.