Public bug reported:

I add baremetal but on hypervisor it doesn't show the resources.

Install with kolla. 
Ubuntu: 18.04
Docker pkg: Source

I check the logs i can see from nova/nova-compute-ironic.log this:

ERROR oslo_messaging.rpc.server [req-74438713-f718-4c8f-a274-d792f17bea09 
e9cec66166ea406eac19b3aa528f5669 ffab07a846cd4ca78845ff7c51b31f46 - default 
default] Exception during message handling: NotImplementedError
Traceback (most recent call last):
  File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", 
line 165, in _process_incoming
    res = self.dispatcher.dispatch(message)
  File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/dispatcher.py",
 line 276, in dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)
  File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/dispatcher.py",
 line 196, in _do_dispatch
    result = func(ctxt, **new_args)
  File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/nova/exception_wrapper.py", 
line 79, in wrapped
    function_name, call_dict, binary, tb)
  File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 
220, in __exit__
    self.force_reraise()
  File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 
196, in force_reraise
    six.reraise(self.type_, self.value, self.tb)
  File "/usr/local/lib/python3.6/dist-packages/six.py", line 703, in reraise
    raise value
  File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/nova/exception_wrapper.py", 
line 69, in wrapped
    return f(self, context, *args, **kw)
  File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 
6245, in get_host_uptime
    return self.driver.get_host_uptime()
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/driver.py", 
line 1460, in get_host_uptime
    raise NotImplementedError()
NotImplementedError

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  get_host_uptime missing for bare metal

Status in OpenStack Compute (nova):
  New

Bug description:
  I add baremetal but on hypervisor it doesn't show the resources.

  Install with kolla. 
  Ubuntu: 18.04
  Docker pkg: Source

  I check the logs i can see from nova/nova-compute-ironic.log this:

  ERROR oslo_messaging.rpc.server [req-74438713-f718-4c8f-a274-d792f17bea09 
e9cec66166ea406eac19b3aa528f5669 ffab07a846cd4ca78845ff7c51b31f46 - default 
default] Exception during message handling: NotImplementedError
  Traceback (most recent call last):
    File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", 
line 165, in _process_incoming
      res = self.dispatcher.dispatch(message)
    File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/dispatcher.py",
 line 276, in dispatch
      return self._do_dispatch(endpoint, method, ctxt, args)
    File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/dispatcher.py",
 line 196, in _do_dispatch
      result = func(ctxt, **new_args)
    File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/nova/exception_wrapper.py", 
line 79, in wrapped
      function_name, call_dict, binary, tb)
    File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 
220, in __exit__
      self.force_reraise()
    File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 
196, in force_reraise
      six.reraise(self.type_, self.value, self.tb)
    File "/usr/local/lib/python3.6/dist-packages/six.py", line 703, in reraise
      raise value
    File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/nova/exception_wrapper.py", 
line 69, in wrapped
      return f(self, context, *args, **kw)
    File 
"/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 
6245, in get_host_uptime
      return self.driver.get_host_uptime()
    File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/driver.py", 
line 1460, in get_host_uptime
      raise NotImplementedError()
  NotImplementedError

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to