GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
When a user launches a domain with a DT name that is not in DTRS, no error is ever reported to the user.
This is not the fault of the DTRS itself: when a non-existing DT is looked up, an exception is triggered. This exception is caught by the provisioner which marks the launch as failed. The error is documented in the state_desc field of the instance object:
state_desc: 'DTRS_LOOKUP_FAILED Unknown deployable type name: sleepers'
I don't know how we should fix this bug. The provision() call is asynchronous, which means EPUM would have to check the status of a launch for this kind of error.
Also, provisioning happens when the decision engine runs, asynchronously from add_domain/reconfigure_domain.
What method should we use to return an error to the user?