EdgeLinux 2.0 install failure [Solved]

Solved4 replies
spconlin
6 posts

While attempting to do a clean install on my Antsle One D, I kept getting a failure for docker during the install after logging in as root.

fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["yum-config-manager", "--add-repo", "https://download.docker.com/linux/centos/docker-ce.repo"], "delta": "0:00:00.502301", "end": "2020-06-06 12:18:41.557234", "msg": "non-zero return code", "rc": 1, "start": "2020-06-06 12:18:41.054933", "stderr": "", "stderr_lines": [], "stdout": "Loaded plugins: fastestmirror\nadding repo from: ping \ngrabbing file yum/linux/centos/docker-ce.repo to /etc/yum.repos.d/docker-ce.repo\nCould not fetch/save url https://download.docker.com/linux/centos/docker-ce.repo to file /etc/yum.repos.d/docker-ce.repo: [Errno 14] curl#6 - \"Could not resolve host: download.docker.com; Unknown error\"", "stdout_lines": ["Loaded plugins: fastestmirror", "adding repo from: https://download.docker.com/linux/centos/docker-ce.repo", "grabbing file https://download.docker.com/linux/centos/docker-ce.repo to /etc/yum.repos.d/docker-ce.repo", "Could not fetch/save url https://download.docker.com/linux/centos/docker-ce.repo to file /etc/yum.repos.d/docker-ce.repo: [Errno 14] curl#6 - \"Could not resolve host: download.docker.com; Unknown error\""]}

I was finally able to resolve this by not rebooting after the failure and then modifying the yum config.

  1. Enter "nano /etc/yum.conf"
  2. Add the line "ip_resolve=4"
  3. Save and exit the file
  4. Reboot the machine
▲ 1
Former member

Hi @spconlin,

Thanks for this nice find! I see how this could be causing issues in certain environments. We'll add this line to our yum base configuration.

Thanks again!

▲ 1
spconlin
6 posts

Now I just need to get antman to upgrade correctly. It keeps dying on +lxc.antlet.xml

▲ 1
Former memberAnswerPicked by the antsle Team

Hi @spconlin

We fixed the issue just a few minutes ago, Could you please try again?

▲ 2
spconlin
6 posts

"Ask and you shall receive." I just gave the upgrade another shot and it went right through.

Thank you! That was driving me nuts all weekend.

▲ 2

Log in to reply. New here? It takes a minute.