Page MenuHomeVyOS Platform

op-mode conntrack-sync miss some functions
Closed, ResolvedPublicBUG

Description

After rewriting conntrack-sync for 1.3 in T3535 we miss some op-mode functions/modules.

vyos@r4-1.3:~$ show conntrack-sync cache internal 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/conntrack_sync.py", line 22, in <module>
    from vyos.configquery import CliShellApiConfigQuery
ModuleNotFoundError: No module named 'vyos.configquery'
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/conntrack_sync.py", line 22, in <module>
    from vyos.configquery import CliShellApiConfigQuery
ModuleNotFoundError: No module named 'vyos.configquery'
vyos@r4-1.3:~$

Needs to migrate all needed modules from 1.4 to 1.3

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-beta-202108041752
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Internal change (not visible to end users)

Event Timeline

  • Backport configquerry.py [Done]

https://github.com/vyos/vyos-1x/commit/2aa75521a829712256c3c34685e60a9d36b33791

  • Needs to add "bracketize_ipv6" template filter
  File "/usr/lib/python3/dist-packages/jinja2/compiler.py", line 315, in fail
    raise TemplateAssertionError(msg, lineno, self.name, self.filename)
jinja2.exceptions.TemplateAssertionError: no filter named 'bracketize_ipv6'
Viacheslav changed the task status from Open to Needs testing.Aug 9 2021, 7:07 PM
Viacheslav added a project: test.
SrividyaA set Issue type to Internal change (not visible to end users).Sep 1 2021, 10:41 AM