Skyline-apiserver is broken on python3.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
skyline apiserver |
Fix Released
|
Undecided
|
Michal Arbet |
Bug Description
Hi,
Skyline-apiserver is broken on debian bookworm where is python3.11, log below :
[2023-12-21 10:31:38 +0000].010 21 INFO [-] Worker exiting (pid: 21)
[2023-12-21 10:31:38 +0000].040 23 INFO [-] Booting worker with pid: 23
[2023-12-21 10:31:38 +0000].057 7 WARNING [-] Worker with pid 21 was terminated due to signal 15
[2023-12-21 10:31:38 +0000].057 7 WARNING [-] Worker with pid 22 was terminated due to signal 15
[2023-12-21 10:31:38 +0000].058 7 WARNING [-] Worker with pid 23 was terminated due to signal 15
[2023-12-21 10:31:38 +0000].155 7 INFO [-] Shutting down: Master
[2023-12-21 10:31:38 +0000].155 7 INFO [-] Reason: Worker failed to boot.
[2023-12-21 10:31:50 +0000].755 7 INFO [-] Starting gunicorn 20.1.0
[2023-12-21 10:31:50 +0000].756 7 INFO [-] Listening at: http://
[2023-12-21 10:31:50 +0000].757 7 INFO [-] Using worker: uvicorn.
[2023-12-21 10:31:50 +0000].761 20 INFO [-] Booting worker with pid: 20
[2023-12-21 10:31:50 +0000].850 21 INFO [-] Booting worker with pid: 21
[2023-12-21 10:31:50 +0000].859 20 ERROR [-] Exception in worker process
Traceback (most recent call last):
File "/var/lib/
worker.
File "/var/lib/
super(
File "/var/lib/
self.
File "/var/lib/
self.wsgi = self.app.wsgi()
File "/var/lib/
self.callable = self.load()
File "/var/lib/
return self.load_wsgiapp()
File "/var/lib/
return util.import_
File "/var/lib/
mod = importlib.
File "/usr/lib/
return _bootstrap.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "/var/lib/
from fastapi import FastAPI
File "/var/lib/
from .applications import FastAPI
File "/var/lib/
from fastapi import routing
File "/var/lib/
from fastapi.
File "/var/lib/
from fastapi.
File "/var/lib/
from .api_key import APIKeyCookie, APIKeyHeader, APIKeyQuery
File "/var/lib/
from fastapi.
File "/var/lib/
class SchemaBase(
File "/var/lib/
cls.
File "/var/lib/
merged_
File "/usr/lib/
raise ValueError('{!r} is not a valid parameter name'.format(name))
ValueError: 'not' is not a valid parameter name
This is caused by old library pydantic where python3.11 is not supported, first pydantic version where python3.11 is supported is 1.10.0
Changed in skyline-apiserver: | |
assignee: | nobody → Michal Arbet (michalarbet) |
Fix proposed to branch: master /review. opendev. org/c/openstack /skyline- apiserver/ +/904203
Review: https:/