New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nocloud-net;s=<url>;h=<name>
fails
#4271
Comments
You /etc/cloud/cloud.cfg file contains:
This is not a valid configuration. The datasource_list value can only contain a list of DataSources - you are using NoCloud and so it should instead be:
(you actually do not need the For nocloud-net that setting is provided in one of several ways: (1) specify it on the cmdline passed by the bootloader OR (2) specify it in either /etc/cloud/cloud.cfg or in a file inside the /etc/cloud/cloud.cfg.d/ directory as:
|
@dermotbradley I think that's actually the |
Thanks for reporting this bug @rustydb. The fix for this regression landed in upstream cloud-init on Friday. Cloud-init team will be providing an upstream release with the fix for this regression followed by a release in Ubuntu. In the meantime, users might have a workaround using cloud-config userdata in the kernel commandline. |
Currently >2 keys in NoCloud datasource are not supported. Previously 250280 attempted to correct no keys being supported, however that fix was only partial since more than one key breaks datasource detection. Additionally add test coverage. Fixes canonicalGH-4271
Currently >2 keys in NoCloud datasource are not supported. Previously 250280 attempted to correct no keys being supported, however that fix was only partial since more than one key breaks datasource detection. Additionally add test coverage. Fixes canonicalGH-4271
Bug report
We leverage the nocloud-net datasource and are in the midst of upgrading from cloud-init 21.4 to 23.2.
We currently pass the nocloud-net value as such:
Upon upgrading to cloud-init 23.2 we were encountering the following error when cloud-init started:
The
h=
key is documented here, but there aren't any examples of using it withnocloud-net
. It isn't clear if it's officially supported bynocloud-net
and we have discovered a bug, or if we're using it where it isn't supported.Removing
;h=
from the command line bypassed the failure, and allowed cloud-init to run successfully.Steps to reproduce the problem
Environment details
nocloud-net
Setup a
nocloud-net
DataSource
and boot a node with thes
andh
parameters set:cloud-init logs
cloud-init.tar.gz
The text was updated successfully, but these errors were encountered: