ClientException: resources.sdc_vm: Unexpected API Error class 'oslo_db.exception.DBError

Bug #1708084 reported by Gaurav Mittal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Incomplete
Undecided
Unassigned
Ubuntu
New
Undecided
Unassigned

Bug Description

ClientException: resources.sdc_vm: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'oslo_db.exception.DBError'> (HTTP 500) (Request-ID: req-e4510367-3b71-4612-b0a6-fa77a41bb00a)

This is OCATA Openstack instyalled in a VM with CentOS 7 as an operationf system.

[root@localhost onap(keystone_admin)]# vgs
  VG #PV #LV #SN Attr VSize VFree
  cinder-volumes 1 1 0 wz--n- 412.00g 312.00g
  cl 1 2 0 wz--n- 497.77g 0
[root@localhost onap(keystone_admin)]#

[root@localhost onap(keystone_admin)]# uname -a
Linux openstack 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost onap(keystone_admin)]#

[root@localhost onap(keystone_admin)]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[root@localhost onap(keystone_admin)]#

Revision history for this message
Gaurav Mittal (gaurav.mittal) wrote :
Revision history for this message
Gaurav Mittal (gaurav.mittal) wrote :

Description
   ===========
 I was installing ONAP and attached is the YAML and ENV file for the same, where I got this error.

   Steps to reproduce
   ==================
With the attached YAML and ENV file i tried to install the complete STACK and then got this error.

   Environment
   ===========
   1. Open Stack is in OCATA Release. Attcahed is the answer file that was used to install Openstack using packstack command.

   2. We have the LVM based sidk attached in this VM. The setup is a VMwARE based VM installed with CentOS7.

   3. Below is the network configuration.
[root@openstack ~]# ovs-vsctl show
79014de9-5577-49f0-ab23-7e4e0fa6b87b
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-ex
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-ex
            Interface br-ex
                type: internal
        Port "ens32"
            Interface "ens32"
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "tap9d4adf55-dd"
            tag: 1
            Interface "tap9d4adf55-dd"
                type: internal
        Port "tapa5bd7558-f0"
            tag: 5
            Interface "tapa5bd7558-f0"
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "qg-1d3cc72d-29"
            tag: 4
            Interface "qg-1d3cc72d-29"
                type: internal
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port br-int
            Interface br-int
                type: internal
        Port "qr-4a0e0367-6b"
            tag: 5
            Interface "qr-4a0e0367-6b"
                type: internal
    ovs_version: "2.6.1"
[root@openstack ~]#

   Logs & Configs
   ==============
1. Answer file = ocata.txt
2. Nova API Log = nova-api.log
3. Heat files = heat-OpenECOMP-onap_openstack.env and heat-OpenECOMP-onap_openstack.yaml

Revision history for this message
Gaurav Mittal (gaurav.mittal) wrote :
Revision history for this message
Gaurav Mittal (gaurav.mittal) wrote :
Revision history for this message
Gaurav Mittal (gaurav.mittal) wrote :
Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

Could you please paste the nova-api logs showing the full stacktrace ?

Changed in nova:
status: New → Incomplete
Revision history for this message
Gaurav Mittal (gaurav.mittal) wrote :
Download full text (2.6 MiB)

2017-08-01 15:51:06.038 32732 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
2017-08-01 15:51:06.722 32732 WARNING oslo_config.cfg [-] Option "use_neutron" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
2017-08-01 15:51:07.338 32732 INFO nova.api.openstack [req-28b8ac08-342a-434c-b747-fb029f00c3b0 - - - - -] Loaded extensions: ['extensions', 'flavors', 'image-metadata', 'image-size', 'images', 'ips', 'limits', 'os-admin-actions', 'os-admin-password', 'os-agents', 'os-aggregates', 'os-assisted-volume-snapshots', 'os-attach-interfaces', 'os-availability-zone', 'os-baremetal-nodes', 'os-block-device-mapping', 'os-cells', 'os-certificates', 'os-cloudpipe', 'os-config-drive', 'os-console-auth-tokens', 'os-console-output', 'os-consoles', 'os-create-backup', 'os-deferred-delete', 'os-evacuate', 'os-extended-availability-zone', 'os-extended-server-attributes', 'os-extended-status', 'os-extended-volumes', 'os-fixed-ips', 'os-flavor-access', 'os-flavor-extra-specs', 'os-flavor-manage', 'os-flavor-rxtx', 'os-floating-ip-dns', 'os-floating-ip-pools', 'os-floating-ips', 'os-floating-ips-bulk', 'os-fping', 'os-hide-server-addresses', 'os-hosts', 'os-hypervisors', 'os-instance-actions', 'os-instance-usage-audit-log', 'os-keypairs', 'os-lock-server', 'os-migrate-server', 'os-migrations', 'os-multinic', 'os-multiple-create', 'os-networks', 'os-networks-associate', 'os-pause-server', 'os-quota-class-sets', 'os-quota-sets', 'os-remote-consoles', 'os-rescue', 'os-scheduler-hints', 'os-security-group-default-rules', 'os-security-groups', 'os-server-diagnostics', 'os-server-external-events', 'os-server-groups', 'os-server-password', 'os-server-tags', 'os-server-usage', 'os-services', 'os-shelve', 'os-simple-tenant-usage', 'os-suspend-server', 'os-tenant-networks', 'os-used-limits', 'os-user-data', 'os-virtual-interfaces', 'os-volumes', 'server-metadata', 'server-migrations', 'servers', 'versions']
2017-08-01 15:51:07.343 32732 WARNING keystonemiddleware.auth_token [req-28b8ac08-342a-434c-b747-fb029f00c3b0 - - - - -] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.
2017-08-01 15:51:07.774 32732 INFO nova.api.openstack [req-28b8ac08-342a-434c-b747-fb029f00c3b0 - - - - -] Loaded extensions: ['extensions', 'flavors', 'image-metadata', 'image-size', 'images', 'ips', 'limits', 'os-admin-actions', 'os-admin-password', 'os-agents', 'os-aggregates', 'os-assisted-volume-snapshots', 'os-attach-interfaces', 'os-availability-zone', 'os-baremetal-nodes', 'os-block-device-mapping', 'os-cells', 'os-certificates', 'os-cloudpipe', 'os-config-drive', 'os-console-auth-tokens', 'os-console-output', 'os-consoles', 'os-create-backup', 'os-deferred-delete', 'os-evacuate', 'os-extended-availability-zone', 'os-extended-server-attributes', 'os-extended-status', 'os-extended-volumes', 'os-fixed-ips', 'os-flavor-access', 'os-flavor...

Revision history for this message
Gaurav Mittal (gaurav.mittal) wrote :

I have a also uploaded the api.log file

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.