|Target version:||Release 4.2|
|Affected Versions:||OpenNebula 3.8|
During deployment, when the ID of a certain type of role is greater than 9, there is the error "TypeError: can't convert Hash into String". This error can be saw either in Sunstone either via appflow list command. I attach complete response of the command.
#1 Updated by Carlos Martín about 8 years ago
- Target version changed from Release 3.8.3 to Release 4.2
I can't reproduce this. I've tried with a service with more than 10 roles, one of them with more than 10 nodes.
Can you provide a template that triggers this bug?
The ruby version may be relevant. Which one do you have installed?
#3 Updated by Cesare Rossi about 8 years ago
It depends from the maximum length of the body field of the document_pool table. To reproduce the error you can create a service template that, if instantiated, produces on database an XML greater than 65536 bytes.
To fix this error, it is enough modify the field type on database from text to mediumtext.
ALTER TABLE document_pool MODIFY COLUMN body mediumtext;