Bug 1768268
Summary: | Salt-minion wont start after upgrade to 31 with error about 'tornado.stack_context' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jason Elwell <musikplayr> |
Component: | salt | Assignee: | Clint Savage <herlo1> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 31 | CC: | david-dm.murphy, herlo1, itamar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-05 01:45:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jason Elwell
2019-11-03 19:21:50 UTC
From https://www.tornadoweb.org/en/stable/releases/v5.1.0.html * Tornado 6.0 will drop support for Python 2.7 and 3.4. The minimum supported Python version will be 3.5.2. * The tornado.stack_context module is deprecated and will be removed in Tornado 6.0. Believing that I don't have anything else that requires tornado, here is a super hackish fix: As root: #Remove tornado package rpm -e --nodeps python3-tornado #install old tornado version from python repos pip3 install tornado==5.1.1 #I'm not smart enough to know why it works interactively but not within salt-minion, so have a couple links. ln -s /usr/local/lib64/python3.7/site-packages/tornado /usr/lib64/python3.7/site-packages ln -s /usr/local/lib64/python3.7/site-packages/tornado-5.1.1-py3.7.egg-info/ /usr/lib64/python3.7/site-packages *** This bug has been marked as a duplicate of bug 1748170 *** |