← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2100009] [NEW] ironic: validate node call displays SDK object address instead of message

 

Public bug reported:

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))

** Affects: nova
     Importance: Undecided
         Status: In Progress

-- 
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):
  In Progress

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



Follow ups