vendor-data is not implemented by nocloud with a seedfrom parameter
This bug was originally filed in Launchpad as LP: #1894420
Launchpad details
affected_projects = [] assignee = None assignee_name = None date_closed = None date_created = 2020-09-06T06:52:32.898284+00:00 date_fix_committed = None date_fix_released = None id = 1894420 importance = wishlist is_complete = False lp_url = https://bugs.launchpad.net/cloud-init/+bug/1894420 milestone = None owner = jqueuniet owner_name = Johann Queuniet private = False status = triaged submitter = jqueuniet submitter_name = Johann Queuniet tags = [] duplicates = []
Launchpad user Johann Queuniet(jqueuniet) wrote on 2020-09-06T06:52:32.898284+00:00
I'm trying to implement the NoCloud datasource for a diskless bare-metal cloud, using command-line parameters. The NoCloud documentation specifies /vendor-data is supported, but booting a server results in queries for meta-data and user-data only, no attempt is made for vendor-data.
Reading the code, it doesn't seem like it is implemented for seedfrom parameters at this time. See the block around https://git.launchpad.net/ubuntu/+source/cloud-init/tree/cloudinit/sources/DataSourceNoCloud.py#n143
Launchpad user Dan Watkins(oddbloke) wrote on 2020-09-07T18:28:40.703088+00:00
Hi Johann,
Thanks for using cloud-init and for filing this bug! You're correct, this is not currently supported, and it would be a good addition. Would you be interested in contributing such a change?
Thanks!
Dan
Launchpad user Johann Queuniet(jqueuniet) wrote on 2020-09-07T19:14:20.510018+00:00
Hi Dan,
Sure, I'll take a look at the contributor docs, my company is probably going to need this anyway.
Thanks,
Launchpad user Dan Watkins(oddbloke) wrote on 2020-09-08T16:00:28.936532+00:00
Great! https://cloudinit.readthedocs.io/en/latest/topics/hacking.html has the details of how to get started, and https://cloudinit.readthedocs.io/en/latest/topics/code_review.html has info on the code review process you'll need to go through.
I'll also draw particular attention to the Asking For Help section in that latter doc; if you want assistance figuring out how to go about this, please don't hesitate to reach out!