[rancid] Problem with Dell S4148F-ON

michael gauthier mic.g2 at hotmail.fr
Mon Dec 4 06:55:50 UTC 2023


Thanks for your help.

Location of hpuifilter
/usr/lib/rancid/bin/hpuifilter

Extract of rancid.conf
PATH=/usr/lib/rancid/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin; export PATH


________________________________
De : heasley <heas at shrubbery.net>
Envoyé : vendredi 1 décembre 2023 16:43
À : michael gauthier <mic.g2 at hotmail.fr>
Cc : rancid-discuss at www.shrubbery.net <rancid-discuss at www.shrubbery.net>
Objet : Re: [rancid] Problem with Dell S4148F-ON

Fri, Dec 01, 2023 at 10:39:29AM +0000, michael gauthier:
> Hello,
>
> I'm trying to integrate Dell switching S4148F-ON (Dell EMC Networking OS10 Enterprise) but whatever type I'm choosing I have error.
>
> With dnos10:
>
> rancid at vm:~$ NOPIPE=yes rancid -d -t dnos10 switch1
> loadtype: device type dnos10
> loadtype: found device type dnos10 at /etc/rancid/rancid.types.base:432
> executing hlogin -t 90 -c"terminal length 0;show system;show version;show inventory;show inventory media;show vlan;show running-configuration" switch1
> switch1 hlogin error: Error: ssh failed: couldn't execute "hpuifilter": no such file or directory
> switch1 hlogin error: Error: ssh failed: couldn't execute "hpuifilter": no such file or directory
> switch1: missed cmd(s): all commands
> switch1: End of run not found
> switch1: clean_run is false
> switch1: found_end is false
>
> I'm not an expert but I can try some tweak if you have an idea.

dnos10 is what I would expect to use, not to say that the other type would
not work, but I do not have much experience with dnos.

however, the hlogin error is definitely a problem for your test.  You must
ensure that the location of hpuifilter is in your shell's PATH; rancid
inherits this from its parent.  If spawned by rancid-run, it will have
read the rancid.conf, which sets PATH appropriately; you can do that too:
        . /path/to/rancid.conf
        rancid -d ....

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20231204/4f674e86/attachment.htm>


More information about the Rancid-discuss mailing list