Issue #20915 has been updated by Matthaus Owens.

Status changed from Merged - Pending Release to Closed

----------------------------------------
Bug #20915: Retrieving Virtual: UTF-8 Error
https://projects.puppetlabs.com/issues/20915#change-93897

* Author: Justin Brown
* Status: Closed
* 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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to