remove-application has unexpected output

Bug #1599612 reported by Charles Butler
58
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Unassigned

Bug Description

Juju Version:
Juju 2.0-beta11

What I did:

juju deploy cs:~containers/bundle/beats-core
juju remove-application filebeat
juju remove-application topbeat

What I expected to happen:

Juju to remove the applications: subordinate charms which have not been related to any principal services yet. (read: un-deployed, only allocated in the model)

What happened:

ERROR application "topbeat" not found (not found)
ERROR application "filebeat" not found (not found)

The removal did work, however I received error output which lead me to believe there was a problem removing the charm.

Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
tags: added: bitesize remove-application usability
affects: juju-core → juju
tags: added: eda
Revision history for this message
Anastasia (anastasia-macmood) wrote :

I have done further investigation with Juju 2.1.0.

If I call remove-application when application is shown as "active", I do not get the error described above.

If I call remove-application when application is shown as "waiting", I get the error.

I believe that this is coming from the logic that retrieves application details: Juju must be filtering based on application status of 'Active'.

The application will get removed in both situations. However, I agree that the error is misleading.

Revision history for this message
Anastasia (anastasia-macmood) wrote :

This behavior is observed on any application irrespective of relation: subordinate or not, does not matter. I've renamed the bug.

summary: - remove-application has unexpected output with subordinate units
+ remove-application has unexpected output
tags: added: oil
Revision history for this message
Anastasia (anastasia-macmood) wrote :

I have not seen this error with 2.2.0. I suspect that the behavior was fixed as part of another bug fix.

Changed in juju:
milestone: none → 2.2.0
status: Triaged → 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.