influxdata / influxdata/kapacitor
Failed to link subscription on startup: canceled (docker)
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
In my docker vm I forwarded 8086:8086, 8083:8083 and 9092:9092
Following https://docs.influxdata.com/kapacitor/v1.2/introduction/getting_started/
I set up influxdb:
`docker pull influxdb`
`docker run -p 8086:8086 -p 8083:8083 -e INFLUXDB_ADMIN_ENABLED=true influxdb`
This works as expected, I can reach my influxdb's admin interface just fine. I also have the telegraf which I'm leaving out of this issue right now running and it's data can be found in influx.
I set up kapacitor:
`docker pull kapacitor`
`docker run -p 9092:9092 kapacitor`
output:
```
'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######:: '########::
##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
#####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......::: ..:::::..::
2017/05/11 08:57:26 Using configuration at: /etc/kapacitor/kapacitor.conf
[run] 2017/05/11 08:57:26 I! Kapacitor starting, version 1.2.1, branch master, commit 4628bda2e3fbcc43df694707ec3f640f213cb0dc
[run] 2017/05/11 08:57:26 I! Go version go1.7.4
[srv] 2017/05/11 08:57:26 I! Kapacitor hostname: 4b882d40cbc3
[srv] 2017/05/11 08:57:26 I! ClusterID: 589e877b-b5e3-444f-be22-984f7c118e71 ServerID: 82d6564a-ee69-4b22-8450-b867f9c965e5
[task_master:main] 2017/05/11 08:57:26 I! opened
[httpd] 2017/05/11 08:58:26 I! Closed HTTP service
[task_master:main] 2017/05/11 08:58:26 I! closed
[run] 2017/05/11 08:58:26 E! open server: open service *influxdb.Service: failed to link subscription on startup: canceled
run: open server: open service *influxdb.Service: failed to link subscription on startup: canceled
`
```
Contributor guide
Research direction
Reproduce the report using the two Docker commands and inspect /etc/kapacitor/kapacitor.conf alongside the startup log. Trace the startup path for the InfluxDB service to identify why subscription linking is canceled; done means Kapacitor starts successfully against the shown InfluxDB setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100