apache / apache/cloudstack

Missing event - ErrorinPrepareForMaintenance

Open
#13,324 1 comment 0 reactions 0 assignees Claimed by @DaanHoogland View on GitHub
component:management-server Severity:Minor type:bug
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

### 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_

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the failure by enabling maintenance on a host under cluster memory pressure, then trace the maintenance-mode error event path and review open pull request #13669; done means an ErrorinPrepareForMaintenance event is created and the relevant event behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.