sonic-net / SONiC

Landing page for Software for Open Networking in the Cloud (SONiC) - https://sonic-net.github.io/SONiC/
2.22k stars 1.12k forks source link

Sonic-cli Issue (tmp/klish.fifo) #781

Open PRAVEEN-BABY opened 3 years ago

PRAVEEN-BABY commented 3 years ago

Facing an issue with sonic-cli from base sonic onie downloaded from sonic repo (AS7716-32X).

Below is the snippet of sonic-cli

admin@sonic:~$ sonic-cli sonic# show interface status /tmp/klish.fifo.93.a2nZCk: 2: /tmp/klish.fifo.93.a2nZCk: python: not found

sonic# show system /tmp/klish.fifo.93.6K0h6X: 1: /tmp/klish.fifo.93.6K0h6X: python: not found

sonic# configure terminal sonic(config)# interface Ethernet 4 sonic(conf-if-Ethernet4)# mtu 9100 /tmp/klish.fifo.93.4jlOfg: 1: /tmp/klish.fifo.93.4jlOfg: python: not found

oriziena commented 3 years ago

we see the same issue in our lab with latest community sonic build for as7712-32x... hopefully this can be fixed easily..

v0tti commented 3 years ago

I get the same error on a virtual SONiC appliance in GNS3. Is there something I can do about this?

dinosn commented 3 years ago

Same case, I reported it as well on https://github.com/Azure/sonic-buildimage/issues/8506. Scripts are called with python interpreter where on the docker itself python3 is featured. Some of the scripts have tab on their entries which are not tolerated by python3.

salvadorb commented 2 years ago

Hi, We are facing a similar issue in version 202205. Does anyone know if that problem with python3 has been fixed?

admin@sonic-switch:~$ sonic-cli sonic-switch# sonic-switch1# configure terminal sonic-switch# interface Ethernet 96 sonic-switch(conf-if-Ethernet96)# description prueba-exitosa /tmp/klish.fifo.83428.Hu1Zgx: 1: /tmp/klish.fifo.83428.Hu1Zgx: python: not found

gmatthew-umassd commented 1 year ago

I'm still seeing this issue with the latest master build.

K-Buenos commented 2 weeks ago

Hi, has anyone solved the problem above? Thanks