set-status --application not properly reflected in juju status and show-application

Bug #1854155 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

I was testing out application status (status-set --application) and found 2 issues:

 1) 'juju status --format=tabular' doesn't show the message for an application status (I thought it would be in Notes)
 2) 'juju show-application' doesn't show the value either

For example, doing:

$ juju run --unit ubuntu-lite/0 "status-set --application=False maintenance foo"
$ juju run --unit ubuntu-lite/0 "status-set --application=True maintenance bar"

I can see the Status change and the Unit message in 'juju status':
$ juju status
...
App Version Status Scale Charm Store Rev OS Notes
ubuntu-lite 18.04 maintenance 1 ubuntu-lite jujucharms 7 ubuntu
...
Unit Workload Agent Machine Public address Ports Message
ubuntu-lite/0* maintenance idle 1 10.207.1.54 foo

However, there is no Application message, nor is it in 'show-application':
$ juju show-application ubuntu-lite
ubuntu-lite:
  charm: ubuntu-lite
  series: bionic
  channel: stable
  principal: true
  exposed: false
  remote: false
  endpoint-bindings:
    another: ""
    ubuntu: ""

It *is* in 'juju status --format=yaml':
applications:
  ubuntu-lite:
    charm: cs:~jameinel/ubuntu-lite-7
    series: bionic
    os: ubuntu
    charm-origin: jujucharms
    charm-name: ubuntu-lite
    charm-rev: 7
    exposed: false
    application-status:
      current: maintenance
      message: bar
      since: 27 Nov 2019 12:08:29Z

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

https://bugs.launchpad.net/juju/+bug/1850268 - a bug for (1) created earlier.

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.