Skip to content

[Bug]: INF etcdmain/etcd.go:100 > | ts=2024-12-18T05:45:25.481Z msg=failed to detect default host error=could not find default route  #38550

Open
@imaginateit

Description

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version:Version:   v2.3.3 milvus-etcd
- Deployment mode(standalone or cluster):standalone

Current Behavior

When I run the container, check the logs failed to detect default host.

Expected Behavior

detects default host

Steps To Reproduce

wget https://github.com/milvus-io/milvus/releases/download/v2.5.0-beta/milvus-standalone-docker-compose-gpu.yml -O docker-compose.yml

sudo docker compose up -d

Milvus Log

INF flags/flag.go:113 > | ts=2024-12-18T05:45:25.480Z msg=recognized and used environment variable variable-name=ETCD_AUTO_COMPACTION_MODE variable-value=revision
INF flags/flag.go:113 > | ts=2024-12-18T05:45:25.481Z msg=recognized and used environment variable variable-name=ETCD_AUTO_COMPACTION_RETENTION variable-value=1000
INF flags/flag.go:113 > | ts=2024-12-18T05:45:25.481Z msg=recognized and used environment variable variable-name=ETCD_QUOTA_BACKEND_BYTES variable-value=4294967296
INF flags/flag.go:113 > | ts=2024-12-18T05:45:25.481Z msg=recognized and used environment variable variable-name=ETCD_SNAPSHOT_COUNT variable-value=50000
INF etcdmain/etcd.go:73 > | ts=2024-12-18T05:45:25.481Z msg=Running: args=["etcd","-advertise-client-urls=http://127.0.0.1:2379","-listen-client-urls","http://0.0.0.0:2379","--data-dir","/etcd"]
INF etcdmain/etcd.go:100 > | ts=2024-12-18T05:45:25.481Z msg=failed to detect default host error=could not find default route
INF embed/etcd.go:124 > | ts=2024-12-18T05:45:25.481Z msg=configuring peer listeners listen-peer-urls=["http://localhost:2380"]
INF embed/etcd.go:132 > | ts=2024-12-18T05:45:25.482Z msg=configuring client listeners listen-client-urls=["http://0.0.0.0:2379"]
INF embed/etcd.go:306 > | ts=2024-12-18T05:45:25.482Z msg=starting an etcd server etcd-version=3.5.5 git-sha=19002cfc6 go-version=go1.16.15 go-os=linux go-arch=amd64 max-cpu-set=16 max-cpu-available=16 member-initialized=false name=default data-dir=/etcd wal-dir= wal-dir-dedicated= member-dir=/etcd/member force-new-cluster=false heartbeat-interval=100ms election-timeout=1s initial-election-tick-advance=true snapshot-count=50000 snapshot-catchup-entries=5000 initial-advertise-peer-urls=["http://localhost:2380"] listen-peer-urls=["http://localhost:2380"] advertise-client-urls=["http://127.0.0.1:2379"] listen-client-urls=["http://0.0.0.0:2379"] listen-metrics-urls=[] cors=[""] host-whitelist=[""] initial-cluster=default=http://localhost:2380 initial-cluster-state=new initial-cluster-token=etcd-cluster quota-backend-bytes=4294967296 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=revision auto-compaction-retention=1µs auto-compaction-interval=1µs discovery-url= discovery-proxy= downgrade-check-interval=5s
INF etcdserver/backend.go:81 > | ts=2024-12-18T05:45:25.483Z msg=opened backend db path=/etcd/member/snap/db took=750.35µs
INF etcdserver/raft.go:494 > | ts=2024-12-18T05:45:25.485Z msg=starting local member local-member-id=8e9e05c52164694d cluster-id=cdf818194e3a8c32
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:25.485Z logger=raft msg=8e9e05c52164694d switched to configuration voters=()
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:25.485Z logger=raft msg=8e9e05c52164694d became follower at term 0
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:25.485Z logger=raft msg=newRaft 8e9e05c52164694d [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:25.485Z logger=raft msg=8e9e05c52164694d became follower at term 1
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:25.485Z logger=raft msg=8e9e05c52164694d switched to configuration voters=(10276657743932975437)
WRN auth/store.go:1233 > | ts=2024-12-18T05:45:25.486Z msg=simple token is not cryptographically signed
INF mvcc/kvstore.go:393 > | ts=2024-12-18T05:45:25.488Z msg=kvstore restored current-rev=1
INF etcdserver/quota.go:117 > | ts=2024-12-18T05:45:25.488Z msg=enabled backend quota quota-name=v3-applier quota-size-bytes=4294967296 quota-size=4.3 GB
INF etcdserver/server.go:854 > | ts=2024-12-18T05:45:25.489Z msg=starting etcd server local-member-id=8e9e05c52164694d local-server-version=3.5.5 cluster-version=to_be_decided
INF etcdserver/server.go:738 > | ts=2024-12-18T05:45:25.489Z msg=started as single-node; fast-forwarding election ticks local-member-id=8e9e05c52164694d forward-ticks=9 forward-duration=900ms election-ticks=10 election-timeout=1s
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:25.490Z logger=raft msg=8e9e05c52164694d switched to configuration voters=(10276657743932975437)
INF membership/cluster.go:421 > | ts=2024-12-18T05:45:25.490Z msg=added member cluster-id=cdf818194e3a8c32 local-member-id=8e9e05c52164694d added-peer-id=8e9e05c52164694d added-peer-peer-urls=["http://localhost:2380"]
INF embed/etcd.go:584 > | ts=2024-12-18T05:45:25.490Z msg=serving peer traffic address=127.0.0.1:2380
INF embed/etcd.go:556 > | ts=2024-12-18T05:45:25.490Z msg=cmux::serve address=127.0.0.1:2380
INF embed/etcd.go:275 > | ts=2024-12-18T05:45:25.490Z msg=now serving peer/client/metrics local-member-id=8e9e05c52164694d initial-advertise-peer-urls=["http://localhost:2380"] listen-peer-urls=["http://localhost:2380"] advertise-client-urls=["http://127.0.0.1:2379"] listen-client-urls=["http://0.0.0.0:2379"] listen-metrics-urls=[]
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:26.086Z logger=raft msg=8e9e05c52164694d is starting a new election at term 1
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:26.086Z logger=raft msg=8e9e05c52164694d became pre-candidate at term 1
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:26.086Z logger=raft msg=8e9e05c52164694d received MsgPreVoteResp from 8e9e05c52164694d at term 1
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:26.086Z logger=raft msg=8e9e05c52164694d became candidate at term 2
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:26.086Z logger=raft msg=8e9e05c52164694d received MsgVoteResp from 8e9e05c52164694d at term 2
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:26.086Z logger=raft msg=8e9e05c52164694d became leader at term 2
INF etcdserver/zap_raft.go:77 > | ts=2024-12-18T05:45:26.086Z logger=raft msg=raft.node: 8e9e05c52164694d elected leader 8e9e05c52164694d at term 2
INF etcdserver/server.go:2054 > | ts=2024-12-18T05:45:26.086Z msg=published local member to cluster through raft local-member-id=8e9e05c52164694d local-member-attributes={Name:default ClientURLs:[http://127.0.0.1:2379]} request-path=/0/members/8e9e05c52164694d/attributes cluster-id=cdf818194e3a8c32 publish-timeout=7s
INF etcdserver/server.go:2563 > | ts=2024-12-18T05:45:26.086Z msg=setting up initial cluster version using v2 API cluster-version=3.5
INF embed/serve.go:100 > | ts=2024-12-18T05:45:26.086Z msg=ready to serve client requests
INF etcdmain/main.go:44 > | ts=2024-12-18T05:45:26.086Z msg=notifying init daemon
INF etcdmain/main.go:50 > | ts=2024-12-18T05:45:26.086Z msg=successfully notified init daemon
INF membership/cluster.go:584 > | ts=2024-12-18T05:45:26.087Z msg=set initial cluster version cluster-id=cdf818194e3a8c32 local-member-id=8e9e05c52164694d cluster-version=3.5
INF api/capability.go:75 > | ts=2024-12-18T05:45:26.087Z msg=enabled capabilities for version cluster-version=3.5
INF etcdserver/server.go:2587 > | ts=2024-12-18T05:45:26.087Z msg=cluster version is updated cluster-version=3.5
INF embed/serve.go:146 > | ts=2024-12-18T05:45:26.087Z msg=serving client traffic insecurely; this is strongly discouraged! address=[::]:2379

Anything else?

No

Metadata

Assignees

Labels

kind/bugIssues or changes related a bugstaleindicates no udpates for 30 daystriage/needs-informationIndicates an issue needs more information in order to work on it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions