Closed beliaev-maksim closed 1 year ago
I need to have a longer discussion around this issue. Meanwhile, one workaround could be setting the default-series for the model.
juju model-config default-series=focal
A brief summary.
This is fixed in the 3.1 branch. Because your constrained to use juju 2.9, we will have to prepare a new release in the 3.0 series backporting the fix.
@beliaev-maksim Pylibjuju 3.0.4
is a bit old version at this point (and a bit tricky one ngl), however, we do have some versions that includes a solution to this problem which you should be able to easily upgrade to (i.e. 2.9.42.1
).
I believe the solution to this problem is https://github.com/juju/python-libjuju/pull/783 and it seems we released it with 2.9.38.1
. I can cherry-pick those fixes onto our new 3.0
branch and basically make a 3.0.5
for you that works no problem, but I just want to understand first, is there a particular reason that you can't use the pylibjuju 2.9.42.1
, since you're using a 2.9.42
juju agent on the controller?
I think we can
overall, I use it due to the promise was that we 3.0 works on both ends :)
for now I just use the workaround provided by Juan and set series on model, which works just fine
so, I think there is no need to backport it to 3.0
but up to Juan
No you're right that's accurate, the 3.0
is sort of a transitional version to allow people some time to upgrade their juju (along with their pylibjuju) to 3.0 and onwards, trying to support 2.9 and 3.0 at the same time. At 3.1
we break this and remove the juju 2.9 support.
Problem is as long as people are keep staying in 2.9 and 3.0, supporting them is getting harder every day. That's why we created a 2.9
branch on libjuju to backport patches as we continue to fix bugs on the main branch. Ultimately, I think we did a poor job communicating that 3.0
should not be a version that people settle in and stay there.
Anyways I'm glad that the workaround is working for you guys. I'll close this issue, and we'll discuss what to do with the 3.0 branch. In the meantime, let us know if you have any trouble using 2.9.42.1
, it's a way easier place for us to fix any of your problems right away (without worrying about a weird intermediate transitional version like 3.0.5
😄 )
Description
In our CI we use juju 2.9.42 and run integration tests
however, we get the following error
Here is the failed CI: https://github.com/canonical/knative-operators/actions/runs/4568754484/jobs/8075207231
Urgency
Annoying bug in our test suite
Python-libjuju version
juju==3.0.4
Juju version
2.9.42
Reproduce / Test