Zun Compute fails on protobuf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The error message is:
2022-07-27 07:31:36.771 7 CRITICAL zun [-] Unhandled error: TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_
More information: https:/
2022-07-27 07:31:36.771 7 ERROR zun Traceback (most recent call last):
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun sys.exit(main())
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun compute_
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun self.capsule_driver = driver_
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun driver = stevedore_
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun super(DriverMan
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun extensions = self._load_
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun self._on_
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun ext = self._load_
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun return super(NamedExte
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun plugin = ep.load()
2022-07-27 07:31:36.771 7 ERROR zun File "/usr/lib/
2022-07-27 07:31:36.771 7 ERROR zun module = import_
2022-07-27 07:31:36.771 7 ERROR zun File "/usr/lib/
2022-07-27 07:31:36.771 7 ERROR zun return _bootstrap.
2022-07-27 07:31:36.771 7 ERROR zun File "<frozen importlib.
2022-07-27 07:31:36.771 7 ERROR zun File "<frozen importlib.
2022-07-27 07:31:36.771 7 ERROR zun File "<frozen importlib.
2022-07-27 07:31:36.771 7 ERROR zun File "<frozen importlib.
2022-07-27 07:31:36.771 7 ERROR zun File "<frozen importlib.
2022-07-27 07:31:36.771 7 ERROR zun File "<frozen importlib.
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun from zun.criapi import api_pb2
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun from zun.criapi import gogo_pb2 as zun_dot_
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun goproto_enum_prefix = _descriptor.
2022-07-27 07:31:36.771 7 ERROR zun File "/var/lib/
2022-07-27 07:31:36.771 7 ERROR zun _message.
2022-07-27 07:31:36.771 7 ERROR zun TypeError: Descriptors cannot not be created directly.
2022-07-27 07:31:36.771 7 ERROR zun If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
2022-07-27 07:31:36.771 7 ERROR zun If you cannot immediately regenerate your protos, some other possible workarounds are:
2022-07-27 07:31:36.771 7 ERROR zun 1. Downgrade the protobuf package to 3.20.x or lower.
2022-07-27 07:31:36.771 7 ERROR zun 2. Set PROTOCOL_
2022-07-27 07:31:36.771 7 ERROR zun
2022-07-27 07:31:36.771 7 ERROR zun More information: https:/
2022-07-27 07:31:36.771 7 ERROR zun
Fix proposed to branch: master /review. opendev. org/c/openstack /zun/+/ 851196
Review: https:/