Instance settings lost after snapshot rollback
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 32
Description
### problem
When a snapshot is created and then rolled back, the instance settings are lost.
In our case after restore rootDiskController, nicAdapter, io.policy, nic.multiqueue.number and iothreads settings disappeared.
We have reproduced the issue in two separete ACS, one at version 4.22.0.0 and one at 4.22.0.1.
### versions
Our setup is
ACS 4.22.0.0 or 4.22.0.1 on Ubuntu 22.04.
KVM hosts with qemu 9.1.0-15.el9_6.7.x86_64 and
Local XFS storage
### The steps to reproduce the bug
1. Create an instance, the problem is for both instances created with a template containing the custom setting and instances with additional setting added after creation.
2. If not already present from template, add some settings to instance like root disk controller type or nicadapter type
3. Create a snapshot of the instance
4. Rollback the snapshot
5. Check for the additional setting, they should be gone
### What to do about it?
_No response_
Contributor guide
Research direction
Start by reproducing snapshot creation and rollback on the reported CloudStack 4.22.0.0 or 4.22.0.1 setup with Ubuntu 22.04, KVM, and local XFS storage. Compare the instance settings before and after rollback; done means rootDiskController, nicAdapter, io.policy, nic.multiqueue.number, and iothreads are preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100