Skip to main content

Docker Success Center

The Docker enterprise customer portal.

Docker, Inc.

ID duplicated error message when adding a node to UCP and the status is Pending

Introduction: Trying to add a node to a cluster and receiving an error along with the status of the node showing pending in the UCP UI

ID duplicated

Steps

Introduction: Most likely what has happened is the engine ids have been duplicated, prior to joining the UCP Swarm cluster. In most cases this is a consequence of cloning VMs with the engine already installed. The engine id is generated on Docker's first run and stored in /etc/docker/key.json. When creating a VM template, make sure /etc/docker/key.json is not included in the image. 

  1. To recover the existing installation, remove /etc/docker/key.json and restart docker on each node.