yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75771
[Bug 1804084] [NEW] Nova API responds with HTTP 500 / DBError on instance creation
Public bug reported:
Description
===========
When creating a new instance with the POST /servers API, a HTTP 500 is encountered:
Request and Response:
500 POST http://38.108.68.93/compute/v2.1/servers 1.804s
2018-11-19 07:17:28.015 3332 DEBUG tempest.lib.common.rest_client [req-807e4720-03a9-4acc-8c5a-a9fbeb8a5df9 ] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: {"server": {"name": "tempest-ShareManageUnmanageNFS-server-1394122281", "imageRef": "0ab32d82-b8f2-4bf7-969f-8f3339dd4efa", "key_name": "tempest-ShareManageUnmanageNFS-1797925906", "flavorRef": "100", "networks": [{"uuid": "4051f365-fc7c-46d3-8295-2f3e4317e5ee"}], "security_groups": [{"name": "tempest-secgroup-smoke-1206484509"}]}}
Response - Headers: {'status': '500', u'content-length': '199', 'content-location': 'http://38.108.68.93/compute/v2.1/servers', u'x-compute-request-id': 'req-807e4720-03a9-4acc-8c5a-a9fbeb8a5df9', u'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', u'server': 'Apache/2.4.29 (Ubuntu)', u'openstack-api-version': 'compute 2.1', u'connection': 'close', u'x-openstack-nova-api-version': '2.1', u'date': 'Mon, 19 Nov 2018 07:17:26 GMT', u'content-type': 'application/json; charset=UTF-8', u'x-openstack-request-id': 'req-807e4720-03a9-4acc-8c5a-a9fbeb8a5df9'}
Body: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'oslo_db.exception.DBError'>", "code": 500}} _log_request_full tempest/lib/common/rest_client.py:437
Steps to reproduce
==================
This occurred in the openstack/manila project gate when running "scenario" tests which attempt to create a Nova VM to mount shared file systems and perform I/O. The tests bail out on the first step, i.e, creating a VM.
Environment
===========
1. OpenStack version: master / Stein
2. Env:
Setup: DevStack/DevStack gate - local.conf is here [1] (Also Attached)
Hypervisor: Libvirt/KVM
Storage: LVM
Networking type: Neutron with OpenVSwitch
Database used: PostgreSQL
Logs & Configs
==============
nova-api logs are attached. Only the relevant sections of the manila/tempest logs are attached with this report. See this paste [3] for Relevant log file links and debug steps followed by the reporter.
[1] Local.conf: http://logs.openstack.org/67/616467/1/check/manila-tempest-dsvm-scenario/e765422/logs/local.conf.txt.gz
[2] Nova API log: http://logs.openstack.org/67/616467/1/check/manila-tempest-dsvm-scenario/e765422/logs/screen-n-api.txt.gz
[3] Paste with relevant details: http://paste.openstack.org/show/735697/
** Affects: manila
Importance: Undecided
Status: Opinion
** Affects: nova
Importance: Undecided
Status: New
** Tags: postgresql
** Tags added: postgresql
--
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/1804084
Title:
Nova API responds with HTTP 500 / DBError on instance creation
Status in Manila:
Opinion
Status in OpenStack Compute (nova):
New
Bug description:
Description
===========
When creating a new instance with the POST /servers API, a HTTP 500 is encountered:
Request and Response:
500 POST http://38.108.68.93/compute/v2.1/servers 1.804s
2018-11-19 07:17:28.015 3332 DEBUG tempest.lib.common.rest_client [req-807e4720-03a9-4acc-8c5a-a9fbeb8a5df9 ] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: {"server": {"name": "tempest-ShareManageUnmanageNFS-server-1394122281", "imageRef": "0ab32d82-b8f2-4bf7-969f-8f3339dd4efa", "key_name": "tempest-ShareManageUnmanageNFS-1797925906", "flavorRef": "100", "networks": [{"uuid": "4051f365-fc7c-46d3-8295-2f3e4317e5ee"}], "security_groups": [{"name": "tempest-secgroup-smoke-1206484509"}]}}
Response - Headers: {'status': '500', u'content-length': '199', 'content-location': 'http://38.108.68.93/compute/v2.1/servers', u'x-compute-request-id': 'req-807e4720-03a9-4acc-8c5a-a9fbeb8a5df9', u'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', u'server': 'Apache/2.4.29 (Ubuntu)', u'openstack-api-version': 'compute 2.1', u'connection': 'close', u'x-openstack-nova-api-version': '2.1', u'date': 'Mon, 19 Nov 2018 07:17:26 GMT', u'content-type': 'application/json; charset=UTF-8', u'x-openstack-request-id': 'req-807e4720-03a9-4acc-8c5a-a9fbeb8a5df9'}
Body: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'oslo_db.exception.DBError'>", "code": 500}} _log_request_full tempest/lib/common/rest_client.py:437
Steps to reproduce
==================
This occurred in the openstack/manila project gate when running "scenario" tests which attempt to create a Nova VM to mount shared file systems and perform I/O. The tests bail out on the first step, i.e, creating a VM.
Environment
===========
1. OpenStack version: master / Stein
2. Env:
Setup: DevStack/DevStack gate - local.conf is here [1] (Also Attached)
Hypervisor: Libvirt/KVM
Storage: LVM
Networking type: Neutron with OpenVSwitch
Database used: PostgreSQL
Logs & Configs
==============
nova-api logs are attached. Only the relevant sections of the manila/tempest logs are attached with this report. See this paste [3] for Relevant log file links and debug steps followed by the reporter.
[1] Local.conf: http://logs.openstack.org/67/616467/1/check/manila-tempest-dsvm-scenario/e765422/logs/local.conf.txt.gz
[2] Nova API log: http://logs.openstack.org/67/616467/1/check/manila-tempest-dsvm-scenario/e765422/logs/screen-n-api.txt.gz
[3] Paste with relevant details: http://paste.openstack.org/show/735697/
To manage notifications about this bug go to:
https://bugs.launchpad.net/manila/+bug/1804084/+subscriptions
Follow ups