Run command doesn't supports specific targets
Bug #1456332 reported by
Jorge Niedbalski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-jujuclient |
Fix Committed
|
Undecided
|
Jorge Niedbalski |
Bug Description
The run command, doesn't support to target specific services, units or machines.
As is currently implemented, the target parameter exists, but is not usable for specifying
a service, unit or machine set.
This bug tracks that fix.
Related branches
lp:~niedbalski/python-jujuclient/lp-1456332
- Tim Van Steenburgh (community): Approve
- Felipe Reyes (community): Approve
-
Diff: 138 lines (+95/-5)2 files modifiedjujuclient.py (+31/-5)
test_jujuclient.py (+64/-0)
Changed in python-jujuclient: | |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
status: | New → In Progress |
Changed in python-jujuclient: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I am not sure if this is a recent change in juju, but with juju 1.24, the Machines, Units, Services arrays need to be part of Params:
{
"testcharm/ 0"
"Request": "Run",
"Params": {
"Units": [
],
"Commands": "top",
"Timeout": 3000000000
},
"Type": "Client",
"RequestId": 4
}