Skip to content

Unable to add Virtual Machine to Cluster with Site assigned #16796

@rodvand

Description

@rodvand

Deployment Type

Self-hosted

NetBox Version

v4.0.6

Python Version

3.10

Steps to Reproduce

  1. Create a site Site1
  2. Create a cluster Cluster1 and assign it to a site (Cluster type can be whatever)
  3. Create a virtual machine and assign it to Cluster1

Expected Behavior

The virtual machine to be created without issues and be assigned to Cluster1.

Observed Behavior

An error is returned: "The selected cluster (Cluster1) is not assigned to this site (None)."

I suspect this is a regression from #15763

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions