VM site not updated when changing cluster site #9189

Closed
opened 2025-12-29 20:46:47 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Feb 2, 2024).

Originally assigned to: @arthanson on GitHub.

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.

Originally created by @jeremystretch on GitHub (Feb 2, 2024). Originally assigned to: @arthanson on GitHub. ### 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.
adam added the type: bugstatus: acceptedseverity: medium labels 2025-12-29 20:46:47 +01:00
adam closed this issue 2025-12-29 20:46:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9189