juju create-backup does not safeguard against using up all of the disk space on controller units
Bug #1693780 reported by
Barry Price
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Ian Booth |
Bug Description
In an HA Juju 2.1.3 environment, I ran:
$ juju create-backup --filename mybackup.tgz
The size of Juju's data store (/var/lib/juju/db) in that environment was 25GB, but none of the three HA controllers had more than 15GB available disk space.
Fortunately I noticed before we hit ENOSPACE, and managed to kill it with / at 99% full.
The create-backup routine should make a conservative guess at how much disk space will be required, and refuse to run unless the amount of free space on the target partition is greater than that number.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: enable-ha ensure-availability improvement usability |
tags: | added: backup-restore |
Changed in juju: | |
milestone: | none → 2.9.19 |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
we should decide on backup-restore or restore-backup but not mix them.
On Jan 4, 2018 00:45, "Heather Lanigan" <email address hidden> wrote:
> ** Tags added: backup-restore /bugs.launchpad .net/bugs/ 1693780 /bugs.launchpad .net/juju/ +bug/1693780/ +subscriptions
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> juju create-backup does not safeguard against using up all of the disk
> space on controller units
>
> To manage notifications about this bug go to:
> https:/
>