swift-proxy-server fails to start with Python 3.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned | ||
devstack |
Invalid
|
Undecided
|
Unassigned | ||
neutron |
Invalid
|
Medium
|
Unassigned |
Bug Description
Traceback (most recent call last):
File "/usr/local/
exec(
File "/opt/stack/
sys.
File "/opt/stack/
loadapp(
File "/opt/stack/
ctx = loadcontext(
File "/opt/stack/
global_
File "/usr/local/
global_
File "/usr/local/
return loader.
File "/opt/stack/
object_type, name=name, global_
File "/usr/local/
global_
File "/usr/local/
for name in pipeline[:-1]]
File "/usr/local/
for name in pipeline[:-1]]
File "/opt/stack/
object_type, name=name, global_
File "/usr/local/
section)
File "/usr/local/
object_type, name=use, global_
File "/opt/stack/
object_type, name=name, global_
File "/usr/local/
global_
File "/usr/local/
global_
File "/usr/local/
return loader.
File "/usr/local/
object_type, name=name)
File "/usr/local/
possible.
File "/usr/local/
return self.resolve()
File "/usr/local/
module = __import_
File "/opt/stack/
def is_small_
SyntaxError: invalid syntax
This currently blocks neutron gate where we have a voting py3 tempest job. The reason why swift is deployed with Python3.5 there is because we special case in devstack to deploy the service with Python3:
http://
The short term solution is to disable the special casing. Swift should then work on fixing the code, and gate on Python3 (preferably the same job as neutron has).
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Ihar Hrachyshka (ihar-hrachyshka) |
Changed in devstack: | |
status: | New → Confirmed |
assignee: | nobody → Ihar Hrachyshka (ihar-hrachyshka) |
Changed in neutron: | |
importance: | Critical → Medium |
Changed in swift: | |
status: | New → Confirmed |
Changed in neutron: | |
status: | Confirmed → Invalid |
assignee: | Ihar Hrachyshka (ihar-hrachyshka) → nobody |
Changed in devstack: | |
assignee: | Ihar Hrachyshka (ihar-hrachyshka) → nobody |
Changed in devstack: | |
assignee: | nobody → Ihar Hrachyshka (ihar-hrachyshka) |
status: | Confirmed → In Progress |
tags: | added: python3 |
Changed in devstack: | |
assignee: | Ihar Hrachyshka (ihar-hrachyshka) → nobody |
Fix proposed to branch: master /review. openstack. org/437802
Review: https:/