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

Racing condition error on cluster join with restricted.cluster.groups set on default project #1390

Closed
victoitor opened this issue Nov 17, 2024 · 1 comment · Fixed by #1497
Assignees
Milestone

Comments

@victoitor
Copy link

Required information

  • Distribution: Debian
  • Distribution version: 12
  • Kernel version: 6.1.0-26-amd64
  • Incus version: 6.7
  • Storage backend in use: btrfs

Issue description

When trying to join a cluster and the default project is restricted and has restricted.cluster.groups set to a non-default cluster group, joining fails as follows.

Error: Failed to join cluster: Failed to initialize member: Failed to initialize storage pools and networks: Failed to update local member project "default": Invalid project configuration key "restricted.cluster.groups" value: Cluster gr
oup "<non-default cluster group>" doesn't exist                                                                                                                                                                                                                

Cluster join works normally after restricted.cluster.groups is removed on default project.

@stgraber stgraber added the Bug label Nov 17, 2024
@stgraber stgraber added this to the incus-6.8 milestone Nov 17, 2024
@stgraber stgraber self-assigned this Nov 22, 2024
@stgraber
Copy link
Member

Reproduced the issue here, looking at how to reshuffle things to avoid the issue.

@hallyn hallyn closed this as completed in 1d86e78 Dec 12, 2024
MadnessASAP pushed a commit to MadnessASAP/incus that referenced this issue Dec 18, 2024
Closes lxc#1390

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
stgraber added a commit that referenced this issue Dec 19, 2024
Closes #1390

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants