Antsle Forum

Welcome to our Antsle community! This forum is to connect all Antsle users to post experiences, make user-generated content available for the entire community and more. 

Please note: This forum is about discussing one specific issue at a time. No generalizations. No judgments. Please check the Forum Rules before posting. If you have specific questions about your Antsle and expect a response from our team directly, please continue to use the appropriate channels (email: [email protected]) so every inquiry is tracked. 

Please or Register to create posts and topics.

EdgeLinux 2.0 install failure [Solved]

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

 

lancem has reacted to this post.
lancem

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!

spconlin has reacted to this post.
spconlin

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

matterantimatter has reacted to this post.
matterantimatter

Hi @spconlin

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

John S and matterantimatter have reacted to this post.
John Smatterantimatter

"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.

John S and matterantimatter have reacted to this post.
John Smatterantimatter