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

FATAL [c81f6] {general} failed to bind to endpoint 'http+tcp://[::]:8529'. Please check whether another instance is already running using this endpoint and review your endpoints configuration. #20646

Closed
trantuancnt opened this issue Feb 22, 2024 · 1 comment

Comments

@trantuancnt
Copy link

Production

  • ArangoDB Version: 3.11.7
  • Deployment Mode: Cluster
  • Deployment Strategy: Kubernetes
  • Infrastructure: own
  • Operating System: Ubuntu 22.04
  • Total RAM in your machine: 128Gb
  • Disks in use: SSD

Steps to reproduce

Create deployment with yaml:

apiVersion: "database.arangodb.com/v1"
kind: "ArangoDeployment"
metadata:
  name: "arangodb-cluster"
spec:
  mode: Cluster
  environment: Production
  agents:
    count: 3
    args:
      - --log.level=debug
    resources:
      requests:
        storage: 8Gi
    storageClassName: arangodb-storage
  dbservers:
    count: 3
    resources:
      requests:
        storage: 80Gi
    storageClassName: arangodb-storage
  coordinators:
    count: 3
  image: "arangodb/arangodb:3.11.7"

Problem:

Pod created Faild. Check log pod:
FATAL [c81f6] {general} failed to bind to endpoint 'http+tcp://[::]:8529'. Please check whether another instance is already running using this endpoint and review your endpoints configuration.

Command pod yaml:

command:
        - /usr/sbin/arangod
        - '--database.directory=/data'
        - '--log.output=+'
        - '--server.authentication=false'
        - '--server.endpoint=tcp://[::]:8529'

I tried to find a way to change tcp://[::]:8529 to tcp://0.0.0.0:8529 but couldn't fix it

apiVersion: "database.arangodb.com/v1"
kind: "ArangoDeployment"
metadata:
  name: "arangodb-cluster"
spec:
  mode: Cluster
  environment: Production
  agents:
    count: 3
    args:
      - --log.level=debug
    resources:
      requests:
        storage: 8Gi
    storageClassName: arangodb-storage
  dbservers:
    count: 3
    resources:
      requests:
        storage: 80Gi
    storageClassName: arangodb-storage
  coordinators:
    count: 3
  image: "arangodb/arangodb:3.11.7"
  args:
    - --server.endpoint tcp://0.0.0.0:8529
  sync:
    externalAccess:
      type: "NodePort"

Expected result:
I want to position configure the endpoint correctly

@trantuancnt
Copy link
Author

Close issues. Fixed in issues arangodb/kube-arangodb#1598

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

No branches or pull requests

2 participants