Nornir 2.5/Python 3.6.x error #679
Unanswered
alistair993
asked this question in
Q&A
Replies: 1 comment
-
It looks like something is wrong with your inventory file/structure. Also, note Nornir 2.5 is deprecated. Also in fairness probably should ask the CBTNuggets folks for assistance and not us. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am new to Nornir and started a course on CBT nuggets which is using Nornir 2.5.0 and Python 3.6.9. My docker container is running Python 3.6.13 with Nornir 2.5.0. I tried downgrading Python by using the container Python 3.6.13-slim-stretch but this did not sovle the issue. I have tried Googling but not I'm unable to find a solution :(
I keep getting this error when trying to initialise:
This is my config.yaml
core:
num_workers: 100
inventory:
plugins: nornir.plugins.inventory.simple.SimpleInventory
options:
host_file: "/home/alistair/venv/Nornir2-test/lab1/hosts.yaml"
group_file: "/home/alistair/venv/Nornir2-test/lab1/groups.yaml"
defaults_file: "/home/alistair/venv/Nornir2-test/lab1/defaults.yaml"
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions