All juju API calls hang on focal juju 2.9.42
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-juju-backup-all |
Fix Released
|
High
|
Ashley James |
Bug Description
Hello,
Steps to reproduce:
1. Configure lxd juju cloud
2. Bootstrap juju 2.9.42
$ juju bootstrap localhost localhost-bug --agent-
3. Deploy juj-backup-all
$ juju deploy ch:bootstack-
4. Configure jujubackup user and provide configuration to the charm
$ juju add-user --controller localhost-bug jujubackup
$ juju change-
$ juju grant jujubackup superuser
$ juju grant jujubackup admin default
# Fill controllers.yaml and accounts.yaml with adequate data
$ cat accounts.yaml
controllers:
localhost-bug:
user: jujubackup
password: kek
$ cat controllers.yaml
controllers:
localhost-bug:
uuid: 741da6f8-
ca-cert: |
cloud: localhost
region: localhost
type: lxd
current-controller: localhost-bug
$ juju config juju-backup-all <email address hidden> controller-
5. Try to make a backup.
$ juju run-action --wait juju-backup-all/0 do-backup
# or also can trigger the cron job manually.
I did some debugging and figured out that the charm successfully receives creds to the cloud, and establishes a connection, but it hangs on any request to the juju controller, like "list models"
Best Regards,
Aliaksandr Vasiuk.
Related branches
- JamesLin: Approve
- 🤖 prod-jenkaas-bootstack (community): Approve (continuous-integration)
- Mert Kirpici (community): Approve
- BootStack Reviewers: Pending requested
-
Diff: 289 lines (+123/-24)11 files modifieddev/null (+0/-4)
requirements.txt (+1/-1)
src/utils.py (+6/-1)
tests/functional/tests/bundles/base.yaml (+20/-0)
tests/functional/tests/bundles/focal.yaml (+1/-0)
tests/functional/tests/bundles/jammy.yaml (+1/-0)
tests/functional/tests/bundles/overlays/focal.yaml.j2 (+1/-0)
tests/functional/tests/bundles/overlays/jammy.yaml.j2 (+1/-0)
tests/functional/tests/configure.py (+43/-0)
tests/functional/tests/test_backups.py (+35/-18)
tests/functional/tests/tests.yaml (+14/-0)
Changed in charm-juju-backup-all: | |
importance: | Undecided → High |
tags: | added: bseng-1239 |
summary: |
- All juju API calls hand on focal juju 2.9.42 + All juju API calls hang on focal juju 2.9.42 |
Changed in charm-juju-backup-all: | |
assignee: | nobody → Ashley James (dashmage) |
Changed in charm-juju-backup-all: | |
status: | New → Fix Committed |
Changed in charm-juju-backup-all: | |
milestone: | none → 23.07 |
Changed in charm-juju-backup-all: | |
status: | Fix Committed → Fix Released |