Puppetmaster is running at port 8140
The full log is at /var/log/foreman-installer/foreman-installer.log
[ INFO 2015-07-03 16:20:22 verbose] All hooks in group post finished
[ERROR 2015-07-03 16:20:22 verbose] Repeating errors encountered during run:
[ERROR 2015-07-03 16:20:22 verbose] Could not set 'present' on ensure: 422
Unprocessable Entity at
12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
[ERROR 2015-07-03 16:20:22 verbose] Could not set 'present' on ensure: 422
Unprocessable Entity at
12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
[ERROR 2015-07-03 16:20:22 verbose]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppet-ca.kartikv.com]/ensure:
change from absent to present failed: Could not set 'present' on ensure:
422 Unprocessable Entity at
12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
[ERROR 2015-07-03 16:20:22 verbose]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppet-ca.kartikv.com]:
Failed to call refresh: ApipieBindings::MissingArgumentsError: id
[ERROR 2015-07-03 16:20:22 verbose]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppet-ca.kartikv.com]:
ApipieBindings::MissingArgumentsError: id
[
···
On Fri, Jul 03, 2015 at 02:26:26PM -0700, Kartik Vashishta wrote:
> foreman-installer --no-enable-foreman-plugin-bootdisk
> --no-enable-foreman-plugin-setup --no-enable-foreman
> --foreman-proxy-foreman-base-url=https://foreman.kartikv.com
> --foreman-proxy-tftp=false
> --foreman-proxy-oauth-consumer-key=WLWwkSQwNx4WaMjrzTrn2dFWNVKRdjn6
> --foreman-proxy-oauth-consumer-secret=t9xubMLGN4M3vCaTqASfyJPyn3aR6PCu
> --verbose --no-enable-foreman-cli
> --foreman-proxy-ssl-cert=/etc/ssl/domain/certs/puppet-ca.prm
> --foreman-proxy-ssl-key=/etc/ssl/domain/private_keys/puppet-ca.pem
>
> [ INFO 2015-07-03 16:20:22 verbose] Executing hooks in group post
> Something went wrong! Check the log for ERROR-level output
> * Foreman Proxy is running at https://puppet-ca.kartikv.com:8443
> * Puppetmaster is running at port 8140
> The full log is at /var/log/foreman-installer/foreman-installer.log
> [ INFO 2015-07-03 16:20:22 verbose] All hooks in group post finished
> [ERROR 2015-07-03 16:20:22 verbose] Repeating errors encountered during run:
> [ERROR 2015-07-03 16:20:22 verbose] Could not set 'present' on ensure: 422
> Unprocessable Entity at
> 12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
> [ERROR 2015-07-03 16:20:22 verbose] Could not set 'present' on ensure: 422
> Unprocessable Entity at
> 12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
> [ERROR 2015-07-03 16:20:22 verbose]
> /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppet-ca.kartikv.com]/ensure:
> change from absent to present failed: Could not set 'present' on ensure:
> 422 Unprocessable Entity at
> 12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
> [ERROR 2015-07-03 16:20:22 verbose]
> /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppet-ca.kartikv.com]:
> Failed to call refresh: ApipieBindings::MissingArgumentsError: id
> [ERROR 2015-07-03 16:20:22 verbose]
> /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppet-ca.kartikv.com]:
> ApipieBindings::MissingArgumentsError: id
> [
>
>
>
> [root@puppet-ca foreman-installer]# cat
> /usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
> # Register the foreman proxy
> class foreman_proxy::register {
>
> if $foreman_proxy::register_in_foreman {
> foreman_smartproxy { $foreman_proxy::registered_name:
> ensure => present,
> base_url => $foreman_proxy::foreman_base_url,
> consumer_key => $foreman_proxy::oauth_consumer_key,
> consumer_secret => $foreman_proxy::oauth_consumer_secret,
> effective_user => $foreman_proxy::oauth_effective_user,
> url => $foreman_proxy::registered_proxy_url,
> }
> }
>
> }
>
> --
> You received this message because you are subscribed to the Google Groups "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.