Giter Club home page Giter Club logo

Comments (7)

jarrpa avatar jarrpa commented on May 24, 2024

Moving the conversation form #58 here:

@obnoxxx, I think you were running into this issue. Could you weigh in on this? I'm not sure this is a bug in the vagrant setup, I think this is some sort of networking/DNS issue.

from gluster-kubernetes.

ravishivt avatar ravishivt commented on May 24, 2024

The fix in #61 does not fully fix it. I'm getting repomd.xml does not match metalink for epel errors on at least one random nodes during the vagrant provision. I can't actually get a successful provision after 4 attempts.

from gluster-kubernetes.

ravishivt avatar ravishivt commented on May 24, 2024

I managed to fix this by adding retry logic to the "install base packages" task. It isn't pretty but I suspect there are some underlying network issues with the VMs it creates. I occasionally get the docker pull tasks to fail too. Or maybe it's just my network.

- name: install base packages
  command: yum -y install {{ install_pkgs }}
  register: task_result
  until: task_result.rc == 0
  retries: 5
  delay: 1

from gluster-kubernetes.

screeley44 avatar screeley44 commented on May 24, 2024

@ravishivt - yeah, I was testing some retry logic as well on Friday but I couldn't get mine to work for some reason. Thinks it's a good idea to have some retry logic in some key spots, I will add this in a PR...thanks!

from gluster-kubernetes.

ravishivt avatar ravishivt commented on May 24, 2024

@screeley44 Sounds great. IMHO, the fixes in #61 should be reverted. It adds complexity but doesn't improve the outcome. In my tests, I had the same behavior when using or not using the additional logic in #61.

from gluster-kubernetes.

screeley44 avatar screeley44 commented on May 24, 2024

@ravishivt - agreed, will also revert those #61 changes

from gluster-kubernetes.

jarrpa avatar jarrpa commented on May 24, 2024

Just chiming in to say I like the more elegant retries solution. @screeley44, just a request to make sure the revert is its own commit. :)

from gluster-kubernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.