Skip to content
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

Error: Cloud config schema errors: disable_root: 0 is not of type 'boolean', ssh_deletekeys: 'false' is not of type 'boolean' #889

Open
ValeriiVozniuk opened this issue Oct 9, 2023 · 0 comments

Comments

@ValeriiVozniuk
Copy link

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?

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants