[Katello 2.3] Capsule installer fails on CentOS 7 with (ApipieBindings::MissingArgumentsError: id)

[root@tftp1 tftp1.mydomain.net]# capsule-installer --parent-fqdn
"katello1.mydomain.net" --register-in-foreman "true" --foreman-oauth-key
"<key>" --foreman-oauth-secret
"vJJBxCoNAerV7ujahM5YNYtRGKuwMzeY"
–certs-tar "~/tftp1.mydomain.net-certs.tar"
–puppet "true" --puppetca
"true" --foreman-proxy-http "false"

Execution of '/bin/yum install -y tftp1.mydomain.net-puppet-client'
returned 1: Loaded plugins: fastestmirror, langpacks, package_upload,
product-id,
Nothing to do
/Stage[main]/Certs::Puppet/Cert[tftp1.mydomain.net-puppet-client]/ensure:
change from absent to present failed: Execution of '/bin/yum install -y
tftp1.mydomain.net-puppet-client' returned 1: Loaded plugins:
fastestmirror, langpacks, package_upload, product-id,
Nothing to do
Execution of '/bin/yum install -y tftp1.mydomain.net-foreman-proxy-client'
returned 1: Loaded plugins: fastestmirror, langpacks, package_upload,
product-id,
Nothing to do
/Stage[main]/Certs::Foreman_proxy/Cert[tftp1.mydomain.net-foreman-proxy-client]/ensure:
change from absent to present failed: Execution of '/bin/yum install -y
tftp1.mydomain.net-foreman-proxy-client' returned 1: Loaded plugins:
fastestmirror, langpacks, package_upload, product-id,
Nothing to do
Execution of '/bin/yum install -y tftp1.mydomain.net-foreman-proxy'
returned 1: Loaded plugins: fastestmirror, langpacks, package_upload,
product-id,
Nothing to do
/Stage[main]/Certs::Foreman_proxy/Cert[tftp1.mydomain.net-foreman-proxy]/ensure:
change from absent to present failed: Execution of '/bin/yum install -y
tftp1.mydomain.net-foreman-proxy' returned 1: Loaded plugins:
fastestmirror, langpacks, package_upload, product-id,
Nothing to do
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[tftp1.mydomain.net]:
Failed to call refresh: Proxy tftp1.mydomain.net cannot be registered
(ApipieBindings::MissingArgumentsError: id): N/A
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[tftp1.mydomain.net]:
Proxy tftp1.mydomain.net cannot be registered
(ApipieBindings::MissingArgumentsError: id): N/A
Installing Done
[100%]
[…]
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/capsule-installer/capsule-installer.log
[root@tftp1 tftp1.mydomain.net]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)

Log File

··· ----------- [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/boot/01-helpers.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/boot/10-reset_hook.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/boot/11-clear_pulp_data_hook.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/boot/12-clear_puppet_environments.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/boot/20-certs_update.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/boot/30-upgrade.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/pre/10-reset_feature.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/pre/11-clear_pulp_data_feature.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/pre/12-clear_puppet_environments_feature.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/pre/15-check_java.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/pre/16-set_umask.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/pre/20-certs_update.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/pre/30-upgrade.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/post/10-post_install.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/post/30-upgrade.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/pre_validations/10-check_capsule_pulp.rb [DEBUG 2015-12-20 12:16:42 main] Loading hook /usr/share/katello-installer/hooks/pre_validations/11-check_proxy_url.rb [ INFO 2015-12-20 12:16:42 main] Executing hooks in group boot [DEBUG 2015-12-20 12:16:42 main] Hook /usr/share/katello-installer/hooks/boot/01-helpers.rb returned nil [DEBUG 2015-12-20 12:16:42 main] Hook /usr/share/katello-installer/hooks/boot/10-reset_hook.rb returned # [DEBUG 2015-12-20 12:16:42 main] Hook /usr/share/katello-installer/hooks/boot/11-clear_pulp_data_hook.rb returned # [DEBUG 2015-12-20 12:16:42 main] Hook /usr/share/katello-installer/hooks/boot/12-clear_puppet_environments.rb returned # [DEBUG 2015-12-20 12:16:42 main] Hook /usr/share/katello-installer/hooks/boot/20-certs_update.rb returned # [DEBUG 2015-12-20 12:16:42 main] Hook /usr/share/katello-installer/hooks/boot/30-upgrade.rb returned # [ INFO 2015-12-20 12:16:42 main] All hooks in group boot finished [ INFO 2015-12-20 12:16:42 main] Executing hooks in group init [ INFO 2015-12-20 12:16:42 main] All hooks in group init finished [DEBUG 2015-12-20 12:16:42 main] Creating tmp dir within /etc/capsule-installer... [ INFO 2015-12-20 12:16:42 main] Loading default values from puppet modules... [DEBUG 2015-12-20 12:16:42 main] checking presence of /usr/share/katello-installer/modules/capsule/manifests/params.pp [DEBUG 2015-12-20 12:16:42 main] checking presence of /usr/share/katello-installer/modules/certs/manifests/params.pp [DEBUG 2015-12-20 12:16:42 main] echo '$kafo_config_file="/etc/capsule-installer/capsule-installer.yaml" $kafo_add_progress=true $temp_dir="/etc/capsule-installer/d20151220-15225-ailnp0" include capsule::params include certs::params dump_values("capsule::params::parent_fqdn","capsule::params::certs_tar","capsule::params::pulp","capsule::params::pulp_master","capsule::params::pulp_admin_password","capsule::params::pulp_oauth_effective_user","capsule::params::pulp_oauth_key","capsule::params::pulp_oauth_secret",capsule::params::foreman_proxy_port,"capsule::params::foreman_proxy_http",capsule::params::foreman_proxy_http_port,"capsule::params::puppet","capsule::params::puppetca","capsule::params::puppet_ca_proxy","capsule::params::reverse_proxy","capsule::params::reverse_proxy_port","capsule::params::tftp","capsule::params::tftp_syslinux_root",capsule::params::tftp_syslinux_files,"capsule::params::tftp_root",capsule::params::tftp_dirs,"capsule::params::tftp_servername","capsule::params::bmc","capsule::params::bmc_default_provider","capsule::params::dhcp","capsule::params::dhcp_listen_on",capsule::params::dhcp_option_domain,"capsule::params::dhcp_managed","capsule::params::dhcp_interface","capsule::params::dhcp_gateway","capsule::params::dhcp_range","capsule::params::dhcp_nameservers","capsule::params::dhcp_vendor","capsule::params::dhcp_config","capsule::params::dhcp_leases","capsule::params::dhcp_key_name","capsule::params::dhcp_key_secret","capsule::params::dns","capsule::params::dns_managed","capsule::params::dns_provider","capsule::params::dns_zone","capsule::params::dns_reverse","capsule::params::dns_interface","capsule::params::dns_server","capsule::params::dns_ttl","capsule::params::dns_tsig_keytab","capsule::params::dns_tsig_principal",capsule::params::dns_forwarders,"capsule::params::virsh_network","capsule::params::realm","capsule::params::realm_provider","capsule::params::realm_keytab","capsule::params::realm_principal","capsule::params::freeipa_remove_dns","capsule::params::register_in_foreman","capsule::params::foreman_oauth_effective_user","capsule::params::foreman_oauth_key","capsule::params::foreman_oauth_secret","capsule::params::rhsm_url","capsule::params::templates","capsule::params::qpid_router","capsule::params::qpid_router_hub_addr","capsule::params::qpid_router_hub_port","capsule::params::qpid_router_agent_addr","capsule::params::qpid_router_agent_port","capsule::params::qpid_router_broker_addr","capsule::params::qpid_router_broker_port","certs::params::log_dir","certs::params::node_fqdn","certs::params::generate","certs::params::regenerate","certs::params::regenerate_ca","certs::params::deploy","certs::params::ca_common_name","certs::params::country","certs::params::state","certs::params::city","certs::params::org","certs::params::org_unit","certs::params::expiration","certs::params::ca_expiration","certs::params::server_cert","certs::params::server_key","certs::params::server_cert_req","certs::params::server_ca_cert","certs::params::pki_dir","certs::params::ssl_build_dir","certs::params::password_file_dir","certs::params::user","certs::params::group","certs::params::default_ca_name","certs::params::server_ca_name")' > RUBYLIB=/usr/share/gems/gems/kafo-0.6.11/lib/kafo/../..//modules: puppet apply --modulepath /usr/share/katello-installer/modules:/usr/share/gems/gems/kafo-0.6.11/modules 2>&1 [DEBUG 2015-12-20 12:16:42 main] e[mNotice: Compiled catalog for tftp1.mydomain.net in environment production in 0.47 secondse[0m e[mNotice: Finished catalog run in 0.19 secondse[0m

[ INFO 2015-12-20 12:16:42 main] … finished
[ INFO 2015-12-20 12:16:42 main] Executing hooks in group pre_values
[ INFO 2015-12-20 12:16:42 main] All hooks in group pre_values finished
[ INFO 2015-12-20 12:16:42 main] Executing hooks in group pre_validations
[DEBUG 2015-12-20 12:16:42 main] Hook
/usr/share/katello-installer/hooks/pre_validations/10-check_capsule_pulp.rb
returned nil
[DEBUG 2015-12-20 12:16:42 main] Hook
/usr/share/katello-installer/hooks/pre_validations/11-check_proxy_url.rb
returned nil
[ INFO 2015-12-20 12:16:42 main] All hooks in group pre_validations finished
[ INFO 2015-12-20 12:16:42 main] Running validation checks
[ INFO 2015-12-20 12:16:42 main] Executing hooks in group pre_commit
[ INFO 2015-12-20 12:16:42 main] All hooks in group pre_commit finished
[ INFO 2015-12-20 12:16:42 main] Executing hooks in group pre
[DEBUG 2015-12-20 12:16:42 main] Hook
/usr/share/katello-installer/hooks/pre/10-reset_feature.rb returned nil
[DEBUG 2015-12-20 12:16:42 main] Hook
/usr/share/katello-installer/hooks/pre/11-clear_pulp_data_feature.rb
returned nil
[DEBUG 2015-12-20 12:16:42 main] Hook
/usr/share/katello-installer/hooks/pre/12-clear_puppet_environments_feature.rb
returned nil
[DEBUG 2015-12-20 12:16:42 main] Hook
/usr/share/katello-installer/hooks/pre/15-check_java.rb returned nil
[DEBUG 2015-12-20 12:16:42 main] Hook
/usr/share/katello-installer/hooks/pre/16-set_umask.rb returned nil
[DEBUG 2015-12-20 12:16:42 main] Hook
/usr/share/katello-installer/hooks/pre/20-certs_update.rb returned nil
[DEBUG 2015-12-20 12:16:42 main] Hook
/usr/share/katello-installer/hooks/pre/30-upgrade.rb returned nil
[ INFO 2015-12-20 12:16:42 main] All hooks in group pre finished
[DEBUG 2015-12-20 12:16:42 main] echo
’$kafo_config_file="/etc/capsule-installer/capsule-installer.yaml"
$kafo_add_progress=true include kafo_configure’ |
RUBYLIB=/usr/share/gems/gems/kafo-0.6.11/lib/kafo/…/…//modules: puppet
apply --verbose --debug --trace --color=false --show_diff
–detailed-exitcodes --modulepath
/usr/share/katello-installer/modules:/usr/share/gems/gems/kafo-0.6.11/modules

[DEBUG 2015-12-20 12:16:42 main] Runtime environment:
puppet_version=3.8.4, ruby_version=2.0.0, run_mode=user,
default_encoding=UTF-8
[DEBUG 2015-12-20 12:16:42 main] Evicting cache entry for environment
’production’
[DEBUG 2015-12-20 12:16:42 main] Caching environment ‘production’ (ttl = 0
sec)
[DEBUG 2015-12-20 12:16:42 main] Evicting cache entry for environment
’production’
[DEBUG 2015-12-20 12:16:42 main] Caching environment ‘production’ (ttl = 0
sec)
[DEBUG 2015-12-20 12:16:42 main] Loading external facts from
/var/lib/puppet/facts.d
[ INFO 2015-12-20 12:16:42 main] Loading facts
[DEBUG 2015-12-20 12:16:42 main] Loading facts from
/usr/share/katello-installer/modules/mysql/lib/facter/mysql_version.rb
[DEBUG 2015-12-20 12:16:42 main] Loading facts from
/usr/share/katello-installer/modules/mysql/lib/facter/mysql_server_id.rb
[ INFO 2015-12-20 12:16:42 main] Loading facts
[DEBUG 2015-12-20 12:16:42 main] Loading facts from
/usr/share/katello-installer/modules/pulp/lib/facter/facts.rb
[ INFO 2015-12-20 12:16:42 main] Loading facts
[DEBUG 2015-12-20 12:16:42 main] Loading facts from
/usr/share/katello-installer/modules/foreman/lib/facter/sssd.rb
[ INFO 2015-12-20 12:16:42 main] Loading facts
[DEBUG 2015-12-20 12:16:42 main] Loading facts from
/usr/share/katello-installer/modules/firewall/lib/facter/iptables_persistent_version.rb
[DEBUG 2015-12-20 12:16:42 main] Loading facts from
/usr/share/katello-installer/modules/firewall/lib/facter/iptables_version.rb
[DEBUG 2015-12-20 12:16:42 main] Loading facts from
/usr/share/katello-installer/modules/firewall/lib/facter/ip6tables_version.rb
[ INFO 2015-12-20 12:16:42 main] Loading facts
[DEBUG 2015-12-20 12:16:42 main] Loading facts from
/usr/share/katello-installer/modules/staging/lib/facter/staging_http_get.rb
[DEBUG 2015-12-20 12:16:42 main] Loading facts from
/usr/share/katello-installer/modules/staging/lib/facter/staging_windir.rb
[ INFO 2015-12-20 12:16:43 main] Loading facts
[DEBUG 2015-12-20 12:16:43 main] Loading facts from
/usr/share/katello-installer/modules/concat/lib/facter/concat_basedir.rb
[ INFO 2015-12-20 12:16:43 main] Loading facts
[DEBUG 2015-12-20 12:16:43 main] Loading facts from
/usr/share/katello-installer/modules/stdlib/lib/facter/root_home.rb
[DEBUG 2015-12-20 12:16:43 main] Loading facts from
/usr/share/katello-installer/modules/stdlib/lib/facter/puppet_vardir.rb
[DEBUG 2015-12-20 12:16:43 main] Loading facts from
/usr/share/katello-installer/modules/stdlib/lib/facter/pe_version.rb
[DEBUG 2015-12-20 12:16:43 main] Loading facts from
/usr/share/katello-installer/modules/stdlib/lib/facter/facter_dot_d.rb
[ INFO 2015-12-20 12:16:43 main] Loading facts
[DEBUG 2015-12-20 12:16:43 main] Loading facts from
/usr/share/katello-installer/modules/apt/lib/facter/apt_updates.rb
[DEBUG 2015-12-20 12:16:43 main] Loading facts from
/usr/share/katello-installer/modules/apt/lib/facter/apt_update_last_success.rb
[DEBUG 2015-12-20 12:16:45 main] Evicting cache entry for environment
’production’
[DEBUG 2015-12-20 12:16:45 main] Caching environment ‘production’ (ttl = 0
sec)
[DEBUG 2015-12-20 12:16:45 main] importing
’/usr/share/gems/gems/kafo-0.6.11/modules/kafo_configure/manifests/init.pp’
in environment production
[DEBUG 2015-12-20 12:16:45 main] Automatically imported kafo_configure
from kafo_configure into production
[DEBUG 2015-12-20 12:16:45 main] importing
’/usr/share/gems/gems/kafo-0.6.11/modules/kafo_configure/manifests/yaml_to_class.pp’
in environment production
[DEBUG 2015-12-20 12:16:45 main] Automatically imported
kafo_configure::yaml_to_class from kafo_configure/yaml_to_class into
production
[DEBUG 2015-12-20 12:16:45 main] importing
’/usr/share/katello-installer/modules/certs/manifests/init.pp’ in
environment production
[DEBUG 2015-12-20 12:16:45 main] Automatically imported certs from certs
into production
[DEBUG 2015-12-20 12:16:45 main] importing
’/usr/share/katello-installer/modules/certs/manifests/params.pp’ in
environment production
[DEBUG 2015-12-20 12:16:45 main] Automatically imported certs::params from
certs/params into production
[DEBUG 2015-12-20 12:16:45 main] importing
’/usr/share/katello-installer/modules/capsule/manifests/init.pp’ in
environment production
[DEBUG 2015-12-20 12:16:45 main] Automatically imported capsule from
capsule into production
[DEBUG 2015-12-20 12:16:45 main] importing
’/usr/share/katello-installer/modules/capsule/manifests/params.pp’ in
environment production
[DEBUG 2015-12-20 12:16:45 main] Automatically imported capsule::params
from capsule/params into production
[DEBUG 2015-12-20 12:16:45 main] Evicting cache entry for environment
’production’
[DEBUG 2015-12-20 12:16:45 main] Caching environment ‘production’ (ttl = 0
sec)
[DEBUG 2015-12-20 12:16:45 main] Evicting cache entry for environment
’production’
[DEBUG 2015-12-20 12:16:45 main] Caching environment ‘production’ (ttl = 0
sec)
[ WARN 2015-12-20 12:16:45 main] Config file /etc/puppet/hiera.yaml not
found, using Hiera defaults
[DEBUG 2015-12-20 12:16:45 main] hiera(): Hiera YAML backend starting
[DEBUG 2015-12-20 12:16:45 main] hiera(): Looking up certs::server_cert in
YAML backend
[DEBUG 2015-12-20 12:16:45 main] hiera(): Looking for data source common
[DEBUG 2015-12-20 12:16:45 main] hiera(): Cannot find datafile
/etc/puppetlabs/code/environments/production/hieradata/common.yaml, skipping
[DEBUG 2015-12-20 12:16:45 main] Evicting cache entry for environment
’production’
[DEBUG 2015-12-20 12:16:45 main] Caching environment ‘production’ (ttl = 0
sec)
[DEBUG 2015-12-20 12:16:45 main] hiera(): Looking up certs::server_key in
YAML backend
[DEBUG 2015-12-20 12:16:45 main] hiera(): Looking for data source common
[DEBUG 2015-12-20 12:16:45 main] hi