-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Adding new VM Cluster does not save when site is left blank #10436
Comments
This is sort of interesting as the Region and Site group are just filters for the Site, not actually saved - only the Site is saved. If the site is saved then the Region and Site group come from the saved site when edited. |
If it is an EC2 instance should I add them in Virtualization or add them as you'd add physical devices? I only wanted to assign a region to the VM cluster as it did not have a site. |
I really don't think there is anything to do here specifically. It should be covered by #10054. It's also the intended functionality currently, so not really a bug imo. |
Agreed. The site group and region fields exist solely to aid in the selection of a site for the cluster; there is no direct relationship from a cluster to these objects. Admittedly this can be a bit confusing, but that's why #10054 has been raised.
It's not possible to assign a cluster to a region, however the assignment of a site is optional. For e.g. an AWS cluster you can simply not assign a site. |
NetBox version
v3.3.4
Python version
3.8
Steps to Reproduce
When a new site was created and assigned to the Region and Site Group and selected when updating the Cluster, then all three values will be saved.
Expected Behavior
If all three values are required to save a cluster's Site then there should not be a successful green confirmation that the items were saved.
Observed Behavior
The Update is not saved but when clicked Netbox stated that the change was saved. Going back to the Cluster does not show the added Site or Site Group.
The text was updated successfully, but these errors were encountered: