juju should surface blocked volume deletion better

Bug #1734287 reported by Junien F
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Yang Kelvin Liu

Bug Description

Hi,

In bug 1722818, we investigated model removal failures that were actually simply caused by a process holding up a volume on an instance. This is information is easily seen _if_ you know about the "juju storage --format yaml" command (see example output below).

However, "juju status" only reported "attempt 1 to destroy model failed (will retry): model not empty, found X machines, X volumes, X filesystems (model not empty)".

Could you please either make "juju status" display the "message" below, or have "juju status" mention the "juju storage" or even "juju storage --format yaml" commands as a way to diagnose the problem ?

Thanks

 0/0:
    provider-id: filesystem-0-0
    volume: "0"
    attachments:
      machines:
        "0":
          mount-point: /srv/mnt/jenkins
          read-only: false
          life: dying
    pool: cinder
    size: 102400
    life: dying
    status:
      current: detaching
      message: |-
        umount failed: umount: /srv/mnt/jenkins: target is busy
                (In some cases useful info about processes that
                 use the device is found by lsof(8) or fuser(1).): exit status 32
      since: 02 Nov 2017 14:51:24Z

Revision history for this message
Andrew Wilkins (axwalk) wrote :

There have been many requests for storage in status, it just keeps getting deferred. Hopefully this is enough of an impetus.

Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.4-beta1
Changed in juju:
milestone: 2.4-beta1 → none
Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.5-beta1
Changed in juju:
milestone: 2.5-beta1 → 2.5-beta2
Ian Booth (wallyworld)
Changed in juju:
assignee: nobody → Yang Kelvin Liu (kelvin.liu)
Changed in juju:
status: Triaged → In Progress
Changed in juju:
status: In Progress → Triaged
Changed in juju:
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.5-beta2 → 2.5-beta3
Changed in juju:
milestone: 2.5-beta3 → 2.5-rc1
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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