Set up a sample environment with devices and virtual machines.
Delete one or more devices or virtual machines.
Attempt to migrate the files to the latest version of netbox_secrets.
Expected Behavior
The migration process should successfully complete, regardless of the presence of deleted devices or virtual machines in the secrets.
Observed Behavior
The migration fails, and an error is encountered due to the bug in the previous version of netbox_secrets. Deleted devices or virtual machines that still exist in the secrets cause this failure.
NetBox Secrets plugin version
v1.8.3
NetBox version
v3.5.3
Steps to Reproduce
Expected Behavior
The migration process should successfully complete, regardless of the presence of deleted devices or virtual machines in the secrets.
Observed Behavior
The migration fails, and an error is encountered due to the bug in the previous version of netbox_secrets. Deleted devices or virtual machines that still exist in the secrets cause this failure.