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]: model.deploy does not behave like juju command #863
Comments
Hi @amandahla you probably want to use I think this will fix the issue. Please reopen is required. |
Hi @juanmanuel-tirado thanks. But I tried now with juju 2.9.42.3 and got a different error this time: ps.: I think I can't reopen this issue. Should I open a new one? |
Sorry, I think I tested this issue with the wrong branch. We have a regression in the 2.9 branch. I can confirm this works in 3.1 and master branches. We have to check what is going on there. We need a backport and a new release with the corresponding fix. I will put some priority on this. |
Description
Environment
juju 2.9.42
juju==3.0.4
Scenario
Channel latest/table and series focal (20.04) are available at PostgreSQL-K8S Charmhub
The command
juju deploy postgresql-k8s --channel=latest/stable --series=focal
deploys the charm postgresql-k8s as expected:juju deploy output:
juju status output:
ops_test.model.deploy("postgresql-k8s",series="focal", channel="latest/stable")
throws an error:Expected
Deploy the charm postgresql-k8s accordingly to parameters channel latest/stable and series focal.
Reference
https://discourse.charmhub.io/t/juju-operators-for-postgresql-and-mysql-are-now-stable/10223/4
Urgency
Annoying bug in our test suite
Python-libjuju version
3.0.4
Juju version
2.9.42
Reproduce / Test
The text was updated successfully, but these errors were encountered: