Skip to content

VM site not updated when changing cluster site #15020

@jeremystretch

Description

@jeremystretch

Deployment Type

NetBox Cloud

NetBox Version

v3.7.1

Python Version

3.11

Steps to Reproduce

  1. Create two sites, Site A and Site B.
  2. Create a new virtualization cluster (of any type) and assign it to Site A.
  3. Create a new virtual machine in the cluster. Do not assign a site when creating the VM.
  4. Verify that the new VM is assigned to Site A.
  5. Edit the cluster and change its site to Site B.
  6. Check the VM's assigned site.

Expected Behavior

The VM's site should be updated to Site B.

Observed Behavior

The VM is still assigned to Site A, whereas its cluster is assigned to Site B.

When attempting to save the VM, validation fails, complaining that its site and its cluster's site do not match.

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