-
Notifications
You must be signed in to change notification settings - Fork 911
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
Cloud config schema error for bond properties #5366
Labels
bug
Something isn't working correctly
Comments
5 tasks
5 tasks
Related to this, the formatting of the This change is proposed in #5383 |
aciba90
added a commit
to jcmoore3/cloud-init
that referenced
this issue
Jun 28, 2024
…anonical#5367) There is a discrepancy between the properties key name formatting in the OpenStack network_data.json and cloudinit network-config.json specifications. Ensure `bond_` is translated to `bond-` when the OpenStack configuration is parsed by cloudinit. Fixes canonicalGH-5366 Co-authored-by: Alberto Contreras <[email protected]>
holmanb
pushed a commit
that referenced
this issue
Jun 28, 2024
…5367) There is a discrepancy between the properties key name formatting in the OpenStack network_data.json and cloudinit network-config.json specifications. Ensure `bond_` is translated to `bond-` when the OpenStack configuration is parsed by cloudinit. Fixes GH-5366 Co-authored-by: Alberto Contreras <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
When using OpenStack with a network_data.json file which specifies a bonded interface with properties for the bond, there is a mismatch between the schemas for these properties between OpenStack and cloudinit.
Steps to reproduce the problem
Create an OpenStack node with the following network_data.json:
Cloudinit will produce the following network-config.json:
When validating the network-config.json file, cloudinit produces an error as the schema for bonded interfaces requires the bond properties to have a prefix of
bond-
instead ofbond_
:https://github.com/canonical/cloud-init/blob/main/cloudinit/config/schemas/schema-network-config-v1.json#L79
Environment details
cloud-init logs
The text was updated successfully, but these errors were encountered: