Subordinate charm Action data not reported by API

Bug #1457205 reported by Tim Van Steenburgh
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
John Weldon
1.24
Fix Released
High
John Weldon

Bug Description

1.23.3-trusty-amd64

Given a subordinate charm 'mysub' that defines actions:

- Actions for 'mysub' CAN be enqueued successfully using the Action.Enqueue api (good)
- Action results for 'mysub' are NOT reported by the Action.ListAll api (bug)
- Action status changes for 'mysub' are NOT communicated via the AllWatcher (bug)

`juju action do` and `juju action fetch` work properly for subordinate charms.

Curtis Hovey (sinzui)
tags: added: actions subordinate
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
tags: added: charmers
Revision history for this message
Marco Ceppi (marcoceppi) wrote :

This breaks our benchmarking story in a big way, can we get the priority raised for this and some time allocated for the 1.25 release?

Changed in juju-core:
milestone: none → 1.25.0
assignee: nobody → John Weldon (johnweldon4)
importance: Medium → High
Revision history for this message
John Weldon (johnweldon4) wrote :

Please help me by adding some repro-steps for this. I'm especially interested if `juju action fetch` works correctly, but `Action.ListAll` in the API doesn't.

Thanks!

Revision history for this message
John Weldon (johnweldon4) wrote :

Can no longer reproduce. This appears to have been fixed in 1.24

Revision history for this message
Tim Van Steenburgh (tvansteenburgh) wrote :

I can no longer repro these issues on 1.24.

The Action.ListAll behavior was not a bug at all, I was just Doing It Wrong.
The AllWatcher is correctly reporting updates on subordinate actions as of 1.24.

As far as I'm concerned this bug can be closed.

Revision history for this message
John Weldon (johnweldon4) wrote :

This appears to have been fixed.

Changed in juju-core:
status: Triaged → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
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.