Page MenuHomeVyOS Platform

System cannot boot with commit-arachive location sftp in some cases
Open, NormalPublicBUG

Description

In some cases (or platforms) commit-archive location sftp the system cannot boot properly with the OOM message:

trying to load python3 -c from vyos.remote import upload; upload("/tmp/config.boot.3575"), from a sftp location ..

VM sizing is: 2CPU and 4GB Ram , 20GB Disk

mem.png (1×2 px, 498 KB)

Delete archive-location fixes the issue

vyos@r1:~$ show conf com | match archiv
set system config-management commit-archive location 'sftp://foo:[email protected]:22/upload/'
Version:          VyOS 1.3.3
Release train:    equuleus

Architecture:     x86_64
Boot via:         installed image
System type:      VMware guest

Details

Difficulty level
Unknown (require assessment)
Version
1.3.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

syncer added subscribers: jestabro, syncer.

@jestabro assigning to you but feel free to pass it to another team member

Naive attempts to reproduce on 1.3.3 are not successful, yet (Vmware; KVM), but will continue to investigate; any other information is welcome @Viacheslav, should you recall ...

I remember there was an ancient bug where the commit-archive rewrite did not come with a timeout. As routing might not have been converged during boot, that could explain the lock.

Can you upgrade to 1.3.7?

@jestabro It was a report from the user; unfortunately, I do not have more details.

Yes, @c-po that would be a reasonable explanation; the timeout was added for Equuleus by 1.3.4. Without a reporting user to ask; other reports on later version; or further information, I would vote to close ...

syncer lowered the priority of this task from High to Normal.May 21 2024, 5:22 PM