ceph / ceph-container

Docker files and images to run Ceph in containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

populate_kvstore error

anyUesr opened this issue · comments

Is this a bug report or feature request?

  • Bug Report

Bug Report

What happened:

when I tried to follow the README and execute Populate Key Value store, I got an error:

docker run -it --rm -e KV_TYPE=etcd -e KV_IP=127.0.0.1 -e KV_PORT=2379 --network=host quay.io/ceph/daemon:v7.0.3-stable-7.0-quincy-centos-stream8 populate_kvstore
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 127.0.0.1:2379: getsockopt: connection refused

error #0: dial tcp 127.0.0.1:2379: getsockopt: connection refused

2023-11-13 07:51:36  /opt/ceph-container/bin/entrypoint.sh: client_host already exists
2023-11-13 07:51:36  /opt/ceph-container/bin/entrypoint.sh: Adding key /osd/osd_journal_size with value 100 to KV store.
Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 127.0.0.1:2379: getsockopt: connection refused

error #0: dial tcp 127.0.0.1:2379: getsockopt: connection refused

2023-11-13 07:51:36  /opt/ceph-container/bin/entrypoint.sh: Value is already set

What you expected to happen:

I expect this run as what README said.

How to reproduce it (minimal and precise):

just run docker run -it --rm -e KV_TYPE=etcd -e KV_IP=127.0.0.1 -e KV_PORT=2379 --network=host quay.io/ceph/daemon:v7.0.3-stable-7.0-quincy-centos-stream8 populate_kvstore

Environment:

  • OS (e.g. from /etc/os-release): Debian 12.1
  • Kernel (e.g. uname -a): Linux cang-host-02 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
  • Docker version (e.g. docker version): 24.0.6
  • Ceph version (e.g. ceph -v): 7.0.3

my error, I should run etc