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

VNF creation is not doing the rollback in case of internal server error #5

Closed gerardo-garcia closed 9 years ago

gerardo-garcia commented 9 years ago

When creating a VNF, if it fails due to an internal server error (e.g. errors in the code such as the assignment of the value of dict[key] when the key does not exist), the rollback does not happen.

Possible solutions:

  1. Keep it since it should not happen if the code is appropriately written.
  2. Since it is a complicated function, try/catch the code so that in case of failure, it does the rollback.