Skip to content

Missing event - ErrorinPrepareForMaintenance #13324

Description

@summer-abacus

problem

If an error occurs when enabling maintenance mode, no corresponding event is created.

Image

Events:

Image

versions

ACS: 4.22.1.0

The steps to reproduce the bug

Example how to reproduce:

  1. Create enough VMs to use up almost all available memory in the cluster
  2. Enable Maintenance for one host
  3. ErrorinPrepareForMaintenance will show up on the host
  4. Check Events - no error is generated

What to do about it?

No response

Activity

  1. added theissue type on Jun 14, 2026
  2. modified the milestones: 4.22.2, 4.20.4 on Jul 22, 2026
  3. linked a pull request that will close this issueadd a maintenance prepare error event #13669on Jul 30, 2026
  4. github-actions commented on Aug 19, 2026

    @github-actions

    🎯 Triage report

    When enabling maintenance mode on a host fails (e.g., ErrorinPrepareForMaintenance shown on the host), no corresponding event is recorded in the Events list, making it harder for admins to audit/diagnose the failure after the fact.

    📊 Assessment

    Dimension Value Reasoning
    Type type:bug An expected event (failure notification) is missing for an error condition that does occur, per the screenshots provided.
    Component component:management-server Event generation and maintenance-mode workflow are managed-server concerns.
    Severity Severity:Minor No functional/data impact — the host still shows the error state in the UI; only the audit trail (Events) is incomplete.
    Labels type:bug, component:management-server, Severity:Minor See above
    Coding agent Suitable Well-defined, self-contained: emit an event when host maintenance preparation fails, mirroring existing event-emission patterns elsewhere in the maintenance workflow.
    💡 Notes and suggestions
    • No similar existing issues were found in a quick search.
    • A reasonable fix would be to locate where ErrorinPrepareForMaintenance (or equivalent host status) is set and add an ActionEvent/EventUtils.saveEvent call alongside it, consistent with other host state-change events.

    Generated by Daily Issue Triage · sonnet50 262K · ◷

    Add this agentic workflows to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/daily-issue-triage.md@d7c1dc4b72b00607a67caaffdcc216cb64379cf9
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions