Virtual Machines with duplicate names displayed only once #7312

Closed
opened 2025-12-29 20:21:40 +01:00 by adam · 1 comment
Owner

Originally created by @sincomil on GitHub (Dec 2, 2022).

NetBox version

v.3.3.9

Python version

3.9

Steps to Reproduce

  1. create virtual machine with name: foo in cluster: bar with active state
  2. create virtual machine with same name foo in cluster bar with offline sate
  3. got an error: A virtual machine with this name already exists in the assigned cluster.

Expected Behavior

VMs with a same names should have to exist in the same cluster, the unique identifiers for distinguishing VMs used in VMWare is VM UUIDs - so you users can have multiple VMs with a same names in single cluster/hypervisor node

Observed Behavior

error: A virtual machine with this name already exists in the assigned cluster.

Originally created by @sincomil on GitHub (Dec 2, 2022). ### NetBox version v.3.3.9 ### Python version 3.9 ### Steps to Reproduce 1. create virtual machine with name: `foo` in cluster: `bar` with `active` state 2. create virtual machine with same name foo in cluster bar with offline sate 3. got an error: _**A virtual machine with this name already exists in the assigned cluster.**_ ### Expected Behavior VMs with a same names should have to exist in the same cluster, the unique identifiers for distinguishing VMs used in VMWare is VM UUIDs - so you users can have multiple VMs with a same names in single cluster/hypervisor node ### Observed Behavior error: _**A virtual machine with this name already exists in the assigned cluster.**_
adam closed this issue 2025-12-29 20:21:40 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 2, 2022):

The error message is correct: Each VM within a cluster must have a unique name. This has always been the case.

@jeremystretch commented on GitHub (Dec 2, 2022): The error message is correct: Each VM within a cluster must have a unique name. This has always been the case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7312