-
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
NetBox version
v3.3.3
Python version
3.9
Steps to Reproduce
- select Organization > Sites > ➕ Add
- set field Name = "site1"
- click Create
- select Virtualization > Cluster Types > ➕ Add
- set field Name = "type1"
- click Create
- select Virtualization > Clusters > ➕ Add
- set field Name = "cluster1"
- set field Type = "type1"
- set field Site = "site1"
- click Create
- select Virtualization > Virtual Machines > ➕ Add
- set field Name = "vm1"
- set field Cluster = "cluster1"
- leave the Site field empty
- click Create
Expected Behavior
A new VM "vm1" should be created and associated with the selected Cluster "cluster1".
Observed Behavior
The VM is not created and the following error appears:
The selected cluster (cluster1 is not assigned to this site (None).
(Note: there is also a missing closed parenthesis in the error message)
If I create the VM selecting a Cluster and also a Site, the operation is successful.
This is probably related with #5303
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