2 Answers

We don't what version of Puppet you're running. It is likely that either something changed on your Puppet Master after the first run and before the second one, or you are encountering a weird bug. It's going to be very hard to get to the bottom of this unless you can reproduce the issue.

Comments

Thanks, and my puppet master and agent version are: 3.8.7
Yes, I can reproduce this problem by using the new server that trying to run puppet agent -t --server server1 and it give me those warnings in first time, after that, when I run it again, it gone.
Thanks
Lingfei

My experience with this has been the same. It only happens on the first agent run for a node against the master but does not happen again after that. I filed PUP-6691 in the Puppet JIRA tracker for this issue.