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.
[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)]#
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 nova-conductor- 2014.2- 2.el7ost. noarch nova-scheduler- 2014.2- 2.el7ost. noarch nova-2014. 2-2.el7ost. noarch nova-novncproxy -2014.2- 2.el7ost. noarch nova-api- 2014.2- 2.el7ost. noarch novaclient- 2.20.0- 1.el7ost. noarch nova-common- 2014.2- 2.el7ost. noarch nova-cert- 2014.2- 2.el7ost. noarch nova-console- 2014.2- 2.el7ost. noarch
openstack-
openstack-
python-
openstack-
openstack-
python-
openstack-
openstack-
openstack-
[root@XXXX ~(keystone_admin)]# nova baremetal-node-show xx.xx.xx.redhat.com 4de4-480d- 910f-e74776c16a 56) (keystone_ admin)] # nova baremetal-node-show xxx.xxx. xxtlv.redhat. com cc0e-4df6- 9eca-3bf6eda3c5 a0) 71a3-4edb- 9cbd-be9097b11f 7f)
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-383cb867-
[root@XXXX~
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-d3304ec5-
[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-
[root@gizmo ~(keystone_admin)]# egrep req-32488d29- 71a3-4edb- 9cbd-be9097b11f 7f /var/log/*/* nagios/ archives: Is a directory nagios/ spool: Is a directory nova/nova- api.log: 2014-12- 04 11:37:50.505 6190 DEBUG nova.api. openstack. wsgi [req-32488d29- 71a3-4edb- 9cbd-be9097b11f 7f None] Calling method '<bound method BareMetalNodeCo ntroller. index of <nova.api. openstack. compute. contrib. baremetal_ nodes.BareMetal NodeController object at 0x3374d50>>' _process_stack /usr/lib/ python2. 7/site- packages/ nova/api/ openstack/ wsgi.py: 935 nova/nova- api.log: 2014-12- 04 11:37:50.522 6190 ERROR nova.api.openstack [req-32488d29- 71a3-4edb- 9cbd-be9097b11f 7f 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' () nova/nova- api.log: 2014-12- 04 11:37:50.526 6190 INFO nova.api.openstack [req-32488d29- 71a3-4edb- 9cbd-be9097b11f 7f None] http:// 10.35.117. 18:8774/ v2/d983bbc3b829 42c8b4c7a533127 c9bbe/os- baremetal- nodes returned with HTTP 500 nova/nova- api.log: 2014-12- 04 11:37:50.526 6190 DEBUG nova.api. openstack. wsgi [req-32488d29- 71a3-4edb- 9cbd-be9097b11f 7f 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 nova/nova- api.log: 2014-12- 04 11:37:50.526 6190 INFO nova.osapi_ compute. wsgi.server [req-32488d29- 71a3-4edb- 9cbd-be9097b11f 7f None] 10.35.117.18 "GET /v2/d983bbc3b82 942c8b4c7a53312 7c9bbe/ os-baremetal- nodes HTTP/1.1" status: 500 len: 335 time: 0.0343928
egrep: /var/log/
egrep: /var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
[root@gizmo ~(keystone_admin)]# ^C
[root@gizmo ~(keystone_admin)]#