Unable to update secrets #3922

Closed
opened 2025-12-29 18:32:06 +01:00 by adam · 1 comment
Owner

Originally created by @joaolucasmacedo on GitHub (Jul 30, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6
  • NetBox version: 2.8.8

I'm trying to update some device secrets ant it shows an error. I had to delete the secret and create a new one.
By the way, would be nice to return to the original device page after delete a secret, instead of secrets page.

Steps to Reproduce

  1. Select device secret.
  2. Click "Edit".
  3. Chage password and click "Update".

Expected Behavior

Update password.

Observed Behavior

Error popup: "Each secret assigned to a device must have a unique combination of role and name"

Originally created by @joaolucasmacedo on GitHub (Jul 30, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.6 * NetBox version: 2.8.8 I'm trying to update some device secrets ant it shows an error. I had to delete the secret and create a new one. By the way, would be nice to return to the original device page after delete a secret, instead of secrets page. ### Steps to Reproduce 1. Select device secret. 2. Click "Edit". 3. Chage password and click "Update". ### Expected Behavior Update password. <!-- What happened instead? --> ### Observed Behavior Error popup: "Each secret assigned to a device must have a unique combination of role and name"
adam added the type: bugstatus: accepted labels 2025-12-29 18:32:06 +01:00
adam closed this issue 2025-12-29 18:32:06 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 30, 2020):

This is a regression introduced in edf15532d2 for #4702

@jeremystretch commented on GitHub (Jul 30, 2020): This is a regression introduced in edf15532d25ab94e5e92827f098d6418b8d5be96 for #4702
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3922