apache / apache/cloudstack

Instance settings lost after snapshot rollback

未关闭
#13,153 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
component:kvm type:bug
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

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

贡献指南

打开贡献指南

调研方向

首先,在报告的使用 Ubuntu 22.04、KVM 和本地 XFS 存储的 CloudStack 4.22.0.0 或 4.22.0.1 设置上重现快照创建和回滚。比较回滚前后的实例设置;当 rootDiskController、nicAdapter、io.policy、nic.multiqueue.number 和 iothreads 均得到保留时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
infrastructure
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。