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

Error in megaraid_serial #29

Closed
razorsedge opened this issue May 21, 2014 · 2 comments
Closed

Error in megaraid_serial #29

razorsedge opened this issue May 21, 2014 · 2 comments

Comments

@razorsedge
Copy link
Contributor

It looks like my RAID controllers do not have serial numbers. This results in several errors output by facter during a Puppet run.

Could not retrieve megaraid_serial: undefined method `size' for nil:NilClass
Could not retrieve megaraid_serial: undefined method `size' for nil:NilClass
Could not retrieve megaraid_serial: undefined method `size' for nil:NilClass
# facter -dp megaraid_serial
Could not retrieve megaraid_serial: undefined method `size' for nil:NilClass
value for megaraid_serial is still nil
# MegaCli -Version -Ctrl -aALL -NoLog

        CTRL VERSION:
        ================

Product Name : Supermicro SMC2208
Serial No : 
Fw Package Build : 23.9.0-0015
FW Version : 3.220.05-1881

Exit Code: 0x00
jhoblitt pushed a commit that referenced this issue May 22, 2014
Per #29, the LSI controller on at least some models of SuperMicro
motherboards does not report a serial number.  The megaraid_serial fact
has not gracefully handling this case and facter was generating errors.
@jhoblitt
Copy link
Owner

This should be resolved by #30. I'll be cutting a v2.2.2 release momentarily.

@jhoblitt
Copy link
Owner

v2.2.2 is on the forge.

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

No branches or pull requests

2 participants