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

(FACT-825) Increase prtdiag timeout for Solaris virtual fact #864

Merged

Conversation

whopper
Copy link

@whopper whopper commented Mar 4, 2015

This commit bumps up the default timeout for the virtual fact in
Solaris to 20 seconds. prtdiag on large Solaris systems can often
take upwards of 10 seconds, so 20 seconds is a reasonably safe timeout.

This fix was previously merged (d82f695) and then lost in the
Facter-2 / master branch merge.

This commit bumps up the default timeout for the virtual fact in
Solaris to 20 seconds. `prtdiag` on large Solaris systems can often
take upwards of 10 seconds, so 20 seconds is a reasonably safe timeout.

This fix was previously merged (d82f695) and then lost in the
Facter-2 / master branch merge.
@whopper
Copy link
Author

whopper commented Mar 4, 2015

@kylog retargeted!

@whopper whopper added the PL label Mar 4, 2015
@puppetcla
Copy link

CLA signed by all contributors.

@branan
Copy link

branan commented Mar 5, 2015

Can prtdiag hang in ways that it doesn't return to us? Why do we have a timeout at all?

@branan
Copy link

branan commented Mar 5, 2015

I'm fine with how we came to the new timeout number (largest seen *2), I'm just curious why it exists in the first place

@whopper
Copy link
Author

whopper commented Mar 5, 2015

@branan according to bfc16f6, it hangs in specific cases which would cause facter to hang indefinitely.

@branan
Copy link

branan commented Mar 5, 2015

@adrienthebo You will pay for your lame commit message 😛

@whopper cool, we should probably ticket to add that to cfacter too, then? Unless we've bypassed prtdiag and are just hitting system APIs, in which case it might not matter at all.

@branan
Copy link

branan commented Mar 5, 2015

I guess since we apparently do need a timeout, I'm 👍

MikaelSmith pushed a commit that referenced this pull request Mar 5, 2015
(FACT-825) Increase prtdiag timeout for Solaris virtual fact
@MikaelSmith MikaelSmith merged commit c7c9e58 into puppetlabs:2.x Mar 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants