should not allow submitting results to different servers
Bug #1217061 reported by
Antonio Terceiro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Dispatcher |
Confirmed
|
Wishlist
|
Antonio Terceiro |
Bug Description
Currently the submit_results action allows one to submit results to random servers, but that's not actually feasible since you cannot control which version of the bundle schema the other server runs, and there is no useful use case for submitting results for a server other than then one you are submitting the job to.
So we need to deprecate the "server" argument from the submit_results action, probably making it optional in the schema and ignoring its value. The scheduler probably also handles this on lava_scheduler_
Changed in lava-dispatcher: | |
status: | New → Confirmed |
Changed in lava-dispatcher: | |
importance: | Wishlist → High |
assignee: | nobody → Antonio Terceiro (terceiro) |
To post a comment you must log in.
i.e. currently we say:
{
"parameters" : {
"stream" : "/anonymous/ terceiro/ ",
"server" : "http:// localhost/ RPC2/"
"command": "submit_results",
}
}
but you should be able to say just
{
"parameters" : {
"stream" : "/anonymous/ terceiro/ ",
"command": "submit_results",
}
}
and moreover ignore the "server" argument if it exists. We cannot remove it from the schema for backwards compatibility.