Oneflow templates do not allow to use white spaces into Role Names
|Assignee:||Carlos Martín||% Done:|
|Target version:||Release 4.14.2|
|Affected Versions:||OpenNebula 4.14|
Dear OpenNebula developers
We found that you cannot create oneflow templates which contains white spaces into Role names field. You can include white spaces into the description and the oneflow name but when you try it with role names like this:
"name": "EL5 test",
You get this error (also from Sunstone wizard):
$ oneflow-template create onflow_templ.json
KEY: 'name' malformed;
If you remove the white space everything goes fine:
Is this an known issue? If so it should be displayed from the sunstone view that white spaces are not allow.
Cheers and thanks!
Bug #4057: Add abide pattern to role names
(cherry picked from commit 3677eda777802bdef5243d8abe9aac9d2e71b5e9)
#2 Updated by Carlos Martín over 5 years ago
- Status changed from Pending to Closed
- Assignee set to Carlos Martín
- Resolution set to fixed
This is not really a bug. Role names can only be alphanumeric and underscore characters, as documented here:
I've tried to make the error message more useful, returning the regexp that should match. The wizard also validates the role name and shows a more friendly error in sunstone.