Page MenuHomeVyOS Platform

monitor nat destination translation shows missing script
Closed, ResolvedPublicBUG

Description

[email protected]:~$ monitor nat destination translations
Type control-C to quit
-vbash: /opt/vyatta/bin/sudo-users/vyatta-nat-translations.pl: No such file or directory

Same with source:

[email protected]:~$ monitor nat source translations
Type control-C to quit
-vbash: /opt/vyatta/bin/sudo-users/vyatta-nat-translations.pl: No such file or directory

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.4-rolling-202208010217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

The easiest way it add vyatta-nat-translations.pl scripts to the op-mode script directory or rewrite it to the python.

Update it seems only one way - rewrite it to the python

vyos@r14# run monitor nat source translations 
Type control-C to quit
Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /opt/vyatta/bin/sudo-users/vyatta-nat-translations.pl line 27.
BEGIN failed--compilation aborted at /opt/vyatta/bin/sudo-users/vyatta-nat-translations.pl line 27.
[edit]
vyos@r14#
Viacheslav changed the task status from Open to In progress.Aug 30 2022, 7:38 AM
Viacheslav claimed this task.
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.