apache / apache/cloudstack

Instance settings lost after snapshot rollback

オープン
#13,153 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
component:kvm type:bug
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。