Please provide the sidecar configuration in the values.yml file.
Maybe you have some issue with the authentication to the Azure bucket.

Thanks
Shay

On Tuesday, May 19, 2020 at 2:54:26 AM UTC+3, Zhang Zhao wrote:
>
> Hi, after I updated values.yaml file in Helm stable/prometheus-operator 
> chart to enable Thanos Sidecar, I got this error msg below for sidecar.. 
> Anyone can tell me what is about? 
>
>
> level=error ts=2020-05-18T23:46:25.152400933Z caller=main.go:186 
> err="illegal base64 data at input byte 88\nAzure API return unexpected 
> error: base64.CorruptInputError\n\
> ngithub.com/thanos-io/thanos/pkg/objstore/azure.NewBucket\n\t/go/src/github.com/thanos-io/thanos/pkg/objstore/azure/azure.go:85\ngithub.com/thanos-io/thanos/pkg/objstore/client.NewBucket\n\t/go/src/github.com/thanos-io/thanos/pkg/objstore/client/factory.go:64\nmain.runSidecar\n\t/go/src/github.com/thanos-io/thanos/cmd/thanos/sidecar.go:299\nmain.registerSidecar.func1\n\t/go/src/github.com/thanos-io/thanos/cmd/thanos/sidecar.go:89\nmain.main\n\t/go/src/github.com/thanos-io/thanos/cmd/thanos/main.go:184\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357\ncreate
>  
> <http://ngithub.com/thanos-io/thanos/pkg/objstore/azure.NewBucket%5Cn%5Ct/go/src/github.com/thanos-io/thanos/pkg/objstore/azure/azure.go:85%5Cngithub.com/thanos-io/thanos/pkg/objstore/client.NewBucket%5Cn%5Ct/go/src/github.com/thanos-io/thanos/pkg/objstore/client/factory.go:64%5Cnmain.runSidecar%5Cn%5Ct/go/src/github.com/thanos-io/thanos/cmd/thanos/sidecar.go:299%5Cnmain.registerSidecar.func1%5Cn%5Ct/go/src/github.com/thanos-io/thanos/cmd/thanos/sidecar.go:89%5Cnmain.main%5Cn%5Ct/go/src/github.com/thanos-io/thanos/cmd/thanos/main.go:184%5Cnruntime.main%5Cn%5Ct/usr/local/go/src/runtime/proc.go:203%5Cnruntime.goexit%5Cn%5Ct/usr/local/go/src/runtime/asm_amd64.s:1357%5Cncreate>
>  
> AZURE client\
> ngithub.com/thanos-io/thanos/pkg/objstore/client.NewBucket\n\t/go/src/github.com/thanos-io/thanos/pkg/objstore/client/factory.go:77\nmain.runSidecar\n\t/go/src/github.com/thanos-io/thanos/cmd/thanos/sidecar.go:299\nmain.registerSidecar.func1\n\t/go/src/github.com/thanos-io/thanos/cmd/thanos/sidecar.go:89\nmain.main\n\t/go/src/github.com/thanos-io/thanos/cmd/thanos/main.go:184\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357\npreparing
>  
> <http://ngithub.com/thanos-io/thanos/pkg/objstore/client.NewBucket%5Cn%5Ct/go/src/github.com/thanos-io/thanos/pkg/objstore/client/factory.go:77%5Cnmain.runSidecar%5Cn%5Ct/go/src/github.com/thanos-io/thanos/cmd/thanos/sidecar.go:299%5Cnmain.registerSidecar.func1%5Cn%5Ct/go/src/github.com/thanos-io/thanos/cmd/thanos/sidecar.go:89%5Cnmain.main%5Cn%5Ct/go/src/github.com/thanos-io/thanos/cmd/thanos/main.go:184%5Cnruntime.main%5Cn%5Ct/usr/local/go/src/runtime/proc.go:203%5Cnruntime.goexit%5Cn%5Ct/usr/local/go/src/runtime/asm_amd64.s:1357%5Cnpreparing>
>  
> sidecar command failed\nmain.main\n\t/go/src/
> github.com/thanos-io/thanos/cmd/thanos/main.go:186\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357
>  
> <http://github.com/thanos-io/thanos/cmd/thanos/main.go:186%5Cnruntime.main%5Cn%5Ct/usr/local/go/src/runtime/proc.go:203%5Cnruntime.goexit%5Cn%5Ct/usr/local/go/src/runtime/asm_amd64.s:1357>
> "
>

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been 
automatically archived by Mimecast Ltd, an innovator in Software as a Service 
(SaaS) for business. Providing a safer and more useful place for your human 
generated data. Specializing in; Security, archiving and compliance. To find 
out more visit the Mimecast website.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/fad36aca-0724-4fe6-b7f5-22bd1b59380c%40googlegroups.com.

Reply via email to