Hi,

I have been running for a few weeks puppet 3.7.5 + puppetserver 1.0.2
with the future parser enabled and stringify_facts disabled. I had to
do some minor fixing to get everything to work (mostly due to facts
type change), but it went overall quite well.

Now I have decided to take the next step : puppet 4.0.0 !

All set up, the exact same code *fails* :

Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: undefined method `key_attributes' for nil:NilClass
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Ouch! And I was telling everyone that the new parser was sooo much
better at reporting errors. So much for that.

I still haven't tracked the problem down completely, but after
disabling modules one by one, I know in which module it lies, so I've
disabled it for now.
But next I'm seeing weird things, where a user's home wasn't created
and where another was created but subsequent runs complain about his
name because it contains 'é' :

Error: Could not convert change 'comment' to string: incompatible
character encodings: UTF-8 and ASCII-8BIT
Error: Could not convert change 'comment' to string: incompatible
character encodings: UTF-8 and ASCII-8BIT
Error: /Stage[main]/Exyz::Common/Exyz::Shell_user[benja]/User[benja]:
Could not evaluate: Puppet::Util::Log requires a message

I never had that error with the same user and Puppet 2.x and 3.x
before. And a quick search doesn't come up with much relevant.

This is a RHEL7 system with the default LANG=en_US.UTF-8...

Not going so well so far, I was really hoping for less differences
between 3.7 with the future parser and 4.0. I will post followups if
anyone is interested.

Matthias

-- 
            Matthias Saou                  ██          ██
                                             ██      ██
Web: http://matthias.saou.eu/              ██████████████
Mail/XMPP:  matth...@saou.eu             ████  ██████  ████
                                       ██████████████████████
GPG: 4096R/E755CC63                    ██  ██████████████  ██
     8D91 7E2E F048 9C9C 46AF          ██  ██          ██  ██
     21A9 7A51 7B82 E755 CC63                ████  ████

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20150520125145.5f93b36f%40r2d2.marmotte.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to