diff options
| author | Oleksandr Kuchmystyi <o.kuchmystyi@vyos.io> | 2026-02-24 15:12:44 +0300 |
|---|---|---|
| committer | Oleksandr Kuchmystyi <o.kuchmystyi@vyos.io> | 2026-02-25 10:35:55 +0300 |
| commit | e8c6a8f37470416e72a26fbbdfad24f8dcea7208 (patch) | |
| tree | 45b563d25a7d0f8035ad87fad21038b388c461ee /src/migration-scripts | |
| parent | 662b45c159393aa9451c93b168da415021949857 (diff) | |
| download | vyos-1x-e8c6a8f37470416e72a26fbbdfad24f8dcea7208.tar.gz vyos-1x-e8c6a8f37470416e72a26fbbdfad24f8dcea7208.zip | |
vpp: T8297: Fixed double enabling of VPP
When trying to configure the VPP interface using `set vpp settings interface eth0`
and `commit`, user first see a success. Upon repeating the configuration after
deleting and re-adding it, the commit fails with an error:
- `FileExistsError: Cannot open locked storage: /run/vpp/vpp_conf.json`
This indicates that another process is using the file or a previous operation did not
release the lock, preventing new changes from being written.
The commit adds context manager support and safe close to `JSONStorage`
and refactor VPP config handling.
Diffstat (limited to 'src/migration-scripts')
0 files changed, 0 insertions, 0 deletions
