influxdata / influxdata/kapacitor
UDF on kapacitord startup error - permission denied
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
I'm running a docker container where kapacitord was launching fine until I created a udf. The file referenced for udf is located in same folder as the kapacitor.conf and owned by same user.
Here is error:
2017/12/06 15:20:02 Using configuration at: /etc/kapacitor/kapacitor.conf
run: open server: open service *udf.Service: failed to load process info for "mycustom": fork/exec /etc/kapacitor/mycustomUDF.py: permission denied
Kapacitor version: Kapacitor 1.3.3 (git: HEAD ce586f35e89e75a1779e2b493caba15d66295a15)
Docker running centos container with s6.
CentOs version: centos-release-7-4.1708.el7.centos.x86_64
Docker version: Docker version 17.09.0-ce, build afdb6d4
Contributor guide
Research direction
Start with the UDF service startup path and the referenced /etc/kapacitor/kapacitor.conf and /etc/kapacitor/mycustomUDF.py in the reported CentOS Docker setup. Reproduce the kapacitord launch and investigate why the UDF process cannot be executed; done means the custom UDF starts without the permission-denied error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go, python
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100