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

Make start-docker-compose is not responding after some commands #51

Open
pepiparaskev30 opened this issue Jun 7, 2021 · 0 comments
Open

Comments

@pepiparaskev30
Copy link

I have install the Openwhisk platform with the docker-compose option in dev tools. I am trying to execute the make start-docker-compose but after the commands:
Starting openwhisk-events_user-events_1 ... done
Starting openwhisk-events_prometheus_1 ... done
Starting openwhisk-events_grafana_1 ... done

Is running forever. Ive checked the logs:

Attaching to openwhisk-events_user-events_1, openwhisk-events_prometheus_1, openwhisk-events_grafana_1
prometheus_1 | level=info ts=2021-06-07T15:24:41.777165218Z caller=main.go:244 msg="Starting Prometheus" version="(version=2.5.0, branch=HEAD, revision=67dc912ac8b24f94a1fc478f352d25179c94ab9b)"
prometheus_1 | level=info ts=2021-06-07T15:24:41.777242109Z caller=main.go:245 build_context="(go=go1.11.1, user=root@578ab108d0b9, date=20181106-11:40:44)"
prometheus_1 | level=info ts=2021-06-07T15:24:41.777264178Z caller=main.go:246 host_details="(Linux 4.15.0-142-generic #146~16.04.1-Ubuntu SMP Tue Apr 13 09:27:15 UTC 2021 x86_64 609c64c89c37 (none))"
prometheus_1 | level=info ts=2021-06-07T15:24:41.777279914Z caller=main.go:247 fd_limits="(soft=1048576, hard=1048576)"
prometheus_1 | level=info ts=2021-06-07T15:24:41.777292723Z caller=main.go:248 vm_limits="(soft=unlimited, hard=unlimited)"
prometheus_1 | level=info ts=2021-06-07T15:24:41.77805784Z caller=main.go:562 msg="Starting TSDB ..."
prometheus_1 | level=info ts=2021-06-07T15:24:41.792192168Z caller=main.go:431 msg="Stopping scrape discovery manager..."
prometheus_1 | level=info ts=2021-06-07T15:24:41.79222151Z caller=main.go:445 msg="Stopping notify discovery manager..."
prometheus_1 | level=info ts=2021-06-07T15:24:41.792245398Z caller=main.go:467 msg="Stopping scrape manager..."
prometheus_1 | level=info ts=2021-06-07T15:24:41.792253749Z caller=main.go:441 msg="Notify discovery manager stopped"
prometheus_1 | level=info ts=2021-06-07T15:24:41.792274047Z caller=main.go:427 msg="Scrape discovery manager stopped"
prometheus_1 | level=info ts=2021-06-07T15:24:41.792286609Z caller=manager.go:657 component="rule manager" msg="Stopping rule manager..."
prometheus_1 | level=info ts=2021-06-07T15:24:41.792372266Z caller=manager.go:663 component="rule manager" msg="Rule manager stopped"
prometheus_1 | level=info ts=2021-06-07T15:24:41.792409615Z caller=notifier.go:512 component=notifier msg="Stopping notification manager..."
prometheus_1 | level=info ts=2021-06-07T15:24:41.79244416Z caller=main.go:616 msg="Notifier manager stopped"
prometheus_1 | level=info ts=2021-06-07T15:24:41.86072662Z caller=web.go:399 component=web msg="Start listening for connections" address=0.0.0.0:9090
prometheus_1 | level=info ts=2021-06-07T15:24:41.861225237Z caller=main.go:461 msg="Scrape manager stopped"
prometheus_1 | level=error ts=2021-06-07T15:24:41.863128989Z caller=main.go:625 err="opening storage failed: lock DB directory: open /prometheus/lock: permission denied"
user-events_1 | Picked up JAVA_TOOL_OPTIONS: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
openwhisk-events_prometheus_1 exited with code 1
grafana_1 | GF_PATHS_DATA='/var/lib/grafana' is not writable.
grafana_1 | You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migration-from-a-previous-version-of-the-docker-container-to-5-1-or-later
user-events_1 | [2021-06-07T15:24:41.611Z] [INFO] The kamon.reporters setting is empty, no reporters have been started.
user-events_1 | [2021-06-07T15:24:42.098Z] [INFO] Slf4jLogger started
user-events_1 | [2021-06-07T15:24:42.350Z] [INFO] Starting the Kamon(SystemMetrics) module
grafana_1 | mkdir: cannot create directory '/var/lib/grafana/plugins': Permission denied
user-events_1 | [2021-06-07T15:24:43.485Z] [INFO] Revoked partitions: Set(). All partitions: Set()
user-events_1 | [2021-06-07T15:24:43.510Z] [INFO] Assigned partitions: Set(events-0). All partitions: Set(events-0)
openwhisk-events_grafana_1 exited with code 1
user-events_1 | [2021-06-07T15:24:43.688Z] [INFO] Started the http server on http://localhost:9095

Openwhisk gateway is running on 192.168.111.132 and my OS is ubuntu 16.04

Can you please tell me what I need to configure in order to run the service?
Do I need to configure the metrics in the ansible/group_vars/all ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant