Skip to content

Unhandled Exception - SecretValueNotFoundError, causes sync to fail #312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
susanhooks opened this issue Jan 24, 2025 · 0 comments
Open
Labels
type: bug Something isn't working as expected

Comments

@susanhooks
Copy link
Contributor

Environment

  • Python version: 3.11
  • Nautobot version: 2.3.12
  • nautobot-device-onboarding version: 4.2.0
  • ntc-templates version: 6.0.0

Expected Behavior

If a secret is not able to be retireved during a sync, the device should not be added to the inventory, and a logging message should give information.

Observed Behavior

A bad secret crashed the sync for all devices.

Steps to Reproduce

  1. Create a sync network data job, containing more than one device, where one device is assigned a secret that is not accessible in the environment. (Missing env variable)
  2. run Job
@gsnider2195 gsnider2195 added the type: bug Something isn't working as expected label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants