Hi, folks! I drafted the document where we can see how task affinity will be applied to Mistral: https://docs.google.com/a/mirantis.com/document/d/17O51J1822G9KY_Fkn66Ul2fc56yt9T4NunnSgmaehmg/edit -- Best Regards, Nikolay @Mirantis Inc. ___
Hi, As i understood you want to store some mappings of tags to hosts in database, but then you need to sort out api for registering hosts and/or discovery mechanism for such hosts. It is quite complex. It maybe be usefull, in my opinion it would be better to have simpler/more flexible variant.
Yes, Dmitri, thank you for your comments. We basically came to the same conclusion. For now DB is not going to be involved and it will be possible to fill ‘targets’ from workflow input using YAQL expressions to be able to assign tasks to executors dynamically. Renat Akhmerov @ Mirantis Inc.