Skip to content

Instantly share code, notes, and snippets.

@kplimack
Created April 19, 2017 22:27
Show Gist options
  • Save kplimack/395b0e6fdef13a2fb2c04c1ada20264f to your computer and use it in GitHub Desktop.
Save kplimack/395b0e6fdef13a2fb2c04c1ada20264f to your computer and use it in GitHub Desktop.
[root@default-centos-7 ~]# foreman-installer
NetworkManager is not running.
Execution of '/usr/bin/yum -d 0 -e 0 -y list tfm-rubygem-foreman_setup' returned 1: Error: No matching Packages to list
/usr/share/ruby/vendor_ruby/puppet/util/execution.rb:197:in `execute'
/usr/share/ruby/vendor_ruby/puppet/provider/command.rb:23:in `execute'
/usr/share/ruby/vendor_ruby/puppet/provider.rb:237:in `block in has_command'
/usr/share/ruby/vendor_ruby/puppet/provider.rb:463:in `block in create_class_and_instance_method'
/usr/share/ruby/vendor_ruby/puppet/provider/package/yum.rb:96:in `install'
/usr/share/ruby/vendor_ruby/puppet/type/package.rb:73:in `block (3 levels) in <module:Puppet>'
/usr/share/ruby/vendor_ruby/puppet/property.rb:197:in `call_valuemethod'
/usr/share/ruby/vendor_ruby/puppet/property.rb:498:in `set'
/usr/share/ruby/vendor_ruby/puppet/property.rb:581:in `sync'
/usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:191:in `sync'
/usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
/usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:81:in `perform_changes'
/usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:174:in `apply'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:187:in `eval_resource'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:117:in `block (2 levels) in evaluate'
/usr/share/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
/usr/share/ruby/benchmark.rb:296:in `realtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:117:in `block in evaluate'
/usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
/usr/share/gems/gems/kafo-1.0.5/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in `evaluate_with_trigger'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:167:in `block in apply'
/usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
/usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:166:in `apply'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:117:in `block in apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
/usr/share/ruby/benchmark.rb:296:in `realtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:116:in `apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:191:in `run'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:288:in `apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:228:in `block in main'
/usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
/usr/share/ruby/vendor_ruby/puppet.rb:234:in `override'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:190:in `main'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:151:in `run_command'
/usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `block (2 levels) in run'
/usr/share/ruby/vendor_ruby/puppet/application.rb:477:in `plugin_hook'
/usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `block in run'
/usr/share/ruby/vendor_ruby/puppet/util.rb:479:in `exit_on_fail'
/usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `run'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
/usr/bin/puppet:8:in `<main>'
/Stage[main]/Foreman::Plugin::Setup/Foreman::Plugin[setup]/Package[tfm-rubygem-foreman_setup]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list tfm-rubygem-foreman_setup' returned 1: Error: No matching Packages to list
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[default-centos-7.vagrantup.com]: Failed to call refresh: Exception Connection refused - connect(2) in get request to: https://default-centos-7.vagrantup.com/api/v2/smart_proxies?search=name=%22default-centos-7.vagrantup.com%22
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[default-centos-7.vagrantup.com]: Exception Connection refused - connect(2) in get request to: https://default-centos-7.vagrantup.com/api/v2/smart_proxies?search=name=%22default-centos-7.vagrantup.com%22
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:89:in `rescue in request'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:71:in `request'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:6:in `proxy'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in `id'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in `exists?'
/usr/share/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
/usr/share/foreman-installer/modules/foreman/lib/puppet/type/foreman_smartproxy.rb:53:in `refresh'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:101:in `process_callback'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:20:in `block in process_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:93:in `block in queued_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:92:in `each'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:92:in `queued_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:19:in `process_events'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:191:in `eval_resource'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:117:in `block (2 levels) in evaluate'
/usr/share/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
/usr/share/ruby/benchmark.rb:296:in `realtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:117:in `block in evaluate'
/usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
/usr/share/gems/gems/kafo-1.0.5/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in `evaluate_with_trigger'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:167:in `block in apply'
/usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
/usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:166:in `apply'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:117:in `block in apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
/usr/share/ruby/benchmark.rb:296:in `realtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:116:in `apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:191:in `run'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:288:in `apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:228:in `block in main'
/usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
/usr/share/ruby/vendor_ruby/puppet.rb:234:in `override'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:190:in `main'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:151:in `run_command'
/usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `block (2 levels) in run'
/usr/share/ruby/vendor_ruby/puppet/application.rb:477:in `plugin_hook'
/usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `block in run'
/usr/share/ruby/vendor_ruby/puppet/util.rb:479:in `exit_on_fail'
/usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `run'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
/usr/bin/puppet:8:in `<main>'
Wrapped exception:
Connection refused - connect(2)
/usr/share/ruby/net/http.rb:878:in `initialize'
/usr/share/ruby/net/http.rb:878:in `open'
/usr/share/ruby/net/http.rb:878:in `block in connect'
/usr/share/ruby/timeout.rb:66:in `timeout'
/usr/share/ruby/net/http.rb:877:in `connect'
/usr/share/ruby/net/http.rb:862:in `do_start'
/usr/share/ruby/net/http.rb:851:in `start'
/usr/share/ruby/net/http.rb:1373:in `request'
/usr/share/gems/gems/oauth-0.4.7/lib/oauth/consumer.rb:161:in `request'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:76:in `request'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:6:in `proxy'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in `id'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in `exists?'
/usr/share/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
/usr/share/foreman-installer/modules/foreman/lib/puppet/type/foreman_smartproxy.rb:53:in `refresh'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:101:in `process_callback'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:20:in `block in process_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:93:in `block in queued_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:92:in `each'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:92:in `queued_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:19:in `process_events'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:191:in `eval_resource'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:117:in `block (2 levels) in evaluate'
/usr/share/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
/usr/share/ruby/benchmark.rb:296:in `realtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:117:in `block in evaluate'
/usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
/usr/share/gems/gems/kafo-1.0.5/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in `evaluate_with_trigger'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:167:in `block in apply'
/usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
/usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:166:in `apply'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:117:in `block in apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
/usr/share/ruby/benchmark.rb:296:in `realtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:116:in `apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:191:in `run'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:288:in `apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:228:in `block in main'
/usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override'
/usr/share/ruby/vendor_ruby/puppet.rb:234:in `override'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:190:in `main'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:151:in `run_command'
/usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `block (2 levels) in run'
/usr/share/ruby/vendor_ruby/puppet/application.rb:477:in `plugin_hook'
/usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `block in run'
/usr/share/ruby/vendor_ruby/puppet/util.rb:479:in `exit_on_fail'
/usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `run'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
/usr/bin/puppet:8:in `<main>'
Installing Done [100%] [..................................................................................................]
Something went wrong! Check the log for ERROR-level output
* Foreman is running at https://default-centos-7.vagrantup.com
Initial credentials are admin / 9cqySLcNVBvhJTYw
* Foreman Proxy is running at https://default-centos-7.vagrantup.com:8443
* Puppetmaster is running at port 8140
The full log is at /var/log/foreman-installer/foreman.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment