Page MenuHomeVyOS Platform

VPP: Restart with the previous configuration after an apply error
Open, HighPublicBUG

Description

When a commit fails in the apply stage while VPP is running, vpp.py stops VPP and returns the interfaces to the kernel, but VPP is not started again. The error says "VPP service will be restarted with the previous configuration", yet VPP stays down until the next VPP commit or reboot.

This happens when VPP starts but setting it up fails, for example:

  • an LCP pair cannot be created;
  • a VPP interface or its kernel interface is missing;
  • an rx-mode or LCP resync call fails;
  • any other VPP API error in the apply stage.

It does not happen when VPP fails to start or crashes: then vpp.service fails and OnFailure=vpp-failure-handler.service restores the previous configuration (T7488, T8080). The rollback in the apply stage stops VPP cleanly, so OnFailure= is not triggered.

Details

Version
rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

natali-rs1985 claimed this task.
natali-rs1985 triaged this task as High priority.