No error message when removing nonexistent storage pool

Bug #1863686 reported by Evan Hanson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth

Bug Description

Hi there, this is a very small one, there is no error message when one tries to remove a nonexistent storage pool, and the command exits with status 0:

  $ juju version
  2.8-beta1-bionic-amd64
  $ juju list-storage-pools
  Name Provider Attrs
  kubernetes kubernetes

  $ juju remove-storage-pool asdf
  $ echo $?
  0

Based on the behaviour of the other commands I would expect a message and non-zero exit status e.g.

  $ juju remove-application asdf
  removing application asdf failed: application "asdf" not found

Ian Booth (wallyworld)
tags: added: k8s
Changed in juju:
milestone: none → 2.8-beta1
importance: Undecided → High
status: New → Triaged
Ian Booth (wallyworld)
summary: - No error message when removing nonexistent storage pool on K8s
+ No error message when removing nonexistent storage pool
Changed in juju:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Harry Pidcock (hpidcock)
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.

Other bug subscribers

Remote bug watches

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