Bug #3466

Sunstone OneFlow: Hyphen in role name triggers malformed key error

Added by Joaquin Villanueva about 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:12/17/2014
Priority:NormalDue date:
Assignee:Daniel Molina% Done:


Target version:Release 4.10.2
Resolution:worksforme Pull request:
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.


#1 Updated by Ruben S. Montero about 6 years ago

  • Target version set to Release 4.10.2

#2 Updated by Ruben S. Montero about 6 years ago

  • Assignee set to Daniel Molina

#3 Updated by Daniel Molina about 6 years ago

  • Status changed from Pending to Closed
  • % Done changed from 0 to 100
  • Resolution set to worksforme

Only word characters are allowed for role names, if you try using the cli you should get the same error

#4 Updated by Joaquin Villanueva about 6 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.


Also available in: Atom PDF