← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1847054] Re: kolla-ansible CI: nova-compute-ironic reports errors in the ironic scenario

 

Reviewed:  https://review.opendev.org/695453
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=49964bdc649bab88813fdcd34a2e54616057ac8d
Submitter: Zuul
Branch:    master

commit 49964bdc649bab88813fdcd34a2e54616057ac8d
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date:   Thu Nov 21 10:11:28 2019 -0500

    Avoid spurious error logging in _get_compute_nodes_in_db
    
    When a compute service is using the ironic driver and that compute
    service is not yet managing any ironic nodes, the update_available_resource
    periodic will spew errors every time it runs, e.g.:
    
      2019-10-07 07:32:21.268 6 ERROR nova.compute.manager
      [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -]
      No compute node record for host primary-ironic:
      nova.exception_Remote.ComputeHostNotFound_Remote:
      Compute host primary-ironic could not be found.
    
      2019-10-07 07:33:22.454 6 ERROR nova.compute.manager
      [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -]
      No compute node record for host primary-ironic:
      nova.exception_Remote.ComputeHostNotFound_Remote:
      Compute host primary-ironic could not be found.
    
      2019-10-07 07:34:22.416 6 ERROR nova.compute.manager
      [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -]
      No compute node record for host primary-ironic:
      nova.exception_Remote.ComputeHostNotFound_Remote:
      Compute host primary-ironic could not be found.
    
    This is a simple change to just not log anything if there are no
    compute node records in the database and the driver is not reporting
    any nodes to manage.
    
    Change-Id: Ic00c80fb89d08c19d97dad9de4061cac892ad7fb
    Closes-Bug: #1847054


** Changed in: nova
       Status: In Progress => Fix Released

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

Title:
  kolla-ansible CI: nova-compute-ironic reports errors in the ironic
  scenario

Status in kolla-ansible:
  Invalid
Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  /var/log/kolla/nova/nova-compute-ironic.log
  2019-10-07 07:32:21.268 6 ERROR nova.compute.manager [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -] No compute node record for host primary-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host primary-ironic could not be found.
  2019-10-07 07:33:22.454 6 ERROR nova.compute.manager [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -] No compute node record for host primary-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host primary-ironic could not be found.
  2019-10-07 07:34:22.416 6 ERROR nova.compute.manager [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -] No compute node record for host primary-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host primary-ironic could not be found.
  2019-10-07 07:35:22.422 6 ERROR nova.compute.manager [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -] No compute node record for host primary-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host primary-ironic could not be found.
  2019-10-07 07:36:24.422 6 ERROR nova.compute.manager [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -] No compute node record for host primary-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host primary-ironic could not be found.
  2019-10-07 07:37:26.423 6 ERROR nova.compute.manager [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -] No compute node record for host primary-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host primary-ironic could not be found.
  2019-10-07 07:38:27.419 6 ERROR nova.compute.manager [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -] No compute node record for host primary-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host primary-ironic could not be found.
  2019-10-07 07:39:29.430 6 ERROR nova.compute.manager [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -] No compute node record for host primary-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host primary-ironic could not be found.
  2019-10-07 07:40:30.420 6 ERROR nova.compute.manager [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -] No compute node record for host primary-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host primary-ironic could not be found.
  2019-10-07 07:41:32.420 6 ERROR nova.compute.manager [req-9de2cbda-9d8f-4a0f-a5be-de74d26077a2 - - - - -] No compute node record for host primary-ironic: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host primary-ironic could not be found.

To manage notifications about this bug go to:
https://bugs.launchpad.net/kolla-ansible/+bug/1847054/+subscriptions