Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain with invalid DT #2

Open
buzztroll opened this issue May 7, 2012 · 1 comment
Open

Domain with invalid DT #2

buzztroll opened this issue May 7, 2012 · 1 comment

Comments

@buzztroll
Copy link
Contributor

When a user launches a domain with a DT name that is not in DTRS, no error is ever reported to the user.

@priteau
Copy link
Contributor

priteau commented May 8, 2012

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: 900-FAILED
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants