← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1708031] Re: "Failed to delete inventory for resource provider" error messages for predictable 409 cases

 

Reviewed:  https://review.openstack.org/489763
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f6dc38ea7db58d1bc6e3e937355e1a4b02678d75
Submitter: Jenkins
Branch:    master

commit f6dc38ea7db58d1bc6e3e937355e1a4b02678d75
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date:   Tue Aug 1 17:58:29 2017 -0400

    Fix 409 handling in report client when deleting inventory
    
    Change I30b51a3235e69f4a2993052f7f9ef853858f2d65 regressed
    a check added in I10b22606f704abcb970939fb2cd77f026d4d6322
    which is meant to avoid dumping errors in the logs when
    the scheduler report client fails to delete compute node
    resource provider inventory since some resource class inventory
    is still in use. It's all very fragile since the check
    in the report client is dependent on a regex for the
    error message coming back from the Placement API, but until
    we have error codes in the API responses, this is what we
    have to deal with.
    
    This change puts the original error message back in the
    Placement API and adds notes for awareness.
    
    Change-Id: I9a9af0e3e04c7ea7314b7077a681d6a111de6e47
    Closes-Bug: #1708031


** 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/1708031

Title:
  "Failed to delete inventory for resource provider" error messages for
  predictable 409 cases

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  This change in Pike:

  https://review.openstack.org/#/c/460231/

  Broke this code added in Ocata:

  https://review.openstack.org/#/c/414214/12/nova/scheduler/client/report.py

  So now we end up with these errors in the n-cpu logs during Ironic CI
  runs:

  http://logs.openstack.org/25/487925/2/check/gate-tempest-dsvm-ironic-
  ipa-wholedisk-bios-agent_ipmitool-tinyipa-ubuntu-xenial-
  nv/627e306/logs/screen-n-cpu.txt.gz?level=TRACE#_Jul_31_13_29_13_086247

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


References