Remote Database error

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

ankitchanna gravatar image

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

Hi,

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/cfg.py:2407
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 nova.virt.libvirt.host [-] Starting native event thread from (pid=1706) _init_events /usr/lib/python2.7/site-packages/nova/virt/libvirt/host.py:452
2016-01-29 11:56:44.959 DEBUG nova.virt.libvirt.host [-] Starting green dispatch thread from (pid=1706) _init_events /usr/lib/python2.7/site-packages/nova/virt/libvirt/host.py:458
2016-01-29 11:56:44.962 DEBUG nova.virt.libvirt.host [-] Connecting to libvirt: lxc:/// from (pid=1706) _get_new_connection /usr/lib/python2.7/site-packages/nova/virt/libvirt/host.py:463
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 nova.virt.libvirt.host [req-1074c2d3-8c6f-43aa-8b2e-14db65c22482 None None] Registering for lifecycle events <nova.virt.libvirt.host.Host object at 0x745b5630> from (pid=1706) _get_new_connection /usr/lib/python2.7/site-packages/nova/virt/libvirt/host.py:481
2016-01-29 11:56:45.134 DEBUG nova.virt.libvirt.host [req-1074c2d3-8c6f-43aa-8b2e-14db65c22482 None None] Registering for connection events: <nova.virt.libvirt.host.Host object at 0x745b5630> from (pid=1706) _get_new_connection /usr/lib/python2.7/site-packages/nova/virt/libvirt/host.py:492
2016-01-29 11:56:45.154 INFO nova.virt.libvirt.host [req-1074c2d3-8c6f-43aa-8b2e-14db65c22482 None None] Libvirt host capabilities <capabilities>

  <host>
    <uuid>41758248-f51f-4ee1-9be1-6d6c51055f31</uuid>
    <cpu>
      <arch>mips</arch>
    </cpu>
    <power_management/>
    <secmodel>
      <model>none</model>
      <doi>0</doi>
    </secmodel>
  </host>

  <guest>
    <os_type>exe</os_type>
    <arch name='mips'>
      <wordsize>32</wordsize>
      <emulator>/usr/lib/libvirt_lxc</emulator>
      <domain type='lxc'/>
    </arch>
  </guest>

</capabilities>

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/config.py:82
2016-01-29 11:56:45.212 WARNING nova.virt.libvirt.host [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 ...
(more)
edit retag flag offensive close merge delete