Onemind-Services-LLC / netbox-secrets

Enhance your secret management with encrypted storage and flexible, user-friendly features.
Apache License 2.0
105 stars 11 forks source link

[Bug]: Migration Failure due to previous bug #73

Closed kprince28 closed 1 year ago

kprince28 commented 1 year ago

NetBox Secrets plugin version

v1.8.3

NetBox version

v3.5.3

Steps to Reproduce

  1. Install the previous version of netbox_secrets.
  2. Set up a sample environment with devices and virtual machines.
  3. Delete one or more devices or virtual machines.
  4. 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.