Ability to add custom information to the EC2 USER META DATA
CMS would like to add custom information to user meta data in case of CERN Micro VM. This information is required and will be useful to customize the VM before glidein startup extracts the metadata. Information can be passed on to the VM through factory configuration. Ideally extremely slimmed down version of pilot-launcher can do this by using pilot's python libraries. However, because of the way CERN micro VMs are setup/deployed/launched, python is not available in the system.
- We may need to add a new configuration tag that is looked at in case of VMs and when we generate the userdata.ini file with this content
- Glideinwms compresses and encodes the metadata, so even if we support custom info, VO needs to perform similar task that pilot launcher does.
#2 Updated by Dirk Hufnagel almost 4 years ago
We want to use this mechanism to pass information in the EC2 user data that is then used to customize the VM itself. As such, the information in question is outside the scope of gWMS and preferably should not be compressed or encoded by gWMS. If for code design reasons this isn't easy to do, we could most likely also live with an encoding scheme that is relatively easy to undo without any gWMS code tools.