The VYOS container occupies resources

When I use the Docker container to run vyos, I find that if the host configuration is lower than or equal to 2G memory, the vyos service will start slowly, and even some services cannot be used.


mayroon din itong problema

The error that you got is not related to resources. The problem is that a network interface used in that container does not support MTU reporting or other types of statistics.
Can you post an output of the “sudo ip -json -detail link list dev eth0” command?

Sorry about this container, I deleted it. Second question: Why does the vyos container sometimes say that there are no vyos users?

Hi @gameboy-aa, it can happens when VyOS in loading config stage and does not have vyos user in this time.

Thank you for your reply. I know the situation you mentioned, but my container has been started for a long time, and there is still no vyos user.

Add picture(The container has been started for a long time.):

logs

Nov 11 02:54:38 d7ab2544dd29 vyos-router[203]: could not reset container subsystem ...
Nov 11 02:54:38 d7ab2544dd29 vyos-router[403]:  failed!
Nov 11 02:54:38 d7ab2544dd29 vyos-router[203]: Mounting VyOS Config...
Nov 11 02:54:38 d7ab2544dd29 vyos-router[407]: mount: /opt/vyatta/config: wrong fs type, bad option, bad superblock on none, missing codepage or helper program, or other error.
Nov 11 02:54:38 d7ab2544dd29 vyos-router[203]: failed.
Nov 11 02:54:39 d7ab2544dd29 vyos-configd[59]: Traceback (most recent call last):
Nov 11 02:54:39 d7ab2544dd29 vyos-configd[59]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:54:39 d7ab2544dd29 vyos-configd[59]:     with open(configd_include_file) as f:
Nov 11 02:54:39 d7ab2544dd29 vyos-configd[59]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:54:39 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:54:39 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Request data: {"type": "host_name", "op": "set", "data": {"host_name": "vyos", "domain_name": ""}}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Saving state to /run/vyos-hostsd/vyos-hostsd.state
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Sent response: {'data': None}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Request data: {"type": "search_domains", "op": "delete", "data": ["system"]}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Saving state to /run/vyos-hostsd/vyos-hostsd.state
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Sent response: {'data': None}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Request data: {"type": "name_servers", "op": "delete", "data": ["system"]}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Saving state to /run/vyos-hostsd/vyos-hostsd.state
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Sent response: {'data': None}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Request data: {"type": "name_server_tags_system", "op": "get"}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Saving state to /run/vyos-hostsd/vyos-hostsd.state
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Sent response: {'data': []}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Request data: {"type": "name_server_tags_system", "op": "delete", "data": []}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Saving state to /run/vyos-hostsd/vyos-hostsd.state
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Sent response: {'data': None}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Request data: {"type": "name_server_tags_system", "op": "add", "data": ["system"]}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Saving state to /run/vyos-hostsd/vyos-hostsd.state
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Sent response: {'data': None}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Request data: {"type": "hosts", "op": "delete", "data": ["system"]}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Saving state to /run/vyos-hostsd/vyos-hostsd.state
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Sent response: {'data': None}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Request data: {"op": "apply"}
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Applying 6 changes
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Writing /etc/resolv.conf
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Traceback (most recent call last):
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/libexec/vyos/services/vyos-hostsd", line 634, in <module>
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     resp['data'] = handle_message(msg)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/libexec/vyos/services/vyos-hostsd", line 587, in handle_message
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     make_resolv_conf(STATE)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/libexec/vyos/services/vyos-hostsd", line 424, in make_resolv_conf
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     render(RESOLV_CONF_FILE, 'vyos-hostsd/resolv.conf.j2', state,
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/vyos/template.py", line 141, in render
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     rendered = render_to_string(template, content, formater, location)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/vyos/template.py", line 109, in render_to_string
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     template = _get_environment(location).get_template(template)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 883, in get_template
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     return self._load_template(name, self.make_globals(globals))
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 857, in _load_template
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     template = self.loader.load(self, name, globals)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 115, in load
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     source, filename, uptodate = self.get_source(environment, name)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 197, in get_source
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     raise TemplateNotFound(template)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: jinja2.exceptions.TemplateNotFound: vyos-hostsd/resolv.conf.j2
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Traceback (most recent call last):
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/libexec/vyos/services/vyos-hostsd", line 634, in <module>
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     resp['data'] = handle_message(msg)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/libexec/vyos/services/vyos-hostsd", line 587, in handle_message
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     make_resolv_conf(STATE)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/libexec/vyos/services/vyos-hostsd", line 424, in make_resolv_conf
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     render(RESOLV_CONF_FILE, 'vyos-hostsd/resolv.conf.j2', state,
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/vyos/template.py", line 141, in render
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     rendered = render_to_string(template, content, formater, location)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/vyos/template.py", line 109, in render_to_string
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     template = _get_environment(location).get_template(template)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 883, in get_template
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     return self._load_template(name, self.make_globals(globals))
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 857, in _load_template
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     template = self.loader.load(self, name, globals)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 115, in load
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     source, filename, uptodate = self.get_source(environment, name)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:   File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 197, in get_source
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]:     raise TemplateNotFound(template)
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: jinja2.exceptions.TemplateNotFound: vyos-hostsd/resolv.conf.j2
Nov 11 02:54:39 d7ab2544dd29 vyos-hostsd[60]: Sent response: {'error': 'Internal error'}
Nov 11 02:54:39 d7ab2544dd29 systemd[1]: opt-vyatta-config-tmp-new_config_420.mount: Succeeded.
Nov 11 02:54:39 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 1.
Nov 11 02:54:39 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:54:39 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:54:39 d7ab2544dd29 systemd[1]: opt-vyatta-config-tmp-new_config_420.mount: Succeeded.
Nov 11 02:54:39 d7ab2544dd29 vyos-router[203]: Starting VyOS router: migrate configure
Nov 11 02:54:39 d7ab2544dd29 vyos-router[462]:  failed!
Nov 11 02:54:39 d7ab2544dd29 systemd[1]: Reloading.
Nov 11 02:54:40 d7ab2544dd29 vyos-config[221]: Configuration error
Nov 11 02:54:45 d7ab2544dd29 vyos-configd[450]: Traceback (most recent call last):
Nov 11 02:54:45 d7ab2544dd29 vyos-configd[450]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:54:45 d7ab2544dd29 vyos-configd[450]:     with open(configd_include_file) as f:
Nov 11 02:54:45 d7ab2544dd29 vyos-configd[450]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:54:45 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:54:45 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:54:45 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 2.
Nov 11 02:54:45 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:54:45 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:54:50 d7ab2544dd29 vyos-configd[512]: Traceback (most recent call last):
Nov 11 02:54:50 d7ab2544dd29 vyos-configd[512]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:54:50 d7ab2544dd29 vyos-configd[512]:     with open(configd_include_file) as f:
Nov 11 02:54:50 d7ab2544dd29 vyos-configd[512]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:54:50 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:54:50 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:54:50 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 3.
Nov 11 02:54:50 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:54:50 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:54:55 d7ab2544dd29 vyos-configd[529]: Traceback (most recent call last):
Nov 11 02:54:55 d7ab2544dd29 vyos-configd[529]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:54:55 d7ab2544dd29 vyos-configd[529]:     with open(configd_include_file) as f:
Nov 11 02:54:55 d7ab2544dd29 vyos-configd[529]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:54:55 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:54:55 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:54:55 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 4.
Nov 11 02:54:55 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:54:55 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:00 d7ab2544dd29 vyos-configd[546]: Traceback (most recent call last):
Nov 11 02:55:00 d7ab2544dd29 vyos-configd[546]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:00 d7ab2544dd29 vyos-configd[546]:     with open(configd_include_file) as f:
Nov 11 02:55:00 d7ab2544dd29 vyos-configd[546]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:00 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:00 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:01 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 5.
Nov 11 02:55:01 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:01 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:06 d7ab2544dd29 vyos-configd[563]: Traceback (most recent call last):
Nov 11 02:55:06 d7ab2544dd29 vyos-configd[563]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:06 d7ab2544dd29 vyos-configd[563]:     with open(configd_include_file) as f:
Nov 11 02:55:06 d7ab2544dd29 vyos-configd[563]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:06 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:06 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:06 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 6.
Nov 11 02:55:06 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:06 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:11 d7ab2544dd29 vyos-configd[580]: Traceback (most recent call last):
Nov 11 02:55:11 d7ab2544dd29 vyos-configd[580]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:11 d7ab2544dd29 vyos-configd[580]:     with open(configd_include_file) as f:
Nov 11 02:55:11 d7ab2544dd29 vyos-configd[580]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:11 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:11 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:11 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 7.
Nov 11 02:55:11 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:11 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:16 d7ab2544dd29 vyos-configd[597]: Traceback (most recent call last):
Nov 11 02:55:16 d7ab2544dd29 vyos-configd[597]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:16 d7ab2544dd29 vyos-configd[597]:     with open(configd_include_file) as f:
Nov 11 02:55:16 d7ab2544dd29 vyos-configd[597]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:16 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:16 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:16 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 8.
Nov 11 02:55:16 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:16 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:21 d7ab2544dd29 vyos-configd[614]: Traceback (most recent call last):
Nov 11 02:55:21 d7ab2544dd29 vyos-configd[614]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:21 d7ab2544dd29 vyos-configd[614]:     with open(configd_include_file) as f:
Nov 11 02:55:21 d7ab2544dd29 vyos-configd[614]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:21 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:21 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:22 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 9.
Nov 11 02:55:22 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:22 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:27 d7ab2544dd29 vyos-configd[631]: Traceback (most recent call last):
Nov 11 02:55:27 d7ab2544dd29 vyos-configd[631]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:27 d7ab2544dd29 vyos-configd[631]:     with open(configd_include_file) as f:
Nov 11 02:55:27 d7ab2544dd29 vyos-configd[631]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:27 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:27 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:27 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 10.
Nov 11 02:55:27 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:27 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:32 d7ab2544dd29 vyos-configd[648]: Traceback (most recent call last):
Nov 11 02:55:32 d7ab2544dd29 vyos-configd[648]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:32 d7ab2544dd29 vyos-configd[648]:     with open(configd_include_file) as f:
Nov 11 02:55:32 d7ab2544dd29 vyos-configd[648]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:32 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:32 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:32 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 11.
Nov 11 02:55:32 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:32 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:37 d7ab2544dd29 vyos-configd[665]: Traceback (most recent call last):
Nov 11 02:55:37 d7ab2544dd29 vyos-configd[665]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:37 d7ab2544dd29 vyos-configd[665]:     with open(configd_include_file) as f:
Nov 11 02:55:37 d7ab2544dd29 vyos-configd[665]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:37 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:37 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:37 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 12.
Nov 11 02:55:37 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:37 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:42 d7ab2544dd29 vyos-configd[682]: Traceback (most recent call last):
Nov 11 02:55:42 d7ab2544dd29 vyos-configd[682]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:42 d7ab2544dd29 vyos-configd[682]:     with open(configd_include_file) as f:
Nov 11 02:55:42 d7ab2544dd29 vyos-configd[682]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:42 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:42 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:43 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 13.
Nov 11 02:55:43 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:43 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:48 d7ab2544dd29 vyos-configd[699]: Traceback (most recent call last):
Nov 11 02:55:48 d7ab2544dd29 vyos-configd[699]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:48 d7ab2544dd29 vyos-configd[699]:     with open(configd_include_file) as f:
Nov 11 02:55:48 d7ab2544dd29 vyos-configd[699]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:48 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:48 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:48 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 14.
Nov 11 02:55:48 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:48 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:53 d7ab2544dd29 vyos-configd[716]: Traceback (most recent call last):
Nov 11 02:55:53 d7ab2544dd29 vyos-configd[716]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:53 d7ab2544dd29 vyos-configd[716]:     with open(configd_include_file) as f:
Nov 11 02:55:53 d7ab2544dd29 vyos-configd[716]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:53 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:53 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:53 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 15.
Nov 11 02:55:53 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:53 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:55:58 d7ab2544dd29 systemd[1]: Created slice User Slice of UID 0.
Nov 11 02:55:58 d7ab2544dd29 systemd[1]: Starting User Runtime Directory /run/user/0...
Nov 11 02:55:58 d7ab2544dd29 systemd[1]: Finished User Runtime Directory /run/user/0.
Nov 11 02:55:58 d7ab2544dd29 systemd[1]: Starting User Manager for UID 0...
Nov 11 02:55:58 d7ab2544dd29 vyos-configd[738]: Traceback (most recent call last):
Nov 11 02:55:58 d7ab2544dd29 vyos-configd[738]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:55:58 d7ab2544dd29 vyos-configd[738]:     with open(configd_include_file) as f:
Nov 11 02:55:58 d7ab2544dd29 vyos-configd[738]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:55:58 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:55:58 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Queued start job for default target Main User Target.
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Created slice User Application Slice.
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Reached target Paths.
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Reached target Timers.
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Listening on GnuPG network certificate management daemon.
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Listening on GnuPG cryptographic agent and passphrase cache.
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Reached target Sockets.
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Reached target Basic System.
Nov 11 02:55:58 d7ab2544dd29 systemd[1]: Started User Manager for UID 0.
Nov 11 02:55:58 d7ab2544dd29 systemd[1]: Started Session c1 of user root.
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Reached target Main User Target.
Nov 11 02:55:58 d7ab2544dd29 systemd[770]: Startup finished in 135ms.
Nov 11 02:55:59 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 16.
Nov 11 02:55:59 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:55:59 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:56:04 d7ab2544dd29 vyos-configd[822]: Traceback (most recent call last):
Nov 11 02:56:04 d7ab2544dd29 vyos-configd[822]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:56:04 d7ab2544dd29 vyos-configd[822]:     with open(configd_include_file) as f:
Nov 11 02:56:04 d7ab2544dd29 vyos-configd[822]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:56:04 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:56:04 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:56:04 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 17.
Nov 11 02:56:04 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:56:04 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: atopacct.service: start operation timed out. Terminating.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: atopacct.service: Failed with result 'timeout'.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Failed to start Atop process accounting daemon.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Started Atop advanced performance monitor.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Reached target Multi-User System.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Reached target Graphical Interface.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Reached target VyOS target.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Starting Update UTMP about System Runlevel Changes...
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: systemd-update-utmp-runlevel.service: Succeeded.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Finished Update UTMP about System Runlevel Changes.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Startup finished in 1w 2d 15h 45min 13.699s (kernel) + 1min 30.888s (userspace) = 1w 2d 15h 46min 44.588s.
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[840]: Traceback (most recent call last):
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[840]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[840]:     with open(configd_include_file) as f:
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[840]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 18.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[851]: Traceback (most recent call last):
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[851]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[851]:     with open(configd_include_file) as f:
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[851]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 19.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[852]: Traceback (most recent call last):
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[852]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[852]:     with open(configd_include_file) as f:
Nov 11 02:56:05 d7ab2544dd29 vyos-configd[852]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:56:05 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:56:06 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 20.
Nov 11 02:56:06 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:56:06 d7ab2544dd29 systemd[1]: Started VyOS configuration daemon.
Nov 11 02:56:06 d7ab2544dd29 vyos-configd[853]: Traceback (most recent call last):
Nov 11 02:56:06 d7ab2544dd29 vyos-configd[853]:   File "/usr/libexec/vyos/services/vyos-configd", line 79, in <module>
Nov 11 02:56:06 d7ab2544dd29 vyos-configd[853]:     with open(configd_include_file) as f:
Nov 11 02:56:06 d7ab2544dd29 vyos-configd[853]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/vyos/configd-include.json'
Nov 11 02:56:06 d7ab2544dd29 systemd[1]: vyos-configd.service: Main process exited, code=exited, status=1/FAILURE
Nov 11 02:56:06 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:56:06 d7ab2544dd29 systemd[1]: vyos-configd.service: Scheduled restart job, restart counter is at 21.
Nov 11 02:56:06 d7ab2544dd29 systemd[1]: Stopped VyOS configuration daemon.
Nov 11 02:56:06 d7ab2544dd29 systemd[1]: vyos-configd.service: Start request repeated too quickly.
Nov 11 02:56:06 d7ab2544dd29 systemd[1]: vyos-configd.service: Failed with result 'exit-code'.
Nov 11 02:56:06 d7ab2544dd29 systemd[1]: Failed to start VyOS configuration daemon.
Nov 11 02:56:07 d7ab2544dd29 sh[843]: /var/log/atop/atop.log - create raw file: No such file or directory
Nov 11 02:56:07 d7ab2544dd29 systemd[1]: atop.service: Main process exited, code=exited, status=7/NOTRUNNING
Nov 11 02:56:07 d7ab2544dd29 systemd[1]: atop.service: Failed with result 'exit-code'.
Nov 11 02:56:12 d7ab2544dd29 root: 

The vyos container is generated using the following methods:|

mkdir rootfs
 sudo mount -o loop vyos-1.4-rolling-202210250601-amd64.iso rootfs
 sudo apt-get install -y squashfs-tools
 mkdir unsquashfs
 sudo unsquashfs -f -d unsquashfs/ rootfs/live/filesystem.squashfs
 sudo tar -C unsquashfs -c . | docker import - vyos-1.4-rolling-202210250601
 sudo umount rootfs
 cd ..
 sudo rm -rf vyos