cloud-init team mailing list archive
-
cloud-init team
-
Mailing list archive
-
Message #00346
Re: Dynamic vendor data support in configdrive
Hi Manish,
> I wanted to know if there is any reason why dynamic vendor data is not supported for configdrive yet?
I'm not sure how this would even be possible. When using dynamic
vendor data, you query the metadata service, and at the time of query,
it then goes on to query another service to provide the dynamic vendor
to you. With the config drive, you have a local disk drive containing
your network information. Supporting dynamic data would require
querying the external service at time of filesystem read, which is not
how configdrive works.
> Is the industry moving away from configdrive?
Sorry, I can't really speak to this, but it will stay in cloud-init
for the foreseeable future.
> Is there any plan to add support for it in the future?
No, and given the answer to the first question, I'm not sure how we could.
Hope that helps!
- James
On Fri, Jun 4, 2021 at 6:16 AM Manish Mahalwal
<manishmahalwal007@xxxxxxxxx> wrote:
>
> 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). 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). 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:
>
> I wanted to know if there is any reason why dynamic vendor data is not supported for configdrive yet?
> Is the industry moving away from configdrive?
> Is there any plan to add support for it in the future?
>
>
> Best Regards,
> Manish Mahalwal
> MathWorks
> --
> Mailing list: https://launchpad.net/~cloud-init
> Post to : cloud-init@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~cloud-init
> More help : https://help.launchpad.net/ListHelp
References