[
https://issues.apache.org/jira/browse/AMBARI-26643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jialiang Cai reassigned AMBARI-26643:
-------------------------------------
Assignee: Jialiang Cai
> Modernize Ambari Agent Python runtime and dependencies
> ------------------------------------------------------
>
> Key: AMBARI-26643
> URL: https://issues.apache.org/jira/browse/AMBARI-26643
> Project: Ambari
> Issue Type: Improvement
> Reporter: Jialiang Cai
> Assignee: Jialiang Cai
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Ambari Agent and related Server Python utilities still mix an implicit system
> Python with old vendored libraries and distribution-specific packages. On
> Rocky Linux 8, /usr/bin/python3 remains Python 3.6 while the supported Ambari
> runtime requires an explicitly installed modern interpreter. The current
> packaging also allows build-host Python and platform details to leak into
> release artifacts.\n\nThis change establishes a three-layer Python
> modernization boundary:\n\n1. Require Python 3.9.2 or newer and explicitly
> use the Rocky 8 python39 interpreter in installation, bootstrap, wrappers,
> RPM dependencies, and runtime entry points.\n2. Replace obsolete vendored
> general-purpose libraries with the standard library or hash-locked official
> packages, and bundle a reproducible manylinux/CPython 3.9 dependency closure
> in Ambari private libraries.\n3. Adapt Agent scheduling, STOMP over
> WebSocket, template, encryption, repository, OS detection, and directly
> related Server utility behavior with focused compatibility tests.\n\nThe
> patch must preserve the existing AES-CBC v1 wire format, use the official
> stomp.py WebSocket adapter, keep Agent and Server on the same Python runtime
> contract, reject source distributions except the separately hash-locked
> pure-Python docopt dependency, and verify dependency metadata and native
> artifact architecture. Windows and unrelated frontend changes are out of
> scope.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]