grycap / im-dashboard

IM Dashboard
https://im.egi.eu
Apache License 2.0
6 stars 11 forks source link

Fast fail on dependant TOSCA templates #533

Open sebastian-luna-valero opened 6 months ago

sebastian-luna-valero commented 6 months ago

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 commented 6 months ago

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 commented 3 months ago

Naive question: would the dependency concept used in https://github.com/grycap/tosca/pull/169#issuecomment-2238402035 help also here?