Error installing octavia version 0.39.20-alpha

When trying to install the newest version of octavia a new error appeared that I had not seen before, looks like it’s trying to find a file that no longer exists, the error is below:

Traceback (most recent call last):
File “/usr/local/bin/octavia”, line 5, in
from octavia_cli.entrypoint import octavia
File “/usr/local/lib/python3.9/site-packages/octavia_cli/entrypoint.py”, line 13, in
from .api_http_headers import ApiHttpHeader, merge_api_headers, set_api_headers_on_api_client
File “/usr/local/lib/python3.9/site-packages/octavia_cli/api_http_headers.py”, line 13, in
from .init.commands import API_HTTP_HEADERS_TARGET_PATH
File “/usr/local/lib/python3.9/site-packages/octavia_cli/init/commands.py”, line 16, in
DEFAULT_API_HEADERS_FILE_CONTENT = pkg_resources.read_text(example_files, “example_api_http_headers.yaml”)
File “/usr/local/lib/python3.9/importlib/resources.py”, line 139, in read_text
with open_text(package, resource, encoding, errors) as fp:
File “/usr/local/lib/python3.9/importlib/resources.py”, line 121, in open_text
open_binary(package, resource), encoding=encoding, errors=errors)
File “/usr/local/lib/python3.9/importlib/resources.py”, line 91, in open_binary
return reader.open_resource(resource)
File “”, line 1055, in open_resource
FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/local/lib/python3.9/site-packages/octavia_cli/init/example_files/example_api_http_headers.yaml’

Hi @anthonyrlx,
I’ve spotted this error too last Friday and patched it. I’m now releasing a new Airbyte version with this fix. 0.39.21-alpha should not have this error. I’ll write a message here once 0.39.21-alpha is released.

1 Like

The new version was just released, feel free to upgrade to 0.39.21.

1 Like