Skip to content
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

Permission denied on mkdir /tmp #3702

Closed
itsif opened this issue Jun 4, 2021 · 3 comments
Closed

Permission denied on mkdir /tmp #3702

itsif opened this issue Jun 4, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@itsif
Copy link

itsif commented Jun 4, 2021

Steps to reproduce
docker run --privileged -p 7276:7276 -p 8888:8888 -p 9943:9943 -p 55679:55679 -p 55680:55680 -p 9411:9411 -v $(pwd)/config.yaml:/etc/otel-contrib-collector/config.yaml --name logzio-collector otel/opentelemetry-collector-contrib:latest --config /etc/otel-contrib-collector/config.yaml

2021-06-04T09:29:49.778Z info service/application.go:277 Starting otelcontribcol... {"Version": "v0.27.0", "NumCPU": 4}
2021-06-04T09:29:49.778Z info service/application.go:185 Setting up own telemetry...
2021-06-04T09:29:49.780Z info service/telemetry.go:98 Serving Prometheus metrics {"address": ":8888", "level": 0, "service.instance.id": "8b7093cf-f4ef-4993-b139-fb5fabb18ebf"}
2021-06-04T09:29:49.780Z info service/application.go:220 Loading configuration...
2021-06-04T09:29:49.784Z info service/application.go:236 Applying configuration...
Error: cannot build pipelines: cannot build builtExporters: error creating logzio exporter: mkdir /tmp: permission denied
2021/06/04 09:29:49 application run finished with error: cannot build pipelines: cannot build builtExporters: error creating logzio exporter: mkdir /tmp: permission denied

Version: latest

receivers:
opencensus:
zipkin:
endpoint: :9411
jaeger:
protocols:
thrift_http:

exporters:
logzio:
account_token: "XXX"

processors:
batch:

extensions:
pprof:
endpoint: :1777
zpages:
endpoint: :55679
health_check:

service:
extensions: [health_check, pprof, zpages]
pipelines:
traces:
receivers: [opencensus, jaeger, zipkin]
processors: [batch]
exporters: [logzio]

Environment
OS: (mac os)

@itsif itsif added the bug Something isn't working label Jun 4, 2021
@yotamloe
Copy link
Contributor

yotamloe commented Jun 8, 2021

Hey, @itsif we at logz.io are aware of this issue and working rapidly to solve it. In the meantime, you can use any other image with version <= 0.23. We are still investigating what is the root cause, the assumption is that it caused by changes in this PR.

bogdandrutu pushed a commit that referenced this issue Jun 21, 2021
* Bump github.com/logzio/jaeger-logzio/store

* Bump aeger-logzio -> v1.0.2 for windows test

* go mod tidy
tigrannajaryan pushed a commit that referenced this issue Jul 30, 2021
Logz.io [exporter](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/logzioexporter) upgrade 🚀
Update versions of `jaeger-logzio` -> [1.0.3](https://github.com/logzio/jaeger-logzio), and `logzio-go` -> [1.0.2](https://github.com/logzio/logzio-go) 

**Link to tracking Issue:**
#3736 and #3702

**Testing:**
No tests added
From logzioexporter directory:
`go test -v -covermode=atomic -race`
output:
```
PASS
coverage: 96.6% of statements
```
@github-actions github-actions bot added the Stale label Aug 12, 2021
@bogdandrutu bogdandrutu removed the Stale label Aug 16, 2021
alexperez52 referenced this issue in open-o11y/opentelemetry-collector-contrib Aug 18, 2021
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@Doron-Bargo
Copy link
Contributor

Hi @itsif
Do you still have this issue with our latest release?

@jkowall
Copy link
Contributor

jkowall commented May 27, 2022

Please close this out, we have fixed it a long time ago :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants