1

我正在尝试根据教程使用 oo-installer 安装和配置 openshift origin。

但是我在应用木偶时遇到了一些问题。

Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Warning: Variable access via 'fqdn' is deprecated. Use '@fqdn' instead. template[inline]:1
(at /usr/lib/ruby/siteruby/1.8/puppet/parser/templatewrapper.rb:76:in `methodmissing')
Warning: Scope(Class[Openshiftorigin::Plugins::Dns::Nsupdate]): Generate the Key file with '/usr/sbin/dnssec-keygen -a HMAC-MD5 -b 512 -n USER -r /dev/urandom -K /var/named apps.example.com'
Warning: Scope(Class[Openshiftorigin::Plugins::Dns::Nsupdate]): Use the last field in the generated key file /var/named/Kapps.example.com*.key
Error: bindkey is required. at /etc/puppet/modules/openshiftorigin/manifests/plugins/dns/nsupdate.pp:30 on node master.openshift.example.com
Error: bindkey is required. at /etc/puppet/modules/openshift_origin/manifests/plugins/dns/nsupdate.pp:30 on node master.openshift.example.com

有谁能够帮我?

4

1 回答 1

0

确保通过执行 'dnssec-keygen' 命令生成密钥文件 - '/usr/sbin/dnssec-keygen -a HMAC-MD5 -b 512 -n USER -r /dev/urandom -K /var/命名为apps.example.com'

dnssec-keygen 实用程序将生成一个 SecureDNS 密钥文件,该文件位于指定的“/var/named”目录中。

获取通过执行 - 'cat /var/named/Kapps.example.com.*.key | 生成的密钥文件的内容 awk '{打印 $8}''

最后一个命令返回的密钥格式应类似于“CNk+wjszKi9da9nL/1gkMY7H+GuUng==”。此键在 bind_key puppet 参数中设置。

例如,在我生成的 puppet origin 配置文件中添加以下键 - bind_key => 'CNk+wjszKi9da9nL/1gkMY7H+GuUng==',

于 2016-03-18T20:10:06.283 回答