ERROR: Could not apply complete catalog: Found 1 dependency cycle:?

Morning everyone,

I'm installing Katello 2.1 again with foreman 1.7.2 on Centos 6.6

When running "katello-installer"

I get the following result.

 Could not apply complete catalog: Found 1 dependency cycle:
Installing            
Done                                               [100%]
[.........................................................................................]
  Success!
  * Katello is running at https://katello-test.netbulae.test
      Initial credentials are admin / ################
  * Capsule is running at https://katello-test.netbulae.test:9090
  * To install additional capsule on separate machine continue by
running:"

      capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar
"~/$CAPSULE-certs.tar"

  The full log is at /var/log/katello-installer/katello-installer.log

The result is "Success!", but there are no services started and the page
has a 404. Also no foreman-proxy account/service/config is installed.
When inspecting, I see the following error:

[DEBUG 2015-02-17 10:31:49 main] 
/Stage[main]/Foreman_proxy::Tftp/Foreman_proxy::Tftp::Sync_file[memd]/File[/var/lib/tftpboot//memd]:
Autorequiring File[/var/lib/tftpboot/]
[ INFO 2015-02-17 10:31:50 main]  Applying configuration version
'1424165477'
*[ERROR 2015-02-17 10:31:50 main]  Could not apply complete catalog:
Found 1 dependency cycle:*
[ INFO 2015-02-17 10:31:50 main] (Concat_build[puppet.conf] =>
File[/etc/puppet/puppet.conf] =>
Exec[puppet_server_config-generate_ca_cert] =>
Class[Puppet::Server::Config] => Class[Foreman_proxy::Config] =>
User[foreman-proxy] => File[/var/lib/] =>
File[/var/lib/puppet/ssl/private_keys] => Class[Puppet::Server::Config])
*[ INFO 2015-02-17 10:31:50 main] Try the '--graph' option and
opening the resulting '.dot' file in OmniGraffle or GraphViz*
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/graph/simple_graph.rb:242:in
`report_cycles_in_graph'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/graph/relationship_graph.rb:106:in `traverse'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:138:in
`evaluate_without_trigger'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:25:in
`evaluate'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:169:in `apply'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/util/log.rb:149:in `with_destination'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/transaction/report.rb:112:in
`as_logging_destination'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/modules/kafo_configure/lib/kafo/puppet/report_wrapper.rb:30:in
`send'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/modules/kafo_configure/lib/kafo/puppet/report_wrapper.rb:30:in
`method_missing'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:168:in `apply'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:120:in `apply_catalog'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:161:in `benchmark'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in `benchmark'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:119:in `apply_catalog'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:227:in `run_internal'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:134:in `run'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:in `override'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet.rb:244:in `override'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:133:in `run'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:297:in
`apply_catalog'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in `benchmark'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:119:in `apply_catalog'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:227:in `run_internal'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:134:in `run'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:in `override'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet.rb:244:in `override'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:133:in `run'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:297:in
`apply_catalog'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:231:in `main'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:in `override'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet.rb:244:in `override'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:193:in `main'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:154:in
`run_command'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in `run'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:507:in `plugin_hook'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in `run'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:488:in `exit_on_fail'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in `run'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:146:in `run'
[ INFO 2015-02-17 10:31:50 main]
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:92:in `execute'
[ INFO 2015-02-17 10:31:50 main] /usr/bin/puppet:8
[DEBUG 2015-02-17 10:31:50 main]  Storing state
[DEBUG 2015-02-17 10:31:50 main]  Stored state in 0.02 seconds
[ WARN 2015-02-17 10:31:50 main]  Finished catalog run in 1.62 seconds
[DEBUG 2015-02-17 10:31:50 main]  Using settings: adding file
resource 'rrddir': 'File[/var/lib/puppet/rrd]{:group=>"puppet",
:backup=>false, :ensure=>:directory, :owner=>"puppet",
:loglevel=>:debug, :mode=>"750", :path=>"/var/lib/puppet/rrd",
:links=>:follow}'

Met vriendelijke groet, With kind regards,

Jorick Astrego

Netbulae Virtualization Experts

··· ----------------
Tel: 053 20 30 270 	info@netbulae.eu 	Staalsteden 4-3A 	KvK 08198180
Fax: 053 20 30 271 	www.netbulae.eu 	7547 TA Enschede 	BTW NL821234584B01

> Morning everyone,
>
> I'm installing Katello 2.1 again with foreman 1.7.2 on Centos 6.6
>
> When running "katello-installer"
>
> I get the following result.
>
> Could not apply complete catalog: Found 1 dependency cycle:
> Installing
> Done [100%]
> […]
> Success!
> * Katello is running at https://katello-test.netbulae.test
> Initial credentials are admin / ################
> * Capsule is running at https://katello-test.netbulae.test:9090
> * To install additional capsule on separate machine continue by
> running:"
>
> capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar
> "~/$CAPSULE-certs.tar"
>
> The full log is at /var/log/katello-installer/katello-installer.log
>
>
> The result is "Success!", but there are no services started and the
> page has a 404. Also no foreman-proxy account/service/config is
> installed. When inspecting, I see the following error:
>
> [DEBUG 2015-02-17 10:31:49 main]
> /Stage[main]/Foreman_proxy::Tftp/Foreman_proxy::Tftp::Sync_file[memd]/File[/var/lib/tftpboot//memd]:
> Autorequiring File[/var/lib/tftpboot/]
> [ INFO 2015-02-17 10:31:50 main] Applying configuration version
> '1424165477'
> [ERROR 2015-02-17 10:31:50 main] Could not apply complete
> catalog: Found 1 dependency cycle:

> [ INFO 2015-02-17 10:31:50 main] (Concat_build[puppet.conf] =>
> File[/etc/puppet/puppet.conf] =>
> Exec[puppet_server_config-generate_ca_cert] =>
> Class[Puppet::Server::Config] => Class[Foreman_proxy::Config] =>
> User[foreman-proxy] => File[/var/lib/] =>
> File[/var/lib/puppet/ssl/private_keys] =>
> Class[Puppet::Server::Config])
> [ INFO 2015-02-17 10:31:50 main] Try the '–graph' option and
> opening the resulting '.dot' file in OmniGraffle or GraphViz

> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/graph/simple_graph.rb:242:in
> report_cycles_in_graph' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/graph/relationship_graph.rb:106:in >traverse'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:138:in
> evaluate_without_trigger' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:25:in >evaluate'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:169:in apply' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/util/log.rb:149:in >with_destination'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/transaction/report.rb:112:in
> as_logging_destination' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/modules/kafo_configure/lib/kafo/puppet/report_wrapper.rb:30:in >send'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/modules/kafo_configure/lib/kafo/puppet/report_wrapper.rb:30:in
> method_missing' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:168:inapply'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:120:in
> apply_catalog' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:161:inbenchmark'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/1.8/benchmark.rb:308:in realtime' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:inbenchmark'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:119:in
> apply_catalog' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:227:inrun_internal'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:134:in run' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:inoverride'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet.rb:244:in override' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:133:inrun'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:297:in
> apply_catalog' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:inbenchmark'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:119:in
> apply_catalog' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:227:inrun_internal'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:134:in run' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:inoverride'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet.rb:244:in override' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:133:inrun'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:297:in
> apply_catalog' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:231:inmain'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:in override' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet.rb:244:inoverride'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:193:in main' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:154:in >run_command'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in run' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:507:inplugin_hook'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in run' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:488:inexit_on_fail'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in run' > [ INFO 2015-02-17 10:31:50 main] > /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:146:inrun'
> [ INFO 2015-02-17 10:31:50 main]
> /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:92:in
> `execute'
> [ INFO 2015-02-17 10:31:50 main] /usr/bin/puppet:8
> [DEBUG 2015-02-17 10:31:50 main] Storing state
> [DEBUG 2015-02-17 10:31:50 main] Stored state in 0.02 seconds
> [ WARN 2015-02-17 10:31:50 main] Finished catalog run in 1.62 seconds
> [DEBUG 2015-02-17 10:31:50 main] Using settings: adding file
> resource 'rrddir': 'File[/var/lib/puppet/rrd]{:group=>"puppet",
> :backup=>false, :ensure=>:directory, :owner=>"puppet",
> :loglevel=>:debug, :mode=>"750", :path=>"/var/lib/puppet/rrd",
> :links=>:follow}'
>

Got it working luckily, I had to do this first and not after install:

kinit admin
mkdir -p /etc/foreman-proxy
>ipa-getkeytab -p
>>>foremanproxy/katello-test.netbulae.test@NETBULAE.TEST| -s
ipa-test.netbulae.test -k /etc/foreman-proxy/dns.keytab|
chmod 777 |/etc/foreman-proxy/dns.keytab|

The installer should return "Failed!" instead of "Success!" however. It
looks like this issue Bug #8734: Failed puppet report shown as successfull - Foreman , but
this was closed "This bug report is invalid and is due to a outdated
foreman-report script foreman.rb." The environment is freshly installed
with the latest version.

Met vriendelijke groet, With kind regards,

Jorick Astrego

Netbulae Virtualization Experts

··· On 02/17/2015 11:01 AM, Jorick Astrego wrote:
Tel: 053 20 30 270 	info@netbulae.eu 	Staalsteden 4-3A 	KvK 08198180
Fax: 053 20 30 271 	www.netbulae.eu 	7547 TA Enschede 	BTW NL821234584B01

>
> > Morning everyone,
> >
> > I'm installing Katello 2.1 again with foreman 1.7.2 on Centos 6.6
> >
> > When running "katello-installer"
> >
> > I get the following result.
> >
> > Could not apply complete catalog: Found 1 dependency cycle:
> > Installing
> > Done [100%]
> > […]
> > Success!
> > * Katello is running at https://katello-test.netbulae.test
> > Initial credentials are admin / ################
> > * Capsule is running at https://katello-test.netbulae.test:9090
> > * To install additional capsule on separate machine continue by
> > running:"
> >
> > capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar
> > "~/$CAPSULE-certs.tar"
> >
> > The full log is at /var/log/katello-installer/katello-installer.log
> >
> >
> > The result is "Success!", but there are no services started and the
> > page has a 404. Also no foreman-proxy account/service/config is
> > installed. When inspecting, I see the following error:
> >
> > [DEBUG 2015-02-17 10:31:49 main]
> > /Stage[main]/Foreman_proxy::Tftp/Foreman_proxy::Tftp::Sync_file[memd]/File[/var/lib/tftpboot//memd]:
> > Autorequiring File[/var/lib/tftpboot/]
> > [ INFO 2015-02-17 10:31:50 main] Applying configuration version
> > '1424165477'
> > [ERROR 2015-02-17 10:31:50 main] Could not apply complete
> > catalog: Found 1 dependency cycle:

> > [ INFO 2015-02-17 10:31:50 main] (Concat_build[puppet.conf] =>
> > File[/etc/puppet/puppet.conf] =>
> > Exec[puppet_server_config-generate_ca_cert] =>
> > Class[Puppet::Server::Config] => Class[Foreman_proxy::Config] =>
> > User[foreman-proxy] => File[/var/lib/] =>
> > File[/var/lib/puppet/ssl/private_keys] =>
> > Class[Puppet::Server::Config])
> > [ INFO 2015-02-17 10:31:50 main] Try the '–graph' option and
> > opening the resulting '.dot' file in OmniGraffle or GraphViz

> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/graph/simple_graph.rb:242:in
> > report_cycles_in_graph' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/graph/relationship_graph.rb:106:in > > traverse'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:138:in
> > evaluate_without_trigger' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:25:in > > evaluate'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:169:in apply' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/util/log.rb:149:in > > with_destination'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/transaction/report.rb:112:in
> > as_logging_destination' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/modules/kafo_configure/lib/kafo/puppet/report_wrapper.rb:30:in > > send'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/modules/kafo_configure/lib/kafo/puppet/report_wrapper.rb:30:in
> > method_missing' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:168:in apply'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:120:in
> > apply_catalog' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:161:in benchmark'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/1.8/benchmark.rb:308:in realtime' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in benchmark'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:119:in
> > apply_catalog' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:227:in run_internal'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:134:in run' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:in override'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet.rb:244:in override' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:133:in run'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:297:in
> > apply_catalog' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in benchmark'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:119:in
> > apply_catalog' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:227:in run_internal'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:134:in run' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:in override'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet.rb:244:in override' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:133:in run'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:297:in
> > apply_catalog' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:231:in main'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/context.rb:64:in override' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet.rb:244:in override'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:193:in main' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:154:in > > run_command'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in run' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:507:in plugin_hook'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in run' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:488:in exit_on_fail'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in run' > > [ INFO 2015-02-17 10:31:50 main] > > /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:146:in run'
> > [ INFO 2015-02-17 10:31:50 main]
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:92:in
> > `execute'
> > [ INFO 2015-02-17 10:31:50 main] /usr/bin/puppet:8
> > [DEBUG 2015-02-17 10:31:50 main] Storing state
> > [DEBUG 2015-02-17 10:31:50 main] Stored state in 0.02 seconds
> > [ WARN 2015-02-17 10:31:50 main] Finished catalog run in 1.62 seconds
> > [DEBUG 2015-02-17 10:31:50 main] Using settings: adding file
> > resource 'rrddir': 'File[/var/lib/puppet/rrd]{:group=>"puppet",
> > :backup=>false, :ensure=>:directory, :owner=>"puppet",
> > :loglevel=>:debug, :mode=>"750", :path=>"/var/lib/puppet/rrd",
> > :links=>:follow}'
> >
>
> Got it working luckily, I had to do this first and not after install:
>
> kinit admin
> mkdir -p /etc/foreman-proxy
> >ipa-getkeytab -p
> >>>foremanproxy/katello-test.netbulae.test@NETBULAE.TEST| -s
> ipa-test.netbulae.test -k /etc/foreman-proxy/dns.keytab|
> chmod 777 |/etc/foreman-proxy/dns.keytab|
>
> The installer should return "Failed!" instead of "Success!" however. It
> looks like this issue Bug #8734: Failed puppet report shown as successfull - Foreman , but
> this was closed "This bug report is invalid and is due to a outdated
> foreman-report script foreman.rb." The environment is freshly installed
> with the latest version.

Seems there could be 2 bugs. 8734 looks like it is indeed valid, and for
the second we might want to verify the keytab file actually exists.

··· On Tue, Feb 17, 2015 at 01:37:05PM +0100, Jorick Astrego wrote: > On 02/17/2015 11:01 AM, Jorick Astrego wrote:

Met vriendelijke groet, With kind regards,

Jorick Astrego

Netbulae Virtualization Experts


Tel: 053 20 30 270 info@netbulae.eu Staalsteden 4-3A KvK 08198180
Fax: 053 20 30 271 www.netbulae.eu 7547 TA Enschede BTW NL821234584B01



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.