Create VM Template fails when Template name has a space in it
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 32
Description
### 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
Contributor guide
Research direction
Start by reproducing VM Template creation from a Volume Snapshot through both the UI and API, using a template name with a space and one with a hyphen. Trace the failing creation path and determine whether the API should accept spaces or reject them; done means the chosen behavior works consistently and is covered by verification for both name forms.
Written by the indexing model from the issue text.
Assessment
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100