-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
cannot create new Virtual Machine within a Cluster #10517
Comments
Please change the topic title to something more descriptive. Also please revise your reproduction steps to include all replication steps, including the creation of the cluster. With the current steps it is not reproducible. |
Hi @kkthxbye-code |
I'm not able to reproduce the reported behavior on either v3.3.3 or v3.3.4; the virtual machine is created successfully as expected. |
Hi @jeremystretch I have now amended (and tested) the Steps to reproduce 👍 |
This is happening because you're attempting to create a VM assigned to a cluster within a site without also assigning the VM to that site, which would be invalid. We can relax the form a bit to automatically assign the site when none is selected, but I want to be clear that the validation is working as expected. |
Thank you. |
NetBox version
v3.3.3
Python version
3.9
Steps to Reproduce
Expected Behavior
A new VM "vm1" should be created and associated with the selected Cluster "cluster1".
Observed Behavior
The VM is not created and the following error appears:
(Note: there is also a missing closed parenthesis in the error message)
If I create the VM selecting a Cluster and also a Site, the operation is successful.
This is probably related with #5303
The text was updated successfully, but these errors were encountered: