Selecting RBD as the disk type when creating datastore in Sunstone does not set the DISK_TYPE to RBD in the datastore
|Assignee:||Daniel Molina||% Done:|
|Target version:||Release 4.0|
|Affected Versions:||OpenNebula 4.0|
When creating a new Ceph datastore from Sunstone and selecting the RBD disk type, the DISK_TYPE parameter in the datastore is still set to FILE. This prevents appropriate deployment file generation and then failed VM deployment.
#1 Updated by Bill Campbell almost 8 years ago
Think I fixed it. In the Sunstone datastores-tab.js the following change needs to be made:
Line 149 needs value=rbd in uppercase:
<option value="rbd">' + tr("RBD") + '</option>\
<option value="RBD">' + tr("RBD") + '</option>\
Line 942 has invalid disk_type selection, and the value needs to be uppercase:
This seems to fix it.