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

[Bug]: python-libjuju can't connect to a model with controller version 3.0-rc2 #748

Closed
gabrielcocenza opened this issue Oct 19, 2022 · 2 comments
Labels
kind/bug indicates a bug in the project

Comments

@gabrielcocenza
Copy link

gabrielcocenza commented Oct 19, 2022

Description

bug/1993334 shows that juju-lint is failing because it's not able to connect to a model. Steps to reproduce it:

  • Bootstrap lxd with juju 3.0-rc2
  • juju add-model test
  • pip3 install juju
  • run the python script as showed bellow in Reproduce / Test

Logs of the error

This problem doesn't happen on juju version 2.9.33

Urgency

Blocker for our release

Python-libjuju version

3.0.2

Juju version

3.0-rc2

Reproduce / Test

python3 -m asyncio

from juju.model import Model
model = Model()
await model.connect_current()
@gabrielcocenza gabrielcocenza added the kind/bug indicates a bug in the project label Oct 19, 2022
@cderici
Copy link
Contributor

cderici commented Oct 20, 2022

The error in the logs is fixed by #745, and I'm currently unable to reproduce this with the current head. So it should be fixed in the next release (coming in 1-2 days).

@cderici cderici closed this as completed Oct 20, 2022
@cderici
Copy link
Contributor

cderici commented Oct 20, 2022

Feel free to reopen this if the problem persists on your end after the update 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug indicates a bug in the project
Projects
None yet
Development

No branches or pull requests

2 participants