-
Notifications
You must be signed in to change notification settings - Fork 24
bolt_task agent is unable to download tasks containing multiple files #605
Comments
interesting, yeah I think when I did the task support the specification didnt yet allow multiple files in a task |
I'm hitting this with this module: odoo. The choria-audit log shows (reformatted for readability): [
{
"filename": "database_delete.sh",
"sha256": "27cf85fc65b33bd3492e0188533d4a25d67cd810d91f61b4baf6e89cc675539a",
"size_bytes": 140,
"uri": {
"path": "/puppet/v3/static_file_content/modules/odoo/tasks/database_delete.sh",
"params": {
"environment": "production",
"code_id": "cf812ee55e84bf63a0b8ee4a08b2c3fad26dc313"
}
}
},
{
"filename": "odoo/files/database-delete.py",
"sha256": "deffdfa89fac5e02d689d26ae43c933e47cb10ea12d56dd6c72184043bc56f25",
"size_bytes": 96,
"uri": {
"path": "/puppet/v3/static_file_content/modules/odoo/files/database-delete.py",
"params": {
"environment": "production",
"code_id": "cf812ee55e84bf63a0b8ee4a08b2c3fad26dc313"
}
}
}
]
In the puppetserver log, I can see this file being successfully transferred:
More investigation needed (next week probably), I suspect the file is downloaded to a "wrong" location which cause problem after. |
Ok thanks. I think multiple files was added to the spec after I implemented the bolt support. I anticipated they would support multiple files but behaviour was undefined then no doubt we have some bugs around there to fix. |
(#605) Unbreak bolt_task with multiple files
thank you @smortex |
I did bolt task using Ruby TaskHelper module. Here are task details:
When trying to execute this task I hit into following issue:
Here is choria-mcorpc.log content related:
The text was updated successfully, but these errors were encountered: