12-09-2022 11:13 AM
get "Failed: Bad request: None is not of type 'string' - 'nodes.0.configuration'." when I try to import into 2.4.1 a lab from 2.1.1.
Not to be snarky but being able to move labs from old to new versions would seem to be kinda foundational
the yaml file is attached (as txt)
12-09-2022 02:10 PM
i did imports the Lab works as expected - never seen this issue, something went wrong in the yml file.
google in git some same labs and import and check.
12-12-2022 05:38 PM
Actually I exported 4 labs from CML instances on the same computer, I was trying to upgrade from 2.1 to 2.4 and move my labs. I guess I will look in the yaml files but not sure how I would fix them
01-02-2023 11:20 PM
Apparently this is a bug which will be fixed in the next release. In the meantime, the hide_links feature needs to be disabled for all nodes as a workaround. You can run this command on a linux host (cut and paste the command as the number of spaces in the sed replace string is important to maintain proper YAML formatting.)
$ sed 's/(^ *id:)/ hide_links: false\n_1/' lab.yaml > fixed_lab.yaml
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide