Error: Cloud config schema errors: disable_root: 0 is not of type 'boolean', ssh_deletekeys: 'false' is not of type 'boolean'
ValeriiVozniuk opened this issue · 0 comments
Affected version
4.5.4
Describe the bug
cloud-config generated by oVirt is producing two errors in cloud-init logs:
Error: Cloud config schema errors: disable_root: 0 is not of type 'boolean', ssh_deletekeys: 'false' is not of type 'boolean'
To reproduce
Provision a VM via API with section present.
Expected behavior
No errors in cloud-init logs.
Additional context
Suspected cause:
https://github.com/oVirt/ovirt-engine/blame/master/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/CloudInitHandler.java#L194
Not needed cast to String?
I assume in past cloud-init was less strict about values inside the config, but now these errors distracts during debugging, and I assume these options are not working (I didn't test that).