Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 same named VMs on two different clusters overwriting themselfes each run #395

Open
Littlericket opened this issue Jun 4, 2024 · 1 comment

Comments

@Littlericket
Copy link

Littlericket commented Jun 4, 2024

Two same named VMs in different vCenter clusters, one being online and the other is offline.

Each run the online VM gets an IP assigned, and site changed to the one where the VM is running.
Next run the VM is set as "offline", getting their site id changed again and gets the primary_ipv4 removed. The same applies with attached disks and vNICS. They get removed from the offline variant of the VM and get created again when the online variant VM from the other cluster is being used.

This repeats each run, obviously. Tags are interestingly not being changed (as I would suspect having the other vCenter name as an tag added, and using for filter the next run).

image
image

I would expect to have two VMs in netbox, assigned to different sites/clusters instead of having one VM where each run the cluster information gets overwritten by the other VM. Tried running with v1.6.0 and latest development branch.

@bb-Ricardo
Copy link
Owner

Hi,

does this help?: #301

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants