Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

functest runner and regression tester incompatible with juju 2.9 #290

Open
rodrigogansobarbieri opened this issue Dec 16, 2024 · 2 comments

Comments

@rodrigogansobarbieri
Copy link
Collaborator

Gives an error when trying to run against juju 2.9, usually because we need to use bionic:

File "/home/ubuntu/charmed-openstack-tester/.tox/func-target/lib/python3.10/site-packages/zaza/controller.py", line 40, in async_add_model
await controller.connect()
File "/home/ubuntu/charmed-openstack-tester/.tox/func-target/lib/python3.10/site-packages/juju/controller.py", line 108, in connect
await self._connector.connect_controller(controller_name, **kwargs)
File "/home/ubuntu/charmed-openstack-tester/.tox/func-target/lib/python3.10/site-packages/juju/client/connector.py", line 153, in connect_controller
await self.connect(**kwargs)
File "/home/ubuntu/charmed-openstack-tester/.tox/func-target/lib/python3.10/site-packages/juju/client/connector.py", line 117, in connect
raise JujuConnectionError(
juju.errors.JujuConnectionError: juju server-version 2.9.50 not supported

rodrigogansobarbieri added a commit that referenced this issue Dec 16, 2024

Verified

This commit was signed with the committer’s verified signature.
yuetloo yuetloo
Closes: #290
rodrigogansobarbieri added a commit that referenced this issue Dec 16, 2024
Closes: #290
@dosaboy
Copy link
Member

dosaboy commented Dec 16, 2024

I use the func test runner with Juju 2.9 every day without issue so i dont think this is quite right. Maybe there is a more specific incompatibility with the charm you are running it against?

rodrigogansobarbieri added a commit to rodrigogansobarbieri/stsstack-bundles that referenced this issue Dec 16, 2024
@dosaboy
Copy link
Member

dosaboy commented Dec 16, 2024

As a general rule I run stable branch tests on Focal (python 3.8) with a Juju 2.x controller. For master branch tests I use Jammy (python 3.10) with Juju 3.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants