← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1379373] Re: baremetal-node-show command shows missing table in db

 

It appears no work is needed in novaclient for this, as the nova
baremetal nodes api extensions are proxying to ironic.

This is output from a devstack setup without ironic installed:

vagrant@vagrant-ubuntu-trusty-64:~/python-novaclient$ nova baremetal-node-list
ERROR (HTTPNotImplemented): Ironic client unavailable, cannot access Ironic. (HTTP 501) (Request-ID: req-bc950818-bfcb-426d-bea1-2af7eaa5c5a9)

** Changed in: python-novaclient
       Status: New => Invalid

-- 
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/1379373

Title:
  baremetal-node-show command shows missing table in db

Status in OpenStack Compute (Nova):
  Invalid
Status in Python client library for Nova:
  Invalid

Bug description:
  I ran nova baremetal-node-show and am getting missing table error: 
  2014-10-09 17:27:13.897 22211 TRACE nova.api.openstack   File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/default.py", line 324, in do_execute
  2014-10-09 17:27:13.897 22211 TRACE nova.api.openstack     cursor.execute(statement, parameters)
  2014-10-09 17:27:13.897 22211 TRACE nova.api.openstack OperationalError: (OperationalError) no such table: bm_nodes u'SELECT bm_nodes.created_at AS bm_nodes_created_at, bm_nodes.updated_at AS bm_nodes_updated_at, bm_nodes.deleted_at AS bm_nodes_deleted_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' ()
  2014-10-09 17:27:13.897 22211 TRACE nova.api.openstack 

  to reproduce:

  nova baremetal-node-show <node>

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