Agent version empty in AllWatcher deltas for machine and unit

Bug #1775248 reported by Cory Johns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Yang Kelvin Liu

Bug Description

Mentioned on #1695335 but never addressed, the version field of the agent-status for both machine and unit deltas always comes back as an empty string. For example, see https://pastebin.ubuntu.com/24750344/ from the previous bug. In order to determine the machine or unit agent version, a FullStatus call has to be made.

Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.4.1
status: New → Triaged
importance: Undecided → High
Revision history for this message
Tim Penhey (thumper) wrote :

In the status call, the agent-status map for machines and units have the version populated from the tools version on the main document.

See https://github.com/juju/juju/blob/develop/apiserver/facades/client/client/status.go#L1362

The all watcher code could easily do the same.

Changed in juju:
assignee: nobody → Yang Kelvin Liu (kelvin.liu)
Changed in juju:
status: Triaged → In Progress
Ian Booth (wallyworld)
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.

Other bug subscribers

Remote bug watches

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