Reviewed:  https://review.opendev.org/c/openstack/nova/+/942019
Committed: 
https://opendev.org/openstack/nova/commit/37888e875f0cef8350991b6a9cb81da9dacc1bac
Submitter: "Zuul (22348)"
Branch:    master

commit 37888e875f0cef8350991b6a9cb81da9dacc1bac
Author: Doug Goldstein <car...@cardoe.com>
Date:   Mon Feb 17 17:19:16 2025 -0600

    ironic: fix logging of validation errors
    
    When validation of the node fails, since switching to the SDK the
    address of the ValidationResult object is displayed instead of the
    actual message. This has been broken since patch
    Ibb5b168ee0944463b996e96f033bd3dfb498e304.
    
    Closes-Bug: 2100009
    Change-Id: I8fbdaadd125ece6a3050b2fbb772a7bd5d7e5304
    Signed-off-by: Doug Goldstein <car...@cardoe.com>


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

Title:
  ironic: validate node call displays SDK object address instead of
  message

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When using the ironic driver and it calls validate_node(), if the call
  fails rather than logging the reason it logs the SDK object address.
  This has been broken since switching to the SDK.

  I don't have the exact log message handy because I've fixed it locally
  but it was close to this.

  2025-02-20 20:32:47.545 4125085 ERROR nova.compute.manager [None
  req-e6756fd2-02e0-4fe7-9b17-b1948a71b44c
  c3fd23244abd42631651813496e0ee22bd2377690c1d9b0e7851804e0497775f
  bb20cd8748b24e78b2dc5ed640a90382 - - 1f75c3b20fcb41ec924a71be83a5ee94
  default] [instance: 960cdb5d-0cbd-46b9-9ff9-2b1b69d0a7c8] Instance
  failed to spawn: nova.exception.ValidationError: Ironic node:
  90b75aae-bd7b-4ad8-98f0-230968738d2c failed to validate. (deploy:
  (Object 0xDEADBEEF), power: (Object 0xDEADBEEF), storage: (Object
  0xDEADBEEF))

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2100009/+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