Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guests/redhat: Don't error if ifdown fails [GH-2614] #2628

Merged
merged 1 commit into from
Dec 11, 2013

Conversation

makern
Copy link
Contributor

@makern makern commented Dec 10, 2013

Further fix for [GH-2614].

Removed retrying of ifdown on the basis that in most cases the interface is probably missing and it adds an unnecessary 4 seconds to the setup time for the VM. The case where the interface is present and being removed by a config change would appear to be quite rare.

If someone can come up with a good way to distinguish both error cases I can to implement retrying in a more clever way.

@mitchellh
Copy link
Contributor

LGTM. I think we just put retries all over the place to be resilient to transient failures in the case of idempotent operations. I think here would be fine. But I'm okay merging this without.

mitchellh added a commit that referenced this pull request Dec 11, 2013
guests/redhat: Don't error if ifdown fails [GH-2614]
@mitchellh mitchellh merged commit 70b662e into hashicorp:master Dec 11, 2013
@ghost ghost locked and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants