Unexpected API Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi,
I have an ansible-playbook to backup server from opentack cli. I connect to OVH openstack cloud and execute some cli commands. I had an error like that so I followed the instructions.
{
"msg": "non-zero return code",
"cmd": "openstack server list",
"stdout": "",
"stderr": "Unexpected API Error. Please report this at http://
"rc": 1,
"start": "2021-05-03 01:30:40.273278",
"end": "2021-05-03 01:30:48.377721",
"delta": "0:00:08.104443",
"changed": true,
"invocation": {
"module_args": {
"executable": "/bin/bash",
"
"
"warn": true,
"
"
"argv": null,
"chdir": null,
"creates": null,
"removes": null,
"stdin": null
}
},
"stdout_lines": [],
"stderr_lines": [
"Unexpected API Error. Please report this at http://
"<class 'sqlalchemy.
],
"_ansible_
}
Fell free to ask more information.
Best regards
Many thanks for raising the bug but as suggested in the output text we actually need the API logs from OVH to debug this further. Apologies if the text is confusing, we recently made it configurable to allow operators like OVH to point to their own issue trackers:
https:/ /github. com/openstack/ nova/blob/ 7953c0197d1a446 6cb5b78070d4762 6c92f9db6e/ nova/version. py#L20- L22
Marking this as in-complete for now, if OVH can provide these logs we can look into this again.