juju remove-backup times out on big backups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
Hi,
Running juju 2.3.7 (controller is 2.3.7 as well), remove-backup times out when trying to remove big backups. Re-running the command (after some time) succeeds instantly. I supposed juju doesn't wait long enough for mongo to do its things.
$ juju --debug remove-backup 20180122-
08:20:24 INFO juju.cmd supercommand.go:56 running juju [2.3.7 gc go1.8]
08:20:24 DEBUG juju.cmd supercommand.go:57 args: []string{"juju", "--debug", "remove-backup", "20180122-
08:20:24 INFO juju.juju api.go:67 connecting to API addresses: [1.2.3.4:17070 172.31.36.230:17070 1.2.3.5:17070 172.31.7.200:17070 1.2.3.6:17070 172.31.
08:20:24 DEBUG juju.api apiclient.go:843 successfully dialed "wss://
08:20:24 INFO juju.api apiclient.go:597 connection established to "wss://
08:21:25 DEBUG juju.api monitor.go:35 RPC connection died
ERROR cannot delete resource "buckets/
08:21:25 DEBUG cmd supercommand.go:459 error stack:
cannot delete resource "buckets/
github.
github.
github.
github.
$ juju --debug remove-backup 20180122-
08:35:35 INFO juju.cmd supercommand.go:56 running juju [2.3.7 gc go1.8]
08:35:35 DEBUG juju.cmd supercommand.go:57 args: []string{"juju", "--debug", "remove-backup", "20180122-
08:35:35 INFO juju.juju api.go:67 connecting to API addresses: [1.2.3.4:17070 172.31.36.230:17070 1.2.3.5:17070 172.31.7.200:17070 1.2.3.6:17070 172.31.
08:35:35 DEBUG juju.api apiclient.go:843 successfully dialed "wss://
08:35:35 INFO juju.api apiclient.go:597 connection established to "wss://
successfully removed: 20180122-
08:35:36 DEBUG juju.api monitor.go:35 RPC connection died
08:35:36 INFO cmd supercommand.go:465 command finished
tags: | added: backup-restore restore-backup usabilty |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | removed: restore-backup |
This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.