Ceph RuntimeError: Failed to execute command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical

Ceph RuntimeError: Failed to execute command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical

Encountered an error when deploying ceph cluster with the command:

ceph-deploy new ceph-node1 ceph-node2 ceph-node3

[ceph-node][DEBUG ] Err:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-transport-https amd64 1.2.24 [ceph-node][DEBUG ] Temporary failure resolving ‘us.archive.ubuntu.com’ [ceph-node][WARNIN] E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-transport-https_1.2.24_amd64.deb Temporary failure resolving ‘us.archive.ubuntu.com’ [ceph-node][WARNIN] [ceph-node][WARNIN] E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing? [ceph-node][ERROR ] RuntimeError: command returned non-zero exit status: 100 [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get –assume-yes -q –no-install-recommends install ca-certificates apt-transport-https

to fix this run:

sudo apt-get update --fix-missing
whoami
Nikola Markovic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.