Skip to content

Improved handling of BMC attribute values by consulting registry type definitions #847

@atd9876

Description

@atd9876

Which component is affected?
BMCSettings

Describe the bug
BMC controller fails to apply Integer-type attributes because it doesn't convert string values to integers before sending them to iDRAC.

What Happens:
CRD Schema: BMCSettings uses map[string]string - all values must be strings

Dell Registry: Dell ManagerAttributeRegistry defines ADGroup.X.Privilege as type Integer

Controller Behavior: SetBMCAttributesImmediately() (line 335) copies string values directly to PATCH payload without checking attribute types or converting

Validation Failure: CheckBMCAttributes() validates types and rejects strings for Integer attributes:

Impact:
Critical - Blocks configuration of all Integer-type Dell iDRAC attributes including:

ADGroup.X.Privilege (0-511 for AD group permissions)
ActiveDirectory.1.AuthTimeout
NTP, SysLog timeout values
Any other Integer-type attributes in Dell registry
Note: Only affects settings that are changing - if the value already matches current iDRAC state, no PATCH is sent and no error occurs.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions