Sunstone OneFlow: Hyphen in role name triggers malformed key error
|Assignee:||Daniel Molina||% Done:|
|Target version:||Release 4.10.2|
|Affected Versions:||OpenNebula 4.10|
OneFlow templates containing an hyphen in role names can't be instantiated or modified from Sunstone. Triggers the error "KEY: 'name' malformed; SCHEMA: typestringregex(?-mix:^\w+$)requiredtrue".
From cli, templates work as expected. Removing hyphens from names solves the error.
#4 Updated by Joaquin Villanueva about 5 years ago
So I must change the role names to use only [aA-zZ] [0-9] and _ characters.
These role names were in use from previous versions, without problems until 4.10. And even the cli in 4.10.1 launches the templates (with - in the names) without problems, but not from Sunstone, so I was thinking about some inconsistency in role name checking in Sunstone or cli.