Issue #10490 has been updated by Ken Barber.

Are you seeing issues with venet0 interfaces in Virtuozzo not having mac 
addresses and therefore Puppet not being able to work at all?

If so - Is there a way in Virtuozzo that you know of Ernesto to configure a mac 
address for these interfaces as a work around for this? I'm no Virtuozzo expert 
myself but I would hope this is the case.
----------------------------------------
Bug #10490: macaddress fact errors when no macadress can be found
https://projects.puppetlabs.com/issues/10490

Author: Stefan Schulte
Status: Accepted
Priority: Normal
Assignee: 
Category: library
Target version: 1.6.x
Keywords: 
Branch: 
Affected Facter version: 


In `lib/facter/macaddress.rb` facter runs `ifconfig -a` on Linux and returns 
the first occurrence of the following regex as the macaddress

<pre>
/(?:ether|HWaddr) (\w{1,2}:\w{1,2}:\w{1,2}:\w{1,2}:\w{1,2}:\w{1,2})/
</pre>

But facter does not handle the case where none of the printed lines actually 
match the regular expression. E.g. (taken from #10392)
<pre>
# /sbin/ifconfig -a |egrep 'ether|HWaddr'
venet0    Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
venet0:0  Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
</pre>

Actual error message
<pre>
Could not retrieve macaddress: private method split' called for nil:NilClass
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to