Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Venkat created an issue Puppet / PUP-7056 Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Issue Type: Bug Affects Versions: PUP 3.8.5 Assignee: Unassigned Components: Language Specification Created: 2017/01/02 8:42 PM Priority: Blocker Reporter: Venkat Hi, I am trying to deploy Fuel-OpenStack with OPNFV. I got the below error while deploying OPNFV. The version of Puppet is Puppet v3.8.5. Could someone let me know the resolution on this ? 2017-01-03 02:38:07 ERR /usr/bin/puppet:8:in `' 2017-01-03 02:38:07 ERR /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute' 2017-01-03 02:38:07 ERR /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run' 2017-01-03 02:38:07 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `run' 2017-01-03 02:38:07 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail' 2017-01-03 02:38:07 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block in run' 2017-01-03 02:38:07 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook' 2017-01-03 02:38:07 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run' 2017-01-03 02:38:07 ERR /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:159:in `run_command' 2017-01-03 02:38:07 ERR /u
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Henrik Lindberg commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Which OS version are you running facter on? Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-7056 Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Change By: Henrik Lindberg Priority: Blocker Normal Team: Agent & Platform Component/s: Language Specification Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Venkat commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Hi Henrik, Thanks for the response. I am using Ubuntu 14.04 Trustry + 4.7.0-2 Kernel. Thanks -Venkat Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Venkat commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Above log was detailed. The high level error is as below and stops the deployment Error Deployment has failed. All nodes are finished. Failed tasks: Task[rsync_core_puppet/7], Task[rsync_core_puppet/6] Stopping the deployment process! Ruby version used : ruby 1.9.3p484 (2013-11-22 revision 43786) [aarch64-linux] Facter version used : 1.7.5 Pl. let me know. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Henrik Lindberg commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Is that also the platform for the agent where the fact contains non UTF-8 characters? Any Windows boxes involved? What is the Locale charset on the machine this fails for? If set to something other than UTF-8, the result may not be UTF-8 compliant. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Venkat commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 I am using centOS based Fuel Jump Server with ARM64 based Fuel nodes using Ubuntu 14.04 + 4.7.0-2 Kernel. Here is the /etc/default/locale content cat /etc/default/locale Created by cloud-init v. 0.7.5 on Wed, 04 Jan 2017 09:35:22 + LANG="en_US.UTF-8" Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Henrik Lindberg commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 It is quite a long chain that leads up to using facts and getting the error in question and I think some detective work is required in order to isolate the problem in order to reproduce at our end. First the chain of things: Custom fact logic is synced with agent - check if any fact implementation (ruby files etc) have non UTF-8 chars in them Facter runs to produce facts - check if a facter run produces data that is not UTF-8 A scheduled run on an agent runs facter and sends the facts to the master The master stores the facts in a cache & puppet DB - check if stored facts are corrupted The master retrieves the facts from cache/store and uses them when compiling a catalog - this is where you see the error. I suspect that the logic that does this is not to blame (unless possibly if server is running with non UTF-8 encoding) Ping Josh Cooper - any thoughts, known issues, etc.? Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and s
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Geoff Nichols commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Current versions of Puppet have fixed a number of UTF-8 related issues. Any chance you could try to reproduce this in Puppet 4.8.1? Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Josh Cooper commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Sounds like you're running into FACT-722 , where dmi returns binary data. It should be fixed in facter 2.2.0. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Venkat commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Thanks Josh, I will upgrade the facter and try ? So, here is what I did to move further with the existing facter itself ( just for now to understand the implications) This is progressing the deployment further, but not sure of the other impacts. Any suggestions here ? def self.dmi_find_system_info(name) splitstr= Facter.value(:kernel) == 'SunOS' ? "ID SIZE TYPE" : /^Handle/ output = self.get_dmi_table() return if output.nil? name.each_pair do |key,v| v.each do |v2| v2.each_pair do |value,facterkey| output.split(splitstr).each do |line| if line =~ /# {key} / and line =~ /\n\s+# {value} (.+)\n/ result = $1.strip Facter.add(facterkey) do confine :kernel => [ :linux, :freebsd, :netbsd, :sunos, :"gnu/kfreebsd", :dragonfly ] setcode do result end end end end end end end end Add Comment
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Venkat commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Sorry, it didn't paste that correctly. All the lines preceded with numbers are supposed to be commented with #. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Henrik Lindberg assigned an issue to Venkat Puppet / PUP-7056 Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Change By: Henrik Lindberg Assignee: Venkat Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-7056) Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8
Title: Message Title Venkat commented on PUP-7056 Re: Could not retrieve facts for node-5.domain.tld: invalid byte sequence in UTF-8 Earlier linux config was using iso-8859-1 and the current config has utf-8 I changed from output.split(splitstr).each do |line| to output.force_encoding("iso-8859-1").split(splitstr).each do |line| This worked. Thanks Closing the ticket Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.