Juju actions change of behavior between 2.6 and 2.7 causes it to fail

Bug #1859636 reported by Pedro Guimarães
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
New
Undecided
Unassigned

Bug Description

Hi,

Recently upgraded from 2.6.10 to 2.7.0 and I am trying to run some actions, but I am seeing that show-action-output is not working the way it used to:

$ juju run-action --wait graylog/0 show-admin-password
ERROR identifier "1" matched multiple actions [action-1 action-1724887b-9d6a-4421-8cb9-5c14bc3cb646 action-18683603-43d7-4c1a-87eb-79b715ad8237 action-1b7cf07d-fe43-41d2-817a-6b0d03673571 action-1fecea5b-c8ef-4269-8c21-57edc75277e1]

$ juju run-action graylog/0 show-admin-password
Action queued with id: "2"
$ juju show-action-output 2
ERROR identifier "2" matched multiple actions [action-2 action-20a22fc3-8af4-47ee-8dce-e4ca07cea995 action-2363775a-943f-43a0-8bfa-ad01bccc2dec]
$ juju show-action-output action-2
ERROR actions for identifier "action-2" not found

I can see juju actions is undergoing some changes recently:
https://discourse.jujucharms.com/t/new-features-and-changes-in-juju-2-7/2268

It is not yet clear how can I interact with this new CLI commands.
I do not have access to commands such as call or juju operations. Neither on stable nor candidate 2.7 channels have.
However, if I follow the instructions as described on juju show-action-output --help, I get the above.

summary: - Juju actions change between 2.6 and 2.7 causes it to fail on upgrade
+ Juju actions change between 2.6 and 2.7 causes it to fail
summary: - Juju actions change between 2.6 and 2.7 causes it to fail
+ Juju actions change of behavior between 2.6 and 2.7 causes it to fail
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.