← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1927516] [NEW] Unexpected API Error

 

Public bug reported:

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://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'sqlalchemy.exc.OperationalError'> (HTTP 500) (Request-ID: req-d43c7dfd-5f85-4bf8-83f0-db8d17290e4c)",
  "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",
      "_raw_params": "openstack server list",
      "_uses_shell": true,
      "warn": true,
      "stdin_add_newline": true,
      "strip_empty_ends": true,
      "argv": null,
      "chdir": null,
      "creates": null,
      "removes": null,
      "stdin": null
    }
  },
  "stdout_lines": [],
  "stderr_lines": [
    "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.",
    "<class 'sqlalchemy.exc.OperationalError'> (HTTP 500) (Request-ID: req-d43c7dfd-5f85-4bf8-83f0-db8d17290e4c)"
  ],
  "_ansible_no_log": false
}

Fell free to ask more information.

Best regards

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1927516

Title:
  Unexpected API Error

Status in OpenStack Compute (nova):
  New

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://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'sqlalchemy.exc.OperationalError'> (HTTP 500) (Request-ID: req-d43c7dfd-5f85-4bf8-83f0-db8d17290e4c)",
    "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",
        "_raw_params": "openstack server list",
        "_uses_shell": true,
        "warn": true,
        "stdin_add_newline": true,
        "strip_empty_ends": true,
        "argv": null,
        "chdir": null,
        "creates": null,
        "removes": null,
        "stdin": null
      }
    },
    "stdout_lines": [],
    "stderr_lines": [
      "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.",
      "<class 'sqlalchemy.exc.OperationalError'> (HTTP 500) (Request-ID: req-d43c7dfd-5f85-4bf8-83f0-db8d17290e4c)"
    ],
    "_ansible_no_log": false
  }

  Fell free to ask more information.

  Best regards

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1927516/+subscriptions


Follow ups