Issue #20915 has been updated by Justin Brown.
That patch fixed the UTF-8 errors. Could you push out package updates to the YUM and APT repositories? <code>git log --oneline -n 1</code> > 65b3be4 Merge pull request #455 > 'zaphod42/issue/stable/20915-virtual-fact-causing-utf8-error' into stable <code>./install.rb</code> <pre><code>~$ facter architecture => x86_64 augeasversion => 1.0.0 bios_release_date => 01/01/2011 bios_vendor => Bochs bios_version => Bochs blockdevice_vda_size => 10485760000 blockdevice_vda_vendor => 0x1af4 blockdevices => vda domain => fandingo.org facterversion => 1.7.1 filesystems => ext2,ext3,ext4,iso9660 fqdn => puppet-test.fandingo.org hardwareisa => x86_64 hardwaremodel => x86_64 hostname => puppet-test id => root interfaces => eth0,lo ipaddress => 10.3.1.3 ipaddress_eth0 => 10.3.1.3 ipaddress_lo => 127.0.0.1 is_virtual => true kernel => Linux kernelmajversion => 3.9 kernelrelease => 3.9.4-200.fc18.x86_64 kernelversion => 3.9.4 macaddress => 52:54:00:cb:e1:9a macaddress_eth0 => 52:54:00:cb:e1:9a manufacturer => Bochs memoryfree => 888.02 MB memoryfree_mb => 888.02 memorysize => 995.67 MB memorysize_mb => 995.67 memorytotal => 995.67 MB netmask => 255.255.255.0 netmask_eth0 => 255.255.255.0 netmask_lo => 255.0.0.0 network_eth0 => 10.3.1.0 network_lo => 127.0.0.0 operatingsystem => Fedora operatingsystemmajrelease => 18 operatingsystemrelease => 18 osfamily => RedHat path => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin physicalprocessorcount => 1 processor0 => QEMU Virtual CPU version 1.2.2 processorcount => 1 productname => Bochs ps => ps -ef rubysitedir => /usr/local/share/ruby/site_ruby rubyversion => 1.9.3 selinux => true selinux_config_mode => enforcing selinux_config_policy => unknown selinux_current_mode => enforcing selinux_enforced => true selinux_mode => unknown selinux_policyversion => 28 serialnumber => Not Specified sshdsakey => AAAAB3NzaC1kc3MAAACBAJ1v1ic+IWxLdgtrnAsD2Y4SfSy3njAsk4OIGzwwn1//Btwip1eJwlqwQwjVOrgs7jRBPZb8o+saeJLCTu5XoVvS+rc+eAsJwWLaGtVAbnM/3tPifxJGTQ8sCeSKN5GNNaFwrXHo/2ystxjaWZ6dO4VZfqspIhXQQ+n4FGM+EHGNAAAAFQD2yMEhrxgznokeACrGzQEOX4+d1wAAAIA4ShjmGo/T8vuTnTmKvlQ4GwKi0fJDDblHKHD53UQvxBkuFd5YbNELdTr8wAjuveKRyr3v3iVsmjHI9KH57W0sJm6sKCXqUd2RsxscKRaSLrqNFyV+TqLKwm6t7oX1TNr8B7CDPKc4nJ+khE2k8sDT1Do60Xn8K4iov4ufmN+YNwAAAIBYKuoCV2vzl9D0Ut2HTvOcp5Pdc+ipQ1Q/GjkNbSLvYXs3o89r2MdUpJcqWfC/YyIyYZzldo2VZpfMflvd+THOTe70tww82PhTavlrqcbJIjkPwa85i9H1FL1Tau1O1q6Yw62F9++ytWxXczhWKm2lWPhURL27ZX/vj5MqgmyRkg== sshfp_dsa => SSHFP 2 1 3dce07da28305aa55593496540c6af77de14a01a SSHFP 2 2 076d43c5ec70cbe7a8d42839b0290715ecbde90682015f962879c0233d6c9d97 sshfp_rsa => SSHFP 1 1 b72511d73a38b384568c89568e9f927f3fc96f2e SSHFP 1 2 9e6d45007a6763f9fd7e6f388975e0d98225c1a781b5b59ecebc04957c281e6a sshrsakey => AAAAB3NzaC1yc2EAAAADAQABAAABAQCn/2XVbKlh/yBHEiWjY9GXSnLRoAufKbgpmc7N2nwXwqPalgwygF1BgrMktz1rWCZIOR5ac8pgAY9GGFP+xdoBjvRZnzyZZNBIV7P8el00K5Jc0fzEgjdamavbGDWRuSAJHR7wSM4DA6EVQftCIdDZ47wNtWF6KPmopPJm7QbkRE9O9QXwfONGrWqPPwiNKxMgXUp/eHyzLfwmddQk3/6uOh+hmkXLsMx6XKEzWETSABiE0c9shXLNTTmtFkPPSmuCi2ki0lJtALcZYrvR7J2uNuHkKzTTCVInOzRNRIVd6G2a3aqjQa9yhSWeFJnQAepGLUp6OpG5cbom8B/PVhMD swapfree => 0.00 MB swapfree_mb => 0.00 swapsize => 0.00 MB swapsize_mb => 0.00 timezone => CDT type => Other uniqueid => 00000000 uptime => 0:13 hours uptime_days => 0 uptime_hours => 0 uptime_seconds => 816 uuid => 078B581A-6F7C-EFB3-4581-CCBE1710AA68 virtual => kvm </code></pre> ---------------------------------------- Bug #20915: Retrieving Virtual: UTF-8 Error https://projects.puppetlabs.com/issues/20915#change-92742 * Author: Justin Brown * Status: Merged - Pending Release * Priority: Normal * Assignee: Justin Brown * Category: virtual * Target version: 1.7.2 * Keywords: * Branch: https://github.com/puppetlabs/facter/pull/455 * Affected Facter version: 1.7.0 ---------------------------------------- I'm using puppet-3.2.1-1.fc18.noarch from the Puppetlabs repository and experiencing a warning (or non-fatal error) with facter. When running `puppet agent -t`, I receive the following output <pre> [root@puppet ~]# puppet agent -t --verbose Info: Retrieving plugin Could not retrieve virtual: invalid byte sequence in UTF-8 Info: Caching catalog for puppet.fandingo.org Info: Applying configuration version '1369549744' Notice: Finished catalog run in 0.06 seconds </pre> Upon further examination, it's a problem with facter (facter-1.7.1-1.fc18.x86_64), not Puppet. When running `facter --puppet`, I get that same UTF-8 error, and then, all my facts. The full facter output is listed below. This is a vanilla Puppet install. I haven't setup any custom facts, and my site.pp is empty. There's no obviously invalid characters. I don't know hardly anything about Ruby, but perhaps it's doing something like Python2->Python3 did where all strings are now Unicode. <pre> $ facter --puppet Could not retrieve virtual: invalid byte sequence in UTF-8 architecture => x86_64 augeasversion => 1.0.0 bios_release_date => 01/01/2011 bios_vendor => Bochs bios_version => Bochs blockdevice_vda_size => 10485760000 blockdevice_vda_vendor => 0x1af4 blockdevices => vda domain => fandingo.org facterversion => 1.7.1 filesystems => ext2,ext3,ext4,iso9660 fqdn => puppet.fandingo.org hardwareisa => x86_64 hardwaremodel => x86_64 hostname => puppet id => root interfaces => eth0,lo ipaddress => 10.3.1.25 ipaddress_eth0 => 10.3.1.25 ipaddress_lo => 127.0.0.1 is_virtual => true kernel => Linux kernelmajversion => 3.9 kernelrelease => 3.9.2-200.fc18.x86_64 kernelversion => 3.9.2 macaddress => 52:54:00:c3:ad:18 macaddress_eth0 => 52:54:00:c3:ad:18 manufacturer => Bochs memoryfree => 696.09 MB memoryfree_mb => 696.09 memorysize => 995.67 MB memorysize_mb => 995.67 memorytotal => 995.67 MB operatingsystem => Fedora operatingsystemmajrelease => 18 operatingsystemrelease => 18 osfamily => RedHat path => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin physicalprocessorcount => 1 processor0 => QEMU Virtual CPU version 1.2.2 processorcount => 1 productname => Bochs ps => ps -ef puppetversion => 3.2.1 rubysitedir => /usr/local/share/ruby/site_ruby rubyversion => 1.9.3 selinux => true selinux_config_mode => permissive selinux_config_policy => unknown selinux_current_mode => permissive selinux_enforced => false selinux_mode => unknown selinux_policyversion => 28 serialnumber => Not Specified sshdsakey => AAAAB3NzaC1kc3MAAACBAONgEz3go8fXpHuNhSMnIjUTiQprJjguy+abd4V1SWKKVcp9XYnjzQY0grakVw7fmRbXlj0c0p+S1VuoZkHIJMsdMAvN1XW9y00lQooZw6CJepsnGulQbcx89/durm0CjDA2tPkEg3vlkNYQxZUJMYu/C8RUWfbbkWl3emslP0mBAAAAFQCRKhfnQcPi5qw7IRW2G5G+OCh6pwAAAIEAzUc2fOfXyRT+FDu6GRGqL2X+Z6G35FlckSJXNq8U2aHhv/Uei4qeuDFzWzoC8y3rh7vxfQmw591BwIeYTA09w0bYNE+Nynfzxzmex9oX5x1aZCIIEBYaMU8gKWKuBaWXtEiWhVu4noS5xZCUxzxZ2dT2qLagxbQ0Mv40M6q+mqcAAACBALxNYU4v9mFC9AroZ8Z8yUO9XUxtGy0b/tNquAwsjxgd871ik4ArpoMJPeFwoTPMTMQFajGiBg8WWnkxZ3S3Si84XAB3IWxPj83Ca5O1265daJWbPY7Rz7FYkrGY55IZm83wwXjFamputmJCB9DYmBjD+LwrqXIgntKJuhPoDtPs sshfp_dsa => SSHFP 2 1 c31b85747dbf7d58cf3c110eccfcde27a913ac75 SSHFP 2 2 7cbb55ebca8aeb8db50cec204522456d2e07b279788d33807d54c88e051e04c0 sshfp_rsa => SSHFP 1 1 89d75847f73602b11756c605ade1da8b133cdedc SSHFP 1 2 b712c65c6e633d766bcc5000b090cb3daa19085dfee63c1d09b8ee66650f921d sshrsakey => AAAAB3NzaC1yc2EAAAADAQABAAABAQCdqtE8vrfmdai4f/Hen/Bc4MaPvhB2+ZL+iSepjxPctobuSh47UbSSc6oCatXPHnOd4gpriDly6QFIBziv9II9vLvdqPeNKdorqhTGtjCfvjFk2/kqcvLsyWmWezzIFPheWyPpJ4D8obH6Pt7k45o3nzF3FaGG8xk+a4hfJJ9okiHAGSjBJnV0hLf4fxA0vlSUf0PdtFt9HvR19bKgDAmStCWhY9V/NtnIGXzWQOxuZBt0LmwCjyf7hs2XTpG4JcXr/1Oz8CexebIsLQwPjucRdDNQET2y5KAH/cMJASPGo4AwUJckOYHEy3k/mleyNzu6+kxEMOBLMqce0wBWkOFv swapfree => 0.00 MB swapfree_mb => 0.00 swapsize => 0.00 MB swapsize_mb => 0.00 timezone => CDT type => Other uniqueid => 030a1901 uptime => 0:37 hours uptime_days => 0 uptime_hours => 0 uptime_seconds => 2273 uuid => 411AC636-E010-8779-EE39-24C51F2500B2 virtual => kvm </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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
