Hi all two questions I am trying to install the provisioning component
using the wizard in foreman. When I used the install script it provided to
setup the dhcp and dns at the save and run stage the server can't talk to
it's own proxy.
I also notice when I do the install it overwrites httpd config files I made
for gssapi lookup identity and intercept form. It also overwrites the
conf.modules.d directory and unloads mod_session and mod_auth_gssapi Is
there way to preserve those config files on upgrade / foreman-installer
scenario
currently, there is not way outside of either using the exiting
installer params or using hiera customizations
for params that we're not exposing directly
– Ivan
···
On Tue, Nov 7, 2017 at 11:01 PM, Jeff Stasko wrote:
> Hi all two questions I am trying to install the provisioning component using
> the wizard in foreman. When I used the install script it provided to setup
> the dhcp and dns at the save and run stage the server can't talk to it's own
> proxy.
>
> I also notice when I do the install it overwrites httpd config files I made
> for gssapi lookup identity and intercept form. It also overwrites the
> conf.modules.d directory and unloads mod_session and mod_auth_gssapi Is
> there way to preserve those config files on upgrade / foreman-installer
> scenario
>
>
>
>
> [ INFO 2017-11-07 11:27:05 main] Puppet has finished, bye!
> [ INFO 2017-11-07 11:27:05 main] Executing hooks in group post
> [DEBUG 2017-11-07 11:27:05 main] Hook
> /usr/share/foreman-installer/hooks/post/10-post_install_message.rb returned
> nil
> [ INFO 2017-11-07 11:27:05 main] All hooks in group post finished
> [DEBUG 2017-11-07 11:27:05 main] Exit with status code: 6 (signal was 6)
> [ERROR 2017-11-07 11:27:05 main] Errors encountered during run:
> [ERROR 2017-11-07 11:27:05 main]
> /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[valvcsfor001vm.val.vlss.local]:
> Failed to call refresh: Proxy valvcsfor001vm.val.vls
> s.local cannot be refreshed: unknown error (response 500)
> [ERROR 2017-11-07 11:27:05 main]
> /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[valvcsfor001vm.val.vlss.local]:
> Proxy valvcsfor001vm.val.vlss.local cannot be refres
> hed: unknown error (response 500)
> [ERROR 2017-11-07 11:27:05 main]
> /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:44:in
> `refresh_features!'
> [ERROR 2017-11-07 11:27:05 main]
> /usr/share/foreman-installer/modules/foreman/lib/puppet/type/foreman_smartproxy.rb:54:in
> `refresh'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:147:in
> `process_callback'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:34:in
> `block in process_events'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:119:in
> `block in queued_events'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:in
> `each'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:in
> `queued_events'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:33:in
> `process_events'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:247:in
> `eval_resource'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:163:in
> `call'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:163:in
> `block (2 levels) in evaluate'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:507:in `block in
> thinmark'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:506:in `thinmark'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:163:in
> `block in evaluate'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in
> `traverse'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:154:in
> `evaluate'
> [ERROR 2017-11-07 11:27:05 main]
> /usr/share/gems/gems/kafo-2.0.0/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in
> `evaluate_with_trigger'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:222:in
> `block in apply'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:155:in
> `with_destination'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:142:in
> `as_logging_destination'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:221:in
> `apply'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:171:in
> `block in apply_catalog'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:224:in `block in
> benchmark'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:223:in
> `benchmark'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:170:in
> `apply_catalog'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:343:in
> `run_internal'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:221:in
> `block in run'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in
> `override'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:306:in `override'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:195:in
> `run'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:350:in
> `apply_catalog'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:274:in
> `block in main'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in
> `override'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:306:in `override'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:225:in
> `main'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:170:in
> `run_command'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:358:in
> `block in run'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:662:in
> `exit_on_fail'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:358:in
> `run'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:132:in
> `run'
> [ERROR 2017-11-07 11:27:05 main]
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:72:in
> `execute'
> [ERROR 2017-11-07 11:27:05 main] /opt/puppetlabs/puppet/bin/puppet:5:in
> `'
> [DEBUG 2017-11-07 11:27:05 main] Cleaning
> /tmp/kafo_puppet20171107-55192-cgea62.conf
> [DEBUG 2017-11-07 11:27:05 main] Cleaning
> /tmp/kafo_hiera20171107-55192-9u3waa
> [DEBUG 2017-11-07 11:27:05 main] Cleaning
> /tmp/kafo_puppet20171107-55192-2n33yw.conf
> [DEBUG 2017-11-07 11:27:05 main] Cleaning /tmp/default_values.yaml
> [ INFO 2017-11-07 11:27:05 main] Installer finished in 170.122717349 seconds
>
>
> --
> 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 https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.