Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[V2V] Refactor ConversionHost to use AuthenticationMixin #18309
[V2V] Refactor ConversionHost to use AuthenticationMixin #18309
Changes from all commits
5bc0dc5
1b3a054
b8245e6
ad34e7e
71c8e89
62d170b
4707f39
d91e645
d9ab22a
047d2ed
4693243
1f09e07
0031bb0
11b0e6f
fd751ef
b6c1b6b
0f4b96a
0f757a6
4651e86
0c1b1f7
c68bf27
e6b238d
45d227e
340a716
d5e35e2
276ae6e
c62bc22
a98912c
1892130
a22a9c6
ac3204f
f0056cb
9c7d52c
db5c14b
7ab0a51
3ee473c
dccbb58
44d3ae5
002f7b4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@djberg96 given the issues this causes on other providers I'm going to mark this refactoring hammer/no
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I recall, this was because in public clouds we also store the inventory-refreshed keypairs from the providers in the authentications table, and those happen to also be AuthKeyPair. Querying your key_pairs from the base class thus brings back both MIQ-owned and provider-owned, which is generally not wanted.
What really needs to happen is that we need to either a) move inventory-based key-pairs into a different table or b) create a separate intermediate class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Fryguy PR added here #18633