-
-
Notifications
You must be signed in to change notification settings - Fork 114
Description
When using Grafana Mimir with Swift (which uses an old version of this library), we encountered a problem with the /info endpoint.
At https://github.com/grafana/mimir/blob/mimir-2.11.0/vendor/github.com/ncw/swift/swift.go#L637 we see it always goes up 2 directories compared to the storageUrl.
In our case, the storageUrl is https://s3.waw3-1.cloudferro.com/swift/v1, so the /info endpoint becomes https://s3.waw3-1.cloudferro.com/info. This doesn't work for us as the /info endpoint is located at https://s3.waw3-1.cloudferro.com/swift/info.
I don't know enough about Swift to know if we have a Swift installation (not managed by us) with an unconventional /info endpoint?
A regular swift info (with the python client) seems to show the correct info, so that somehow finds the correct URL.