Skip to content

events.*: uncovered #77

Open
Open

Description

@simontesar
No description provided.

Activity

  1. simontesar commented on Oct 13, 2026

    @simontesar
    OwnerAuthor

    Exercising the event.* capabilities is trivial, but asserting that these calls succeeded is not.

    The metal-maintenance-operator relies on a ConfigMap configured via the telemetry-config-name-flag that contains a yaml-based configuration of how events are subscribed to, e.g.:

    apiVersion: telemetry.metal.ironcore.dev/v1alpha1
    subscriptionReconcileInterval: 10s
    perBMCTimeout: 30s
    testEventInterval: 1m
    testEventTimeout: 30s
    eventBasedHardware:
      - vendor: "Dell Inc."
        models:
          - "Standard PC (Q35 + ICH9, 2009)"
        testMessageId: "TestEventId"
        testSeverity: "OK"
        testOriginOfCondition: "/redfish/v1/Managers/1"

    Subscription happens in a reconciler for BMC resources (owned by the metal-operator!) in the maintenance-operator. If some of the necessary calls fail(https://github.com/ironcore-dev/metal-maintenance-operator/blob/0cd8b31a719813cdca2f278dfbbcec2fd5ee1815/internal/telemetry/subscriptions/reconciler.go#L369), errors are not surfaced in any way.
    From the test-framework's perspective, to assert that these subscriptions happen, the test would need to call the BMC's Redfish API manually and confirm subscriptions.

  2. simontesar commented on Oct 13, 2026

    @simontesar
    OwnerAuthor

    I'm adding an implementation without the necessary verification I mentioned: #78

  3. simontesar commented on Oct 14, 2026

    @simontesar
    OwnerAuthor
  4. simontesar commented on Oct 27, 2026

    @simontesar
    OwnerAuthor

    Testing against a physical iDRAC with non-virtualised BMC, I found that it refuses to push metrics to a plain HTTP endpoint. I'll extend the metal-lab to support a proxy in front of it.

  5. simontesar commented on Oct 29, 2026

    @simontesar
    OwnerAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions