Create VM Template fails when Template name has a space in it
未关闭
status:needs-functional-definition
status:needs-reproducing
- 主要语言
- Java
- 星标
- 3.1k
- 派生
- 1.4k
- 平均合并
- 6 天 19 小时
- 30 天内合并 PR
- 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