Skip to content

Virtualization: Modifying a cluster field also modifies member virtual machine sites #18553

@cruse1977

Description

@cruse1977

Deployment Type

NetBox Cloud

NetBox Version

v4.2.2

Python Version

3.12

Steps to Reproduce

  1. Create a cluster with a blank scope
  2. Create some VM's, assign them to the cluster and assign them to a site
  3. Edit a field on the cluster (eg description) and save

Expected Behavior

Virtual Machines are not modified.

Observed Behavior

Virtual Machine site fields are cleared to match the cluster scope.

Note - there is some validation in netbox whereas a cluster is scoped to a site, you cannot add vms within a different site. This is expected given the cluster as been explicitly scoped.

However, modifying a field in the cluster should not impact virtual machines.

One big use case for this functionality is if the cluster is not scoped to a specific site - for example in an overlay cluster spanning multiple sites in which case virtual machines within a single cluster may be in multiple sites.

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

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions