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 host devices to a cluster should exclude devices already assigned #1579
Comments
I'll take a stab at this, hold my beer. This should also probably be a bug report instead of feature request, especially since it does return an error. |
@RyanBreaker consider your beer held. I've updated it to a bug report. I couldn't decide and figured feature. |
@Gelob I'm not able to reproduce this. Could you please update your report with the steps needed to reproduce the error? |
I was actually about to say, I don't get any Python errors but instead just a more generic message saying it cannot be added. |
@jeremystretch I guess it comes down to how we want it to behave then, if we want to just make devices already in a cluster even show up or just disable them from being selectable. |
Fixed in 34f1a9e |
Issue type
[ ] Feature request
[ X ] Bug report
[ ] Documentation
Environment
Description
When searching for devices to add to a virtualization cluster (virtualization/clusters/1/devices/add/), devices that are already part of a cluster show up. If you attempt to add a device that is already part of an existing cluster you will get a Server Error `<type 'exceptions.TypeError'>
'NoneType' object is not iterable`
This would also help in finding devices quicker because the search only returns a limited number of results.
The text was updated successfully, but these errors were encountered: