-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Refactoring of azure obj store #3957
Comments
Thanks! I think no one is on it, and we saw some issues on GitHub e.g #3952 soi I think it's healthy to do! |
Updated the PR. Absolutely not tested yet, but the image is: Going to test this myself later on, but would like more feedback from others.. |
Below are the contents of the obj secret
|
@airkewld that's correct. Please check the changed config here: https://github.com/thanos-io/thanos/blob/2c435ade8d73af7ff9901a31b98a3920bfe1ef16/docs/storage.md#azure |
Perfect. I’ll give that a try. Thank you |
@wiardvanrij ran your image all night locally with no failures. |
Awesome, what config did you use? Did you increase timeouts and/or retries? |
This is what i had in the config
I'll be changing these up a bit while testing and let you know what worked best for us. |
I'm probably going to change the config part. I will make it non-breaking by not removing the This removes the use of having to fork Cortex and allows for some backwards compatibility. WDYT? |
@wiardvanrij I figured out what the issue was after testing a couple of things. These issues are not always clear from the documentation so the only way to solving them is trial and error. TLDR; The solution is to change the docs to use the correct msi resource. So I was getting a If you look at Azure docs it states the difference between the two resource IDs.
|
Another point is that it was not enough for the SP to be Contributor for the Storage Account, it also needs to be Storage Blob Data Contributor. |
@phillebaba thanks for the info. Therefore your (and others) input on the usage + documentation is 100% viable to make everything neat. Could you perhaps propose some documentation addition/change so I can include that in the PR? Thanks so much. |
I get that it can be issue developing without a "real" testing environment. I am just happy that you took the time to make the changes so the least I can do is test them 😄 Added some suggested changes which would make the docs correct. |
@wiardvanrij is there anything I can help with to move this issue forward? |
I'm waiting for an other PR as this includes something I really want to use. This makes everything a bit better code-wise :) |
Great, in that case I will hang back :) |
* Rebased feature - initial commit of azure obj store extend Signed-off-by: Wiard van Rij <wiard@outlook.com> * use custom cortex to fix config change Signed-off-by: Wiard van Rij <wiard@outlook.com> * modules acting up Signed-off-by: Wiard van Rij <wiard@outlook.com> * remove sprint Signed-off-by: Wiard van Rij <wiard@outlook.com> * adds dot Signed-off-by: Wiard van Rij <wiard@outlook.com> * removed need for changes on cortex side Signed-off-by: Wiard van Rij <wiard@outlook.com> * adds changelog Signed-off-by: Wiard van Rij <wiard@outlook.com> * Update docs/storage.md Co-authored-by: Philip Laine <philip.laine@gmail.com> Signed-off-by: Wiard van Rij <wiard@outlook.com> * Update pkg/objstore/azure/azure_test.go Co-authored-by: Philip Laine <philip.laine@gmail.com> Signed-off-by: Wiard van Rij <wiard@outlook.com> * Update pkg/objstore/azure/azure_test.go Co-authored-by: Philip Laine <philip.laine@gmail.com> Signed-off-by: Wiard van Rij <wiard@outlook.com> * update a few cleanups Signed-off-by: Wiard van Rij <wiard@outlook.com> * fixes go.mod and go.sum? Signed-off-by: Wiard van Rij <wiard@outlook.com> * fixes whitespace Signed-off-by: Wiard van Rij <wiard@outlook.com> * fixes space Signed-off-by: Wiard van Rij <wiard@outlook.com> * updates azure Go-autorest Signed-off-by: Wiard van Rij <wiard@outlook.com> * fixes readme Signed-off-by: Wiard van Rij <wiard@outlook.com> * fixes go.sum.. (╯°□°)╯︵ ┻━┻ Signed-off-by: Wiard van Rij <wiard@outlook.com> * e2e retest Signed-off-by: Wiard van Rij <wiard@outlook.com> Co-authored-by: Philip Laine <philip.laine@gmail.com>
Hello 👋 Looks like there was no activity on this issue for the last two months. |
This is actually implemented. |
Thank you so much for the hard work on this issue @wiardvanrij |
I wanted to add some extra configuration options, but then kinda hit a wall with the current testing method. As it's quite hard to extend those. So I started refactoring the azure part and I think I can squash a few issues;
#3933
#2839
#3952
Also adding;
PipelineRetry
methodReaderRetry
methodAs I'm quite far, I wanted to make this issue to check if no one else was on it. Also open for further feedback :)
If possible add, me as assignee to this issue?
The text was updated successfully, but these errors were encountered: