Remote Database error

asked 2016-02-08 03:36:36 -0500

ankitchanna gravatar image

updated 2016-02-08 07:19:06 -0500


We trying to run the nova compute on a device which has mips architecture. We have installed the required libraries and dependencies of nova on the device. We are using lxc as a hypervisor. The nova.conf is modified accordingly to use the lxc as virt_type. Now the problem is that when we execute the nova compute on the device it gives RemoteDB error. The openstack controller node is running on ubuntu machine. Below is the log of the same. Please let me know the right solution to it and also explain the steps that happen during the registration of nova compute with the openstack server/controller node.

The error is like "DBError (pymysql.err.InternalError) (1241, u'Operand should contain 1 column(s)" in the below logs.

*************** from (pid=1706) log_opt_values /usr/lib/python2.7/site-packages/oslo_config/
2016-01-29 11:56:44.949 INFO nova.service [-] Starting compute node (version 13.0.0)
2016-01-29 11:56:44.955 DEBUG [-] Starting native event thread from (pid=1706) _init_events /usr/lib/python2.7/site-packages/nova/virt/libvirt/
2016-01-29 11:56:44.959 DEBUG [-] Starting green dispatch thread from (pid=1706) _init_events /usr/lib/python2.7/site-packages/nova/virt/libvirt/
2016-01-29 11:56:44.962 DEBUG [-] Connecting to libvirt: lxc:/// from (pid=1706) _get_new_connection /usr/lib/python2.7/site-packages/nova/virt/libvirt/
2016-01-29 11:56:45.049 INFO nova.virt.libvirt.driver [-] Connection event '1' reason 'None'
2016-01-29 11:56:45.097 WARNING nova.virt.libvirt.driver [req-1074c2d3-8c6f-43aa-8b2e-14db65c22482 None None] Cannot update service status on host "rtkmips" since it is not registered.
2016-01-29 11:56:45.101 DEBUG [req-1074c2d3-8c6f-43aa-8b2e-14db65c22482 None None] Registering for lifecycle events < object at 0x745b5630> from (pid=1706) _get_new_connection /usr/lib/python2.7/site-packages/nova/virt/libvirt/
2016-01-29 11:56:45.134 DEBUG [req-1074c2d3-8c6f-43aa-8b2e-14db65c22482 None None] Registering for connection events: < object at 0x745b5630> from (pid=1706) _get_new_connection /usr/lib/python2.7/site-packages/nova/virt/libvirt/
2016-01-29 11:56:45.154 INFO [req-1074c2d3-8c6f-43aa-8b2e-14db65c22482 None None] Libvirt host capabilities <capabilities>


    <arch name='mips'>
      <domain type='lxc'/>


2016-01-29 11:56:45.204 DEBUG nova.virt.libvirt.config [req-1074c2d3-8c6f-43aa-8b2e-14db65c22482 None None] Generated XML ('<cpu>\n  <arch>mips</arch>\n</cpu>\n',)  from (pid=1706) to_xml /usr/lib/python2.7/site-packages/nova/virt/libvirt/
2016-01-29 11:56:45.212 WARNING [req-1074c2d3-8c6f-43aa-8b2e-14db65c22482 None None] URI lxc:/// does not support full set of host capabilities: this function is not supported by the connection driver: virConnectBaselineCPU
2016-01-29 11:56:45.215 WARNING nova.virt ...
edit retag flag offensive close merge delete