Closed bluecarrot closed 4 years ago
Hello @bluecarrot
Based on your report, we has identified an issue within cv_device
where fields in task were not updated to match cv_task
expectation.
Once this change had been done, tasks were correctly captured by cv_device
[...]
TASK [Display cv_device] ************
Monday 18 November 2019 17:27:33 +0100 (0:00:17.133) 0:01:06.946 *******
ok: [cvp_foster] => {
"msg": {
"changed": true,
"data": {
"new": [],
"reset": [],
"tasks": [
{
"currentTaskName": "Submit",
"description": "Configlet Assign: veos01",
"note": "",
"taskStatus": "ACTIVE",
"workOrderDetails": {
"ipAddress": "172.23.0.2",
"netElementHostName": "veos01",
"netElementId": "50:25:22:56:12:61",
"serialNumber": "728870FA16465700865C770C620DF4DE",
"workOrderDetailsId": "",
"workOrderId": ""
},
"workOrderId": "161",
"workOrderState": "ACTIVE",
"workOrderUserDefinedStatus": "Pending"
}
],
"updated": [
{
"veos01": "Configlets-[u'161']"
}
]
},
"failed": false
}
}
TASK [RUN 1: Execute tasks registered in the previous task] ************
Monday 18 November 2019 17:27:34 +0100 (0:00:01.151) 0:01:08.097 *******
changed: [cvp_foster]
PLAY RECAP ************
cvp_foster : ok=6 changed=3 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Fix is currently in PR #80 and will be merged once we will validate this change.
Could you check on your own and confirm ?
Thanks
Thanks @titom73 let me test it out and update you.
@titom73 thanks, it works. I will close this issue.
Issue Type
Module Name cv_tasks
OS / Environment
CentOS Linux release 7.5.1804 (Core)
Summary
i created a playbook to update the configlet of leaf
the tasks output:
Steps to reproduce
Please find the playbook code above
Expected results
Actual results
Unable to run the task.