Docker Community Forums

Share and learn in the Docker community.

DTR Installation Error with older storage of docker images

Here is my command from through which I am installing DTR :

docker run -it --rm docker/dtr:2.2.4 install --dtr-external-url https://10.151.1.9:443 --dtr-storage-volume /u01/dtr_storage --ucp-node localhost --ucp-insecure-tls --ucp-url https://10.151.1.205:3443 --ucp-username crestelbuild --debug

–dtr-storage-volume /u01/dtr_storage was the storage of my DTR images when I have installed it on the same server. But due to accidental power failure my server installed with DTR has been rebooted and I am lost with DTR installation all the DTR containers have thrown error and not able to start again back. So I decided to reinstall DTR with my older storage.

Now while installation I am getting this below ERRORS:
Note that My UCP node that is https://10.151.1.205:3443 is working correctly and 10.151.1.9 is the worker node in my UCP cluster.

Logs of Installation :

INFO[0000] Beginning Docker Trusted Registry installation
ucp-password:
INFO[0003] Validating UCP cert
INFO[0003] Connecting to UCP
DEBU[0003] UCP CA: %s-----BEGIN CERTIFICATE-----
MIIBgjCCASegAwIBAgIUZMGKyDUfc5R3V90k9SMXnXT5YhwwCgYIKoZIzj0EAwIw
HTEbMBkGA1UEAxMSVUNQIENsaWVudCBSb290IENBMB4XDTE3MDUwMjA3MjUwMFoX
DTIyMDUwMTA3MjUwMFowHTEbMBkGA1UEAxMSVUNQIENsaWVudCBSb290IENBMFkw
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmJ2e/g4gv8RT9poZkQpgvg81OZP+PVZC
HNBVXSCd6bFt5TS8DTAAwxcgcVzyXFsKbksoWVz6D3nxQePhNRrc9KNFMEMwDgYD
VR0PAQH/BAQDAgEGMBIGA1UdEwEB/wQIMAYBAf8CAQIwHQYDVR0OBBYEFEjYjoCQ
B/vqLEqMfhObQfzxdXs3MAoGCCqGSM49BAMCA0kAMEYCIQCiUixYhUBeomDwQ6+d
x+ygu1ViaY2/a9wcK3eDNK4pbQIhAI0bMGkcVabCx//tjKDNVumiMnHePmUgnrR+
BpknZTLB
-----END CERTIFICATE-----

INFO[0003] UCP cert validation successful
DEBU[0003] Checking for compatible engine version
DEBU[0003] Engine version ucp/2.1.3 is compatible
INFO[0004] The UCP cluster contains the following nodes: ucp-node, localhost
DEBU[0004] replica http port = 0
DEBU[0004] replica https port = 0
DEBU[0004] public port constraints: [80 443]
FATA[0004] Failed to setup node port constraints: couldn’t inspect node m2tpikr05bfre2s65uk5k5q8y:

I am not able to find anything related to this node m2tpikr05bfre2s65uk5k5q8y

Can anyone please help me to resolve this ??

It will be really appreciated ! Thank you!

Error: No such node: m2tpikr05bfre2s65uk5k5q8y

Hi chintan,

I believe what’s happening here is you have a task which is left over on a service and swarm/ucp hasn’t properly removed the node. This is fixed in DTR 2.2.7. Can you try installing w/ docker/dtr:2.2.7 instead of 2.2.4?