Bug #2714

Solaris prtdiag hangs facter

Added by Paul Nasrat over 2 years ago. Updated 8 months ago.

Status:Closed Start date:10/12/2009
Priority:Normal Due date:
Assignee:Adrien Thebo % Done:

0%

Category:interface
Target version:1.6.0
Keywords:virtual Affected Facter version:
Branch:https://github.com/adrienthebo/facter/tree/tickets/next/2714
Votes: 1

Description

There is a known issue in Solaris where prtdiag can hang – eg:

http://bugs.opensolaris.org/view_bug.do;jsessionid=5ac7c72194b825186a6359ffc17?bug_id=6709946

A trace shows that it hangs on the /usr/platform/SUNW,Sun-Blade-T6300/sbin/prtdiag command that is initiated by puppetd when it loads facter – specifically, virtual.rb. virtual.rb is one of the packaged facter files – the prtdiag command hangs while getting ‘Fan sensors’ information.

We should ensure that we timeout prtdiag on Solaris, and additionally only try and detect vmware on x86/x86_64 and not on sparc.

History

Updated by Mark Plaksin over 1 year ago

We have this problem too with some of our recently-patched Solaris 10 boxes.

Updated by James Turnbull 11 months ago

  • Category set to interface
  • Assignee changed from Paul Nasrat to Adrien Thebo

Updated by Adrien Thebo 11 months ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Branch set to https://github.com/adrienthebo/facter/tree/tickets/next/2714

Added timeout for prtdiag, corrected tests.

Updated by James Turnbull 11 months ago

  • Status changed from In Topic Branch Pending Review to Tests Insufficient

Needs to be rebased on next.

Updated by Adrien Thebo 10 months ago

  • Status changed from Tests Insufficient to In Topic Branch Pending Review

Rebased.

Updated by James Turnbull 10 months ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

commit:cf029c3d59b583afd2ce26ec335c6d5b49b166ba

Updated by James Turnbull 10 months ago

  • Target version set to 1.6.0

Updated by Michael Stahnke 8 months ago

  • Status changed from Merged - Pending Release to Closed

In release 1.6.0

Also available in: Atom PDF