Comments (5)
dapr init --runtime-version 1.14.0-rc.2
⌛ Making the jump to hyperspace...
ℹ️ Container images will be pulled from Docker Hub
ℹ️ Installing runtime version 1.14.0-rc.2
❌ Downloading binaries and setting up components...
❌ Error: statfs /Users/#/.dapr/scheduler/data/0: no such file or directory
v1.14.0-rc.2 CLI fails to initialise the scheduler - everything else seems to have been initialised.
Running on Podman
from cli.
Just an observation, but I had several CI builds for the .NET SDK fail due to the Dapr installation step failing due to the dapr_scheduler is not running
error. It seems sensitive to timing--re-run it enough and you'll eventually get a success.
from cli.
I used brew
to install rc.2 successfully! Thanks both!
dapr init --runtime-version 1.14.0-rc.2
⌛ Making the jump to hyperspace...
ℹ️ Container images will be pulled from Docker Hub
ℹ️ Installing runtime version 1.14.0-rc.2
↓ Downloading binaries and setting up components...
Dapr runtime installed to /Users/olivertomlinson/.dapr/bin, you may run the following to add it to your path if you want to run daprd directly:
export PATH=$PATH:/Users/olivertomlinson/.dapr/bin
✅ Downloading binaries and setting up components...
✅ Downloaded binaries and completed components set up.
ℹ️ daprd binary has been installed to /Users/olivertomlinson/.dapr/bin.
ℹ️ dapr_placement container is running.
ℹ️ dapr_redis container is running.
ℹ️ dapr_zipkin container is running.
ℹ️ dapr_scheduler container is running.
ℹ️ Use `docker ps` to check running containers.
✅ Success! Dapr is up and running. To get started, go here: https://aka.ms/dapr-getting-started
from cli.
I think my issue is now moving towards it being podman-specific now. Possibly an issue with the default mounts
from cli.
{"level":"warn","ts":"2024-07-10T16:11:53.454626Z","caller":"embed/config.go:679","msg":"Running http and grpc server on single port. This is not recommended for production."}
time="2024-07-10T16:11:53.453650444Z" level=info msg="Starting Dapr Scheduler Service -- version 1.14.0-rc.2 -- commit 3d30a6f3ae2191125ed9d3dcf0761077772e5de2" instance=48a60b6b1ed4 scope=dapr.scheduler type=log ver=1.14.0-rc.2
{"level":"info","ts":"2024-07-10T16:11:53.454714Z","caller":"embed/etcd.go:127","msg":"configuring peer listeners","listen-peer-urls":["http://localhost:2380"]}
time="2024-07-10T16:11:53.453786398Z" level=info msg="Log level set to: info" instance=48a60b6b1ed4 scope=dapr.scheduler type=log ver=1.14.0-rc.2
{"level":"info","ts":"2024-07-10T16:11:53.455061Z","caller":"embed/etcd.go:135","msg":"configuring client listeners","listen-client-urls":["http://localhost:2379"]}
time="2024-07-10T16:11:53.453933081Z" level=warning msg="mTLS is disabled. Skipping certificate request and tls validation" instance=48a60b6b1ed4 scope=dapr.runtime.security type=log ver=1.14.0-rc.2
{"level":"info","ts":"2024-07-10T16:11:53.455299Z","caller":"embed/etcd.go:308","msg":"starting an etcd server","etcd-version":"3.5.14","git-sha":"Not provided (use ./build instead of go build)","go-version":"go1.22.4","go-os":"linux","go-arch":"amd64","max-cpu-set":4,"max-cpu-available":4,"member-initialized":false,"name":"dapr-scheduler-server-0","data-dir":"./data-default-dapr-scheduler-server-0","wal-dir":"","wal-dir-dedicated":"","member-dir":"data-default-dapr-scheduler-server-0/member","force-new-cluster":false,"heartbeat-interval":"100ms","election-timeout":"1s","initial-election-tick-advance":true,"snapshot-count":100000,"max-wals":5,"max-snapshots":5,"snapshot-catchup-entries":5000,"initial-advertise-peer-urls":["http://localhost:2380"],"listen-peer-urls":["http://localhost:2380"],"advertise-client-urls":["http://localhost:2379"],"listen-client-urls":["http://localhost:2379"],"listen-metrics-urls":[],"cors":["*"],"host-whitelist":["*"],"initial-cluster":"dapr-scheduler-server-0=http://localhost:2380","initial-cluster-state":"new","initial-cluster-token":"etcd-cluster","quota-backend-bytes":2147483648,"max-request-bytes":1572864,"max-concurrent-streams":4294967295,"pre-vote":true,"initial-corrupt-check":false,"corrupt-check-time-interval":"0s","compact-check-time-enabled":false,"compact-check-time-interval":"1m0s","auto-compaction-mode":"periodic","auto-compaction-retention":"24h0m0s","auto-compaction-interval":"24h0m0s","discovery-url":"","discovery-proxy":"","downgrade-check-interval":"5s"}
{"level":"warn","ts":"2024-07-10T16:11:53.455399Z","caller":"fileutil/fileutil.go:53","msg":"check file permission","error":"directory \"./data-default-dapr-scheduler-server-0\" exist, but the permission is \"drwxr-xr-x\". The recommended permission is \"-rwx------\" to prevent possible unprivileged access to the data"}
{"level":"info","ts":"2024-07-10T16:11:53.455487Z","caller":"embed/etcd.go:375","msg":"closing etcd server","name":"dapr-scheduler-server-0","data-dir":"./data-default-dapr-scheduler-server-0","advertise-peer-urls":["http://localhost:2380"],"advertise-client-urls":["http://localhost:2379"]}
{"level":"info","ts":"2024-07-10T16:11:53.455561Z","caller":"embed/etcd.go:377","msg":"closed etcd server","name":"dapr-scheduler-server-0","data-dir":"./data-default-dapr-scheduler-server-0","advertise-peer-urls":["http://localhost:2380"],"advertise-client-urls":["http://localhost:2379"]}
time="2024-07-10T16:11:53.454099166Z" level=warning msg="etcd client http ports not set. This is not recommended for production." instance=48a60b6b1ed4 scope=dapr.scheduler.server type=log ver=1.14.0-rc.2
time="2024-07-10T16:11:53.454288709Z" level=info msg="Dapr Scheduler is starting..." instance=48a60b6b1ed4 scope=dapr.scheduler.server type=log ver=1.14.0-rc.2
time="2024-07-10T16:11:53.454311377Z" level=info msg="metrics server started on :9090/" instance=48a60b6b1ed4 scope=dapr.scheduler type=log ver=1.14.0-rc.2
time="2024-07-10T16:11:53.454482075Z" level=info msg="Starting etcd" instance=48a60b6b1ed4 scope=dapr.scheduler.server type=log ver=1.14.0-rc.2
time="2024-07-10T16:11:53.454438544Z" level=info msg="Healthz server is listening on [::]:8080" instance=48a60b6b1ed4 scope=dapr.scheduler type=log ver=1.14.0-rc.2
time="2024-07-10T16:11:53.45566[18](https://github.com/dapr/go-sdk/actions/runs/9877355870/job/27280015154#step:9:19)16Z" level=info msg="Dapr Scheduler listening on: :50006" instance=48a60b6b1ed4 scope=dapr.scheduler.server type=log ver=1.14.0-rc.2
time="2024-07-10T16:11:53.455747345Z" level=info msg="Scheduler GRPC server stopped" instance=48a60b6b1ed4 scope=dapr.scheduler.server type=log ver=1.14.0-rc.2
time="2024-07-10T16:11:53.455775893Z" level=info msg="Running gRPC server on port 50006" instance=48a60b6b1ed4 scope=dapr.scheduler.server type=log ver=1.14.0-rc.2
time="2024-07-10T16:11:53.456109[19](https://github.com/dapr/go-sdk/actions/runs/9877355870/job/27280015154#step:9:20)5Z" level=info msg="Healthz server is shutting down" instance=48a60b6b1ed4 scope=dapr.scheduler type=log ver=1.14.0-rc.2
time="2024-07-10T16:11:53.456193842Z" level=fatal msg="error running scheduler: cannot access data directory: open /data-default-dapr-scheduler-server-0/.touch: permission denied\nfailed to serve: grpc: the server has been stopped" instance=48a60b6b1ed4 scope=dapr.scheduler type=log ver=1.14.0-rc.2
Seems to be a container mount permissions issue
from cli.
Related Issues (20)
- dapr init on windows 11 error HOT 2
- dapr run -k -f ... doesn't seem to support valueFrom for referencing secrets
- Windows Installer (MSI) causes warnings due to missing digital signature HOT 2
- Use the actual app name in output logs instead of == APP == HOT 3
- About dapr cli installation experience HOT 2
- Update the holopin.yaml to use the cli badge HOT 9
- dapr init fails when using default docker context in Docker Desktop OSX HOT 4
- Standardize README shield badges HOT 3
- Dapr List doesn't find my running Daprd + Scheduler processes && Unable to test Dapr Init changes for Scheduler HOT 5
- Successful `dapr init` provides an aka.ms link HOT 3
- `dapr init` on Windows not successful HOT 2
- dapr init failed to move dashboard files on windows HOT 3
- Make imagePullPolicy configurable in dapr run -k HOT 2
- Unable to start sidecar when using secrets components with dapr run -f HOT 5
- Scheduler client not started by dapr cli
- dapr init for Kubernetes doesn't make scheduler HA HOT 1
- `dapr status -k` command does not show the scheduler service.
- Multi app run does not understand dependencies and ordering - leads to timing issues HOT 2
- dapr init -k --dev is in crash loop on redis init, failing redis component load HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.