-
Notifications
You must be signed in to change notification settings - Fork 69
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
Netbox Group is set to "host" when Host/Cluster Folder is used inside a datacenter #195
Comments
Thank you for this info. This seems interesting and should not be happening. |
Hi @RobiRob81 I just pushed another commit to "development" branch. Can you check it out and test if it works now? |
Hi @bb-Ricardo just used the dev branch version. INFO: Created new cluster object: testcluster01 I don't see a new group assignment. If i manually change in netbox the cluster group to the desired folder then i just see this additional line from a new run. All runs are only with "dry run". thanks, |
Hi, It might seem as the same cluster but it isn't. It has a different group. The problem is that multiple clusters with the same name can be created in NetBox. That's why it seems like the same cluster (name wise) but it isn't. But your actual issue with 'host' as cluster name has been resolved? Dry run tells you what changed but does not change it in NetBox. |
Hi, I added a change to the 'development' branch to print the cluster group for a cluster as well. Can you see if this works better? |
Hi, thanks for your update. |
Thank you for testing it. |
Hi,
when a cluster is placed inside a host folder in a datacenter, the import change the "Cluster Group" to "host" and not the Foldername.
Example:
Datacenter --> TEST --> Cluster01
Group will be set to "TEST".
Datacenter --> TEST2 --> Folder: SiteA --> Cluster-Site-A-01
Group will be set to "host".
thanks,
Robert
The text was updated successfully, but these errors were encountered: