
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Not authorized to call search on /file_metadata/plugins with {:ignore=>[".svn", "CVS", ".git"], :recurse=>true, :checksum_type=>"md5", :links=>"manage"}
err: /File[/var/lib/puppet/lib]: Could not evaluate: Error 400 on SERVER: Not authorized to call find on /file_metadata/plugins Could not retrieve file metadata for puppet://example.com/plugins: Error 400 on SERVER: Not authorized to call find on /file_metadata/plugins
이 오류의 정확한 원인과 해결 방법은 무엇입니까? 아니면 디버깅하는 방법?
답변1
마침내 이것을 알아냈는데, fileserver.conf 파일에 권한이 누락되어 있었습니다.
이 파일의 내용을 다음으로 변경합니다.
[plugins]
allow *.com
그리고 puppetmaster를 다시 시작하면 문제가 해결되었습니다.
답변2
클라이언트에서 팩터 패키지를 다운그레이드하면 문제가 해결되었습니다.
답변3
꼭두각시 에이전트 3.6을 이전 꼭두각시 2.7 서버와 함께 작동시키려고 할 때 @andoni의 대답이 맞습니다.
이것이 CentOS 7에서 수행해야 했던 작업입니다.
yum install -y puppet
rpm -e facter --nodeps
gem install facter -v 1.7.6