-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sync seemingly unable to proceed on new empty opensearch install #149
Comments
ooh - just thinking out loud - maybe it won't be able to create an index if there's no matching data yet - hence the hang - I'll see if we can seed some data to get it to continue to the roles creation etc - but it should probably handle the pre-release edge case better. |
Ah I think it is a Keycloak permissions issue. The You can test this by manually adding the Then we'll need a PR to update the base realm import over in Also noting here that lagoon-opensearch-sync currently ignores subgroups so if you would like subgroup support please open another issue :D |
I'll have a look. At least that should fix the dump-groups command I'm only going on the basis that the sync is working in test 6 with the same keycloak version, but not an empty ch3. |
Well it's not really working there either. Because it is getting an empty group list from Keycloak it has only "synced" the Global and admin tenants and deleted all the others 🙈 |
A brand new opensearch instance returns index patterns, but never progresses in the sync
2024-12-20T05:11:49.922Z DEBUG opensearch/indexpatterns.go:243 got all index patterns, returning result {"hits": 9} 2024-12-20T05:19:50.173Z DEBUG opensearch/indexpatterns.go:243 got all index patterns, returning result {"hits": 9}
all the
./lagoon-opensearch-sync dump-x
commands seem to work properly and return expected dataexcept
dump-groups
, but it appears that this is normal even on a running instanceWill try a few options, but putting this here for reference.
The text was updated successfully, but these errors were encountered: