Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1686612 - salt python3 in Fedora 30+
Summary: salt python3 in Fedora 30+
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: salt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Murphy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-07 20:25 UTC by Itamar Reis Peixoto
Modified: 2019-03-08 01:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Itamar Reis Peixoto 2019-03-07 20:25:31 UTC
Description of problem:

I think it's time to move salt to python3 in Fedora 30+

Comment 1 David Murphy 2019-03-07 21:21:59 UTC
I wholeheartedly agree and was half way through doing just that when caught the following issue:

'''Python 2 since still have Python 3 limitations on python3-tornado < 5.0 but Fedora 28 has python3-tornado v5.0.2-2'''

Once Salt can handle tornado > 5.0 with Python 3, then it will get upgraded.
RHEL 7 Python 3 Salt is using Python3.4 from EPEL, but Fedora 28 is using v3.6.8, and it is the handling of ioloop and async/await that is causing issues.  It has been actively worked on since the end of 2018 but no solution yet available.

Once this limitation has been resolved, a Python 3 version of Salt for Fedora will be made available.

Comment 2 Itamar Reis Peixoto 2019-03-07 21:41:34 UTC
I heard that people are planning to upgrade Python3.4 to a newer version in EPEL.

anyway you can leave Fedora 28-29 with python2 salt

Comment 3 David Murphy 2019-03-08 01:08:56 UTC
Already seen Python 3.6 in EPEL and planning on supporting it soon, that is , on the roadmap but no dates.

The issue is Salt itself and how its internal ioloop interacts with tornado 5.0 and above.

Changes are being worked.  Once they are available I shall be jumping on a Python 3 Salt for Fedora.

The other Python 3.6 and above implementations of Salt also have the tornado restriction.

The Debian implementation of Salt has been working the issue too, but have not examined that yet due to bandwidth limitations, with two releases 2018.3.4 and 2019.2.0 and another about to enter QA 2017.7.9.


Note You need to log in before you can comment on or make changes to this bug.