Closed tobikris closed 10 months ago
@deefdragon Does this solve your issue? @felladrin PTAL
Thanks for this PR! It looks good, but if you could add a test that would help with review. Not sure the best way of approaching that here, so feel free to update if you run into issues. Even a minimal example to reproduce would be helpful
I tried to run the existing tests, but was not successful with Podman on MacOS. Do you have any hint for me to try again?
Do you have any specific error messages? Worst case scenario, I think it's fine to use CI to validate any tests you can't get running locally
The problem starts with the config already - on my machine the IP addresses of the containers are not the ones that are expected by the tests and scripts. Changing the IP addresses does not solve the issue either as the basic assumption of the tests/scripts (all containers can be reached by the other containers and the host on the same address) is not applicable on my machine. Even running the tests in another container on the bridge is not working as the test tries to access localhost:9001 (for the admin API probably).
I will try it using the CI for now.
it looks to address the issue in the users side, tho I don't remember if I also encountered this on other resources (buckets etc.).
mind, I've not tested it directly as the setup required to do so is a bit involved.
I have added a test case that should test this recreation of a user.
Thank you all! Tonight I'll merge and release it as v1.20.0.
Folks, we'll merge it, but, unfortunately, we won't be able to release a new version until https://github.com/terraform-provider-minio/terraform-provider-minio/issues/531 is resolved.
Recreate users if they cannot be found in reality anymore
This PR implements the following changes:
Reference
Closing issues