canonical / cloud-init

Official upstream for the cloud-init: cloud instance initialization

Home Page:https://cloud-init.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Schema error appears during boot regarding network v2 config with NoCloud

dermotbradley opened this issue · comments

Bug report

Whilst booting the console output shows:

2024-01-28 20:53:11,605 - schema.py[WARNING]: Invalid network-config provided: Please run 'sudo cloud-init schema --system' to see the schema errors.

running cloud-init schema --system shows:

Skipping network-config schema validation. No network schema for version: 2

The console-displayed message should not appear as the network-config provided is not invalid, the schema checker merely doesn't know how to validate it.

Steps to reproduce the problem

Environment details

  • Cloud-init version: git Main
  • Operating System Distribution: Alpine Linux
  • Cloud provider, platform or installer type: NoCloud with ISO

cloud-init logs

Thanks for the bug @dermotbradley I'll put up a PR shortly to address this