Comment 9 for bug 1379373

Revision history for this message
Dafna Ron (dron-3) wrote :

I'm a tester and my setup basically changes twice a week :) I cannot give any further info.
However, I ran baremetal-node-show and baremetal-node-list on my new setup and still getting an error.

i am working with rhel7 on an AIO controller with 2 computes.

these are the packages installed for nova:

[root@gizmo ~(keystone_admin)]# rpm -qa |grep nova
openstack-nova-conductor-2014.2-2.el7ost.noarch
openstack-nova-scheduler-2014.2-2.el7ost.noarch
python-nova-2014.2-2.el7ost.noarch
openstack-nova-novncproxy-2014.2-2.el7ost.noarch
openstack-nova-api-2014.2-2.el7ost.noarch
python-novaclient-2.20.0-1.el7ost.noarch
openstack-nova-common-2014.2-2.el7ost.noarch
openstack-nova-cert-2014.2-2.el7ost.noarch
openstack-nova-console-2014.2-2.el7ost.noarch

[root@XXXX ~(keystone_admin)]# nova baremetal-node-show xx.xx.xx.redhat.com
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-383cb867-4de4-480d-910f-e74776c16a56)
[root@XXXX~(keystone_admin)]# nova baremetal-node-show xxx.xxx.xxtlv.redhat.com
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-d3304ec5-cc0e-4df6-9eca-3bf6eda3c5a0)
[root@XXXX ~(keystone_admin)]# nova baremetal-node-list
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-32488d29-71a3-4edb-9cbd-be9097b11f7f)

[root@gizmo ~(keystone_admin)]# egrep req-32488d29-71a3-4edb-9cbd-be9097b11f7f /var/log/*/*
egrep: /var/log/nagios/archives: Is a directory
egrep: /var/log/nagios/spool: Is a directory
/var/log/nova/nova-api.log:2014-12-04 11:37:50.505 6190 DEBUG nova.api.openstack.wsgi [req-32488d29-71a3-4edb-9cbd-be9097b11f7f None] Calling method '<bound method BareMetalNodeController.index of <nova.api.openstack.compute.contrib.baremetal_nodes.BareMetalNodeController object at 0x3374d50>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:935
/var/log/nova/nova-api.log:2014-12-04 11:37:50.522 6190 ERROR nova.api.openstack [req-32488d29-71a3-4edb-9cbd-be9097b11f7f None] Caught error: (OperationalError) no such table: bm_nodes u'SELECT bm_nodes.deleted_at AS bm_nodes_deleted_at, bm_nodes.created_at AS bm_nodes_created_at, bm_nodes.updated_at AS bm_nodes_updated_at, bm_nodes.id AS bm_nodes_id, bm_nodes.deleted AS bm_nodes_deleted, bm_nodes.uuid AS bm_nodes_uuid, bm_nodes.service_host AS bm_nodes_service_host, bm_nodes.instance_uuid AS bm_nodes_instance_uuid, bm_nodes.instance_name AS bm_nodes_instance_name, bm_nodes.cpus AS bm_nodes_cpus, bm_nodes.memory_mb AS bm_nodes_memory_mb, bm_nodes.local_gb AS bm_nodes_local_gb, bm_nodes.preserve_ephemeral AS bm_nodes_preserve_ephemeral, bm_nodes.pm_address AS bm_nodes_pm_address, bm_nodes.pm_user AS bm_nodes_pm_user, bm_nodes.pm_password AS bm_nodes_pm_password, bm_nodes.task_state AS bm_nodes_task_state, bm_nodes.terminal_port AS bm_nodes_terminal_port, bm_nodes.image_path AS bm_nodes_image_path, bm_nodes.pxe_config_path AS bm_nodes_pxe_config_path, bm_nodes.deploy_key AS bm_nodes_deploy_key, bm_nodes.root_mb AS bm_nodes_root_mb, bm_nodes.swap_mb AS bm_nodes_swap_mb, bm_nodes.ephemeral_mb AS bm_nodes_ephemeral_mb \nFROM bm_nodes \nWHERE bm_nodes.deleted = 0' ()
/var/log/nova/nova-api.log:2014-12-04 11:37:50.526 6190 INFO nova.api.openstack [req-32488d29-71a3-4edb-9cbd-be9097b11f7f None] http://10.35.117.18:8774/v2/d983bbc3b82942c8b4c7a533127c9bbe/os-baremetal-nodes returned with HTTP 500
/var/log/nova/nova-api.log:2014-12-04 11:37:50.526 6190 DEBUG nova.api.openstack.wsgi [req-32488d29-71a3-4edb-9cbd-be9097b11f7f None] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. __call__ /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:1199
/var/log/nova/nova-api.log:2014-12-04 11:37:50.526 6190 INFO nova.osapi_compute.wsgi.server [req-32488d29-71a3-4edb-9cbd-be9097b11f7f None] 10.35.117.18 "GET /v2/d983bbc3b82942c8b4c7a533127c9bbe/os-baremetal-nodes HTTP/1.1" status: 500 len: 335 time: 0.0343928
[root@gizmo ~(keystone_admin)]# ^C
[root@gizmo ~(keystone_admin)]#