apache / apache/cloudstack

Create VM Template fails when Template name has a space in it

オープン
#10,933 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
status:needs-functional-definition status:needs-reproducing
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
32

説明

### problem

When creating a VM Template from a Volume Snapshot, it fails if it has a space, such as:

If VM Name is: 'Zabbix Server', the template will fail to create.

If VM Name is: 'Zabbix-Server', the template will suceed and create normally.

### versions

NA

### The steps to reproduce the bug

Create a normal VM Template, either via the UI or API

### What to do about it?

Fix the space issue, or force API to only accept non-space text

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、スペースを含むテンプレート名とハイフンを含むテンプレート名を使用して、UI と API の両方から Volume Snapshot からの VM Template 作成を再現します。失敗する作成経路を追跡し、API がスペースを受け入れるべきか拒否すべきかを判断します。両方の名前形式について、選択した動作が一貫して機能し、検証でカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
cloud, infrastructure
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。