Skip to content
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

Instance migration related fixes #303

Merged
merged 2 commits into from
Dec 14, 2023
Merged

Instance migration related fixes #303

merged 2 commits into from
Dec 14, 2023

Conversation

stgraber
Copy link
Member

Those are a couple of issues I ran into during a live demo in a recent live stream.

The first is yet another OpenFGA revert issue, apparently I had missed those code paths in my recent fixes. The second is a trivial logic bug in the client which was making the client always take the same-server code path when dealing with a project target, even with the source and target servers were different.

This is an issue I hit during a recent live demo on a stream, basically
if anything causes a failure during instance creation the OpenFGA record
was kept around, making the retry similarly fail.

This is particularly visible during migrations as Incus will attempt
multiple instance creations in a row to try to find a working
source/destination address.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Copy link
Member

@hallyn hallyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't know what flag

@hallyn hallyn merged commit cd6c475 into lxc:main Dec 14, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants