juju remove-backup times out on big backups

Bug #1779079 reported by Junien F
8
This bug affects 1 person
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-201053.b71b7177-ec7b-41d9-912e-6cfc6b61c0f6
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-201053.b71b7177-ec7b-41d9-912e-6cfc6b61c0f6"}
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.23.250:17070]
08:20:24 DEBUG juju.api apiclient.go:843 successfully dialed "wss://1.2.3.4:17070/model/b71b7177-ec7b-41d9-912e-6cfc6b61c0f6/api"
08:20:24 INFO juju.api apiclient.go:597 connection established to "wss://1.2.3.4:17070/model/b71b7177-ec7b-41d9-912e-6cfc6b61c0f6/api"
08:21:25 DEBUG juju.api monitor.go:35 RPC connection died
ERROR cannot delete resource "buckets/b71b7177-ec7b-41d9-912e-6cfc6b61c0f6/backups/20180122-201053.b71b7177-ec7b-41d9-912e-6cfc6b61c0f6" at storage path "856dcab0-5657-42c4-8c86-cc4d098196c5": read tcp 172.31.36.230:54854->172.31.23.250:37017: i/o timeout
08:21:25 DEBUG cmd supercommand.go:459 error stack:
cannot delete resource "buckets/b71b7177-ec7b-41d9-912e-6cfc6b61c0f6/backups/20180122-201053.b71b7177-ec7b-41d9-912e-6cfc6b61c0f6" at storage path "856dcab0-5657-42c4-8c86-cc4d098196c5": read tcp 172.31.36.230:54854->172.31.23.250:37017: i/o timeout
github.com/juju/juju/rpc/client.go:149:
github.com/juju/juju/api/apiclient.go:924:
github.com/juju/juju/api/backups/remove.go:15:
github.com/juju/juju/cmd/juju/backups/remove.go:69:

$ juju --debug remove-backup 20180122-201053.b71b7177-ec7b-41d9-912e-6cfc6b61c0f6
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-201053.b71b7177-ec7b-41d9-912e-6cfc6b61c0f6"}
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.23.250:17070]
08:35:35 DEBUG juju.api apiclient.go:843 successfully dialed "wss://1.2.3.4:17070/model/b71b7177-ec7b-41d9-912e-6cfc6b61c0f6/api"
08:35:35 INFO juju.api apiclient.go:597 connection established to "wss://1.2.3.4:17070/model/b71b7177-ec7b-41d9-912e-6cfc6b61c0f6/api"
successfully removed: 20180122-201053.b71b7177-ec7b-41d9-912e-6cfc6b61c0f6
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
Ian Booth (wallyworld)
tags: removed: restore-backup
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

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.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.