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

Fast fail on dependant TOSCA templates #533

Open
sebastian-luna-valero opened this issue Apr 12, 2024 · 2 comments
Open

Fast fail on dependant TOSCA templates #533

sebastian-luna-valero opened this issue Apr 12, 2024 · 2 comments

Comments

@sebastian-luna-valero
Copy link

Hi,

The pulsar template depends on the HTCondor template, and also on a specific VMI. The deployment fails if the user has not selected it.

However, this failure happens after HTCondor has been deployed, which takes some time.

Would it be possible to change the order?

  1. First of all check that the VMI is the correct one.
  2. If yes, go ahead deploying HTCondor and Pulsar
  3. If not, fail and stop before any deployment.

Best regards,
Sebastian

@micafer
Copy link
Member

micafer commented Apr 12, 2024

To work in that way, we should change these templates.
Probably the easiest way is to include the pulsar configuration in the HTCondor artifact using some "flag" to install it or not.

@sebastian-luna-valero
Copy link
Author

Naive question: would the dependency concept used in grycap/tosca#169 (comment) help also here?

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