Open pmesgari opened 5 months ago
Cannot reproduce in WSL2 running intel hardware:
$ docker run -it --rm --entrypoint /bin/bash debian:latest
root@3c468ef903ac:/# apt update && apt install python3 python3.11-venv lsb-release
(napalm) root@4b36c2a8006c:/napalm# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
root@3c468ef903ac:/# python3 -m venv napalm
root@3c468ef903ac:/# source napalm/bin/activate
(napalm) root@3c468ef903ac:/# python3 -mpip install napalm
(napalm) root@3c468ef903ac:/# napalm
usage: napalm [-h] [--user USER] [--password PASSWORD] --vendor VENDOR [--optional_args OPTIONAL_ARGS] [--debug] hostname {configure,call,validate} ...
napalm: error: the following arguments are required: hostname, --vendor/-v
Also cannot reproduce in Docker from a Ubuntu host as well.
My hardware is Mac, and it’s the M series CPU. I have been trying to figure out how to get more insight into logs to debug this issue further but so far no luck, any suggestions?
also, to clarify a bit further, I am running a docker on my Mac OS, and from inside the docker I am trying to use napalm.
Illegal Instruction Error on Debian docker
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
(Place an
x
between the square brackets where applicable)Setup
I have install napalm in a Debain 12 docker using pip.
napalm version
(Paste verbatim output from
pip freeze | grep napalm
between quotes below)Network operating system version
(Paste verbatim output from
show version
- or equivalent - between quotes below)Steps to Reproduce the Issue
Install napalm through pip
Error Traceback
(Paste the complete traceback of the exception between quotes below)