-
Notifications
You must be signed in to change notification settings - Fork 240
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
fix: disk id enumeration overwrite #254
Conversation
4edf21c
to
77f6417
Compare
was not that easy as the API will return the order randomly of the disks. so need to figure out a better solution. |
77f6417
to
4a38b2f
Compare
need to search for disks in a predictable order |
rewrite some logic of disks handling in API is critical, actually is broken with more than a couple of disks |
4a38b2f
to
f893580
Compare
yes, I agree! but this fixes it at least and makes it predictable. but it might break for people upgrading that relay of a certain order. So what do use say? a big disclaimer somewhere? I think people will hit this mostly from the tf-provider? |
Fixing automatons will be up to user, priority is to fix it ;) |
some issues still with this, don't know if this code or something with the tf-provider? so need to think about it over the weekend I guess. Feel free to think about it as well. 😄 |
My point of view on this topic is to build a strong code base in the api to handle all disks use cases and the fix the provider side with changes, also breaking changes, we will handle that. On API side we are open to any change unless they are stable enough |
sorry to interject, but I've actually been working on a reimplementation of the qemu disks in #187 I can look into making it mergeable this weekend or sometime next week. |
hey @Tinyblargon glad to hear about that, I'll be more than happy to test and debug the code |
That would be awesome @Tinyblargon! |
moving |
hey @lsjostro still needed now with big merge? |
nope. :) I will close this one! cheers! |
this fixes a regression where disk ids get overwritten when you for example have a
ide0
andscsi0
disk device.