Unable to enter maintenace mode periodically
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 32
Description
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
~~~
Maintenance Mode
~~~
##### CLOUDSTACK VERSION
~~~
4.19.1.0
~~~
##### CONFIGURATION
Advanced Networking
Three KVM Hosts, two of the three hosts run the management servers and database (master/replica).
##### OS / ENVIRONMENT
Ubuntu 22.04
##### SUMMARY
When attempting to put hosts into maintenance mode, some instances migrate, but some still remain on the host until it reaches ErrorInMaintenance. When looking at the agent logs on the host that is being vacated, there appears to be no interaction it receives from the management server during these times when an instance is having issues migrating.
Management Server Log snippet:

##### STEPS TO REPRODUCE
~~~
1. Enter a host into maintenance mode
2. Wait for status to change into a permanent state.
~~~
##### EXPECTED RESULTS
~~~
Host enters into maintenance.
~~~
##### ACTUAL RESULTS
~~~
Host enters into ErrorInMaintenance.
~~~
Contributor guide
Research direction
The payload names no source files or tests; start with the Maintenance Mode workflow and reproduce it on the described three-host advanced-networking setup. Compare management-server and agent logs when instances remain on the host, and consider the work done when the host reaches maintenance instead of ErrorInMaintenance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, ubuntu
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100