nfvlabs / openmano

Openmano is an open source project that provides a practical implementation of the reference architecture for Management & Orchestration under standardization at ETSI’s NFV ISG
Apache License 2.0
180 stars 74 forks source link

Internal server error during VNF creation due to JSON schema validation #13

Closed gerardo-garcia closed 9 years ago

gerardo-garcia commented 9 years ago

This issue has appeared during the creation of a VNF. When checking with the VIM if the image existed previously (same path as a previous image), it parses the response and in case a field is too short (image name), then bottle exits with an Internal Server Error.

This can be solved by changing the schema of the image name from nameshort_schema to name_schema. This patch will be applied, while the final solution requires further investigation, since it could happen more frequently with other fields.