Application status message is not present in `juju status` output

Bug #1850268 reported by Dmitrii Shcherbakov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ben Hoyt

Bug Description

If a hook tool is invoked as follows on a leader unit, application status gets updated in the Juju state but it does not get represented in the `juju status` output similar to unit status values:

juju run --unit apache-httpd/0 "status-set --application active 'httpd app is ready'"

juju status
Model Controller Cloud/Region Version SLA Timestamp
default localhost-localhost localhost/localhost 2.6.9 unsupported 11:39:07+03:00

App Version Status Scale Charm Store Rev OS Notes
apache-httpd active 1 apache-httpd local 2 ubuntu
dummy-vhost active 1 dummy-vhost local 4 ubuntu

Unit Workload Agent Machine Public address Ports Message
apache-httpd/0* active idle 0 10.190.92.84 httpd is ready
dummy-vhost/0* active idle 0 10.190.92.84 Dummy vhost is ready

Machine State DNS Inst id Series AZ Message
0 started 10.190.92.84 juju-382280-0 bionic Running

juju run --unit apache-httpd/0 'status-get --application --include-data'
application-status:
  message: httpd app is ready
  status: active
  status-data: {}
  units:
    apache-httpd/0:
      message: httpd is ready
      status: active
      status-data: {}

The application status message isn't very useful unless it can be seen by the end user.

Tim Penhey (thumper)
Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.7.1
tags: added: bitesize status
Changed in juju:
milestone: 2.7.1 → 2.7.2
Changed in juju:
milestone: 2.7.2 → 2.7.3
Changed in juju:
milestone: 2.7.3 → 2.7.4
Changed in juju:
milestone: 2.7.4 → 2.7.5
Changed in juju:
milestone: 2.7.5 → 2.7.6
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.7.6 → 2.8-rc1
Pen Gale (pengale)
Changed in juju:
milestone: 2.8-rc1 → none
Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.9-beta1
assignee: nobody → Ben Hoyt (benhoyt)
Revision history for this message
Ben Hoyt (benhoyt) wrote :
Ben Hoyt (benhoyt)
Changed in juju:
status: Triaged → 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.

Other bug subscribers

Remote bug watches

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