Description
When OneForm performs a driver sync using the oneform sync command, removed drivers are not properly cleaned up. Resources and symbolic links created by OneForm (e.g., for IPAM and elastic scripts) remain in the system even after the driver is deleted, which leads to errors during the synchronization of host remotes folder.
To Reproduce
- Add any driver to OneForm.
- Run
oneform sync to create the required resources and symbolic links.
- Manually remove the driver.
- Run
oneform sync again.
- The driver is unregistered from OneForm, but the symbolic links are not cleaned up.
Expected behavior
All resources and symbolic links associated with removed drivers should be fully cleaned up during oneform sync.
Details
- Affected Component: OneForm
- Hypervisor: KVM
- Version: 7.2
Additional context
Currently, the only workaround is to manually remove broken symbolic links using:
find /var/lib/one/remotes -xtype l -print -delete
Progress Status
Description
When OneForm performs a driver sync using the
oneform synccommand, removed drivers are not properly cleaned up. Resources and symbolic links created by OneForm (e.g., for IPAM and elastic scripts) remain in the system even after the driver is deleted, which leads to errors during the synchronization of host remotes folder.To Reproduce
oneform syncto create the required resources and symbolic links.oneform syncagain.Expected behavior
All resources and symbolic links associated with removed drivers should be fully cleaned up during
oneform sync.Details
Additional context
Currently, the only workaround is to manually remove broken symbolic links using:
Progress Status