Я хочу настроить марионетку в условиях высокой доступности. Я настроил 2 Марионеток, но они не могут подписывать CA. Когда я пытаюсь проверить puppet agent --test
, он дает мне следующую ошибку:Ошибка при попытке настроить Puppet для получения высокой доступности
'Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: getaddrinfo: Name or service not known
Info: Retrieving pluginfacts
Error: /File[/home/clogeny/.puppet/var/facts.d]: Failed to generate additional resources using 'eval_generate': getaddrinfo: Name or service not known
Error: /File[/home/clogeny/.puppet/var/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://puppet/pluginfacts: getaddrinfo: Name or service not known
Wrapped exception:
getaddrinfo: Name or service not known
Info: Retrieving plugin
Error: /File[/home/clogeny/.puppet/var/lib]: Failed to generate additional resources using 'eval_generate': getaddrinfo: Name or service not known
Error: /File[/home/clogeny/.puppet/var/lib]: Could not evaluate: Could not retrieve file metadata for puppet://puppet/plugins: getaddrinfo: Name or service not known
Wrapped exception:
getaddrinfo: Name or service not known
Error: Could not retrieve catalog from remote server: getaddrinfo: Name or service not known
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: getaddrinfo: Name or service not known'
Может кто-нибудь помочь мне?
Puppet.conf:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
hiera_config=/etc/puppet/hiera.yml
catalog_format = yaml
certname=puppet
pluginsync=false
dns_alt_names=puppetmaster01,puppet.sencha.com
[master]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
manifest=$confdir/manifests/site.pp
modulepath=$confdir/environments/$environment/modules:/home/clogeny/Desktop/puppet-kitchen-example/modules
Не могли бы вы показать puppet.conf файлы ваших основных машин кукольный. – kkamilpl
'getaddrinfo: имя или услуга неизвестны' подразумевает, что мастер марионеток, который у вас есть в вашем puppet.conf, недоступен, можете ли вы редактировать его конфигурацию? –
@ kkamilpl, @ PeterSouter Моя основная машина puppet.conf: '[main] logdir =/var/log/puppet vardir =/var/lib/puppet ssldir =/var/lib/puppet/ssl rundir =/var/run/puppet factpath = $ vardir/lib/facter templatedir = $ confdir/templates hiera_config =/etc/puppet/hiera.yml catalog_format = yaml certname = puppet pluginsync = false dns_alt_names = puppetmaster01, puppet.sencha.com [master] ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY manifest = $ confdir/manifestests/site.pp modulepath = $ confdir/environment/$ environment/modules:/home/clogeny/Рабочий стол/pupp et-kitchen-example/modules' – sencha7