-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Environment
- Python version: 3.8.6
- NetBox version: 2.9.10
Cannot add VM without Tenant to different clusters.
Steps to Reproduce
- Add cluster A, B
- Add VM named "Example VM" to cluster A without Tenant
- Try to add VM named "Example VM" to cluster B without Tenant
Expected Behavior
VM should be added.
Observed Behavior
I see validation error: A virtual machine with this name already exists.
I see that validate_unique(self, exclude=None) in VirtualMachine model doesn't filter by cluster!
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application