apache / apache/cloudstack

Don't allow additon of template settings when the template is in Not-Ready state

未關閉
#12,459 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
component:templates component:vmware no-issue-activity type:bug type:improvement
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

### problem

Don't allow addition of template settings when the template is in Not-Ready state

### versions

ACS 4.22

### The steps to reproduce the bug

1. Login to cloudstack with a admin role

Navigate Images > Template > Register a template > enable “Read Instance settings from OVA”

2. When the template is getting downloaded , its in Not ready state

3. Navigate to template settings and try to add Template settings

4. The template settings gets added

### What to do about it?

CloudStack should thrown exception saying that its unable to add settings when the template is in not-ready state or Settings are read directly from the template

貢獻指南

開啟貢獻指南

研究方向

透過 Images > Template > 註冊一個已啟用「Read Instance settings from OVA」的範本,然後在範本處於 Not-Ready 狀態時嘗試新增範本設定,以重現此問題。追蹤範本設定的進入點及其驗證,並確認操作會以例外或訊息遭到拒絕,而不是新增設定。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
backend, cloud
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。