Skip to content

ERROR Failed to validate /path/to/my/molecule.yml #371

Description

@robin-checkmk

I might have missed the memo, but I can find no way to get molecule to actually tell me, why exactly it fails to validate my molecule.yml.
Is this intended, or did I miss something? It would be very helpful to at least get a sense of what fails.

In my case, if happened after the update from 26.7.8 to 26.7.15. So I wasn't expecting breakage and I did not change my molecule.yml.
So I went through commenting out most of the file and then line by line commenting back in the different config blocks.
Turns out I was using cgroupns: host to work around some Docker/Podman issue back in the day. I removed the key and the validation succeeds.
I am still checking, if and why cgroupns: became obsolete, but the point of this issue is, that needed to hunt for this finding way too long.

Thanks for any insights and help!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions