ovirt-engine
ovirt-engine copied to clipboard
Error: Cloud config schema errors: disable_root: 0 is not of type 'boolean', ssh_deletekeys: 'false' is not of type 'boolean'
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
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?
https://github.com/oVirt/ovirt-engine/blame/master/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/CloudInitHandler.java#L303 Should be False?
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).