|Assignee:||Carlos Martín||% Done:|
|Category:||Core & System|
|Target version:||Release 3.2|
|Affected Versions:||OpenNebula 3.0|
Creating a machine template with certain characters (angle brackets are the only one's I've tested) causes things to mess up. In version 2.2 this meant that new machines could not be created until the 'damaged' machines were deleted. Version 3.0beta seems to do better (new machines can be created), but it still seems to not be able to refresh the templates in Sunstone (constant loading swirl) and a `onetemplate list` results in
/usr/lib/one/ruby/OpenNebula/XMLUtils.rb:252:in `to_hash': undefined method `document' for nil:NilClass (NoMethodError)
from /usr/lib/one/ruby/cli/one_helper.rb:95:in `list_pool'
from /usr/lib/one/ruby/cli/command_parser.rb:172:in `call'
from /usr/lib/one/ruby/cli/command_parser.rb:172:in `run'
from /usr/lib/one/ruby/cli/command_parser.rb:79:in `initialize'
from /usr/bin/onetemplate:33:in `new'
This can be reproduced by using 'NAME = <name>' inside a template.