← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Paul is right, novaclient can't remove commands because of backward
compatibility. Similarly, I'm not sure nova api can remove the baremetal
nodes api extensions.

So I'm going to file this under nova api, the extensions should work by
proxying requests to ironic. We could have better handling for scenarios
when the user hasn't set up ironic (good error message) or maybe disable
the baremetal nodes extensions by default.

** Also affects: nova
   Importance: Undecided
       Status: New

** No longer affects: python-novaclient

** Tags added: api baremetal

-- 
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):
  New

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