← Back to team overview

cloud-init team mailing list archive

Dynamic vendor data support in configdrive

 

Hi cloud-init team,

Thanks for the great tool and active development. I really appreciate it!

I was trying out the recently added support for dynamic vendor data for
OpenStack clouds (#777 <https://github.com/canonical/cloud-init/pull/777>).
After a bit of confusion, I was able to get the dynamic vendor data fetched
from the metadata service to work. This confusion was caused because I was
initially using config drive, assuming cloud-init would support dynamic
vendordata, not knowing it only worked with metadata service. . It was only
later when I browsed through the code to realise configdrive only supports
static vendor data and not dynamic vendor data (reference
<https://github.com/canonical/cloud-init/blob/c8db603218dd56123e43857d81f5eae5f66618f1/cloudinit/sources/DataSourceConfigDrive.py#L128>
). The documentation didn't mention this anywhere though (I'll probably
send a PR to improve the doc).

We are using configdrive in our codebase at a lot of places and it would be
a lot of work to switch from config drive to metadata service. So, before
making a switch, I would like to clarify a few things:


   1. I wanted to know if there is any reason why dynamic vendor data is
   not supported for configdrive yet?
   2. Is the industry moving away from configdrive?
   3. Is there any plan to add support for it in the future?


*Best Regards,*
*Manish Mahalwal*
*MathWorks*

Follow ups