Foreman installation fails

Hello Team,

Everytime i perform installation it fails with below error…

/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foremanprodpoc.testlab.local]:
Could not evaluate: Exception 502 "Proxy Error ( Try the request again. )"
in get request to:
https://foremanprodpoc.testlab.local/api/v2/smart_proxies?search=name="foremanprodpoc.testlab.local"
/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:inrequest'
/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:inid'
/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:inretrieve'
/usr/share/ruby/vendor_ruby/puppet/type.rb:1048:in retrieve' /usr/share/ruby/vendor_ruby/puppet/type.rb:1076:inretrieve_resource'
/usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:236:in
from_resource' /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:19:inevaluate'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:204:in apply' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:217:ineval_resource'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in call' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:inblock (2 levels)
in evaluate'
/usr/share/ruby/vendor_ruby/puppet/util.rb:335:in block in thinmark' /usr/share/ruby/benchmark.rb:296:inrealtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:334:in thinmark' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:inblock in evaluate'
/usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in
traverse' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:inevaluate'
/usr/share/gems/gems/kafo-2.0.0/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in
evaluate_with_trigger' /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:169:inblock 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:inas_logging_destination'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in apply' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:120:inblock in
apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/util.rb:161:in block in benchmark' /usr/share/ruby/benchmark.rb:296:inrealtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:160:in benchmark' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:inapply_catalog'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:227:in run_internal' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:inblock in run'
/usr/share/ruby/vendor_ruby/puppet/context.rb:64:in override' /usr/share/ruby/vendor_ruby/puppet.rb:246:inoverride'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:in run' /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:302:inapply_catalog'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:236:in block in main' /usr/share/ruby/vendor_ruby/puppet/context.rb:64:inoverride'
/usr/share/ruby/vendor_ruby/puppet.rb:246:in override' /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:inmain'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:in run_command' /usr/share/ruby/vendor_ruby/puppet/application.rb:381:inblock (2 levels)
in run'
/usr/share/ruby/vendor_ruby/puppet/application.rb:507:in plugin_hook' /usr/share/ruby/vendor_ruby/puppet/application.rb:381:inblock in run'
/usr/share/ruby/vendor_ruby/puppet/util.rb:496:in exit_on_fail' /usr/share/ruby/vendor_ruby/puppet/application.rb:381:inrun'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in run' /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:inexecute'
/usr/bin/puppet:8:in <main>' Wrapped exception: 502 "Proxy Error ( Try the request again. )" /usr/share/ruby/net/http/response.rb:119:inerror!'
/usr/share/ruby/net/http/response.rb:128:in value' /usr/share/ruby/net/http.rb:913:inconnect'
/usr/share/ruby/net/http.rb:862:in do_start' /usr/share/ruby/net/http.rb:851:instart'
/usr/share/ruby/net/http.rb:1373:in request' /usr/share/gems/gems/oauth-0.5.1/lib/oauth/consumer.rb:161:inrequest'
/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:inproxy'
/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:inexists?'
/usr/share/ruby/vendor_ruby/puppet/property/ensure.rb:81:in retrieve' /usr/share/ruby/vendor_ruby/puppet/type.rb:1048:inretrieve'
/usr/share/ruby/vendor_ruby/puppet/type.rb:1076:in retrieve_resource' /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:236:infrom_resource'
/usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:19:in
evaluate' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:204:inapply'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:217:in eval_resource' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:incall'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in block (2 levels) in evaluate' /usr/share/ruby/vendor_ruby/puppet/util.rb:335:inblock in thinmark'
/usr/share/ruby/benchmark.rb:296:in realtime' /usr/share/ruby/vendor_ruby/puppet/util.rb:334:inthinmark'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in block in evaluate' /usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:intraverse'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:in evaluate' /usr/share/gems/gems/kafo-2.0.0/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:inevaluate_with_trigger'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in block in apply' /usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:inwith_destination'
/usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in
as_logging_destination' /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:168:inapply'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:120:in block in apply_catalog' /usr/share/ruby/vendor_ruby/puppet/util.rb:161:inblock in benchmark'
/usr/share/ruby/benchmark.rb:296:in realtime' /usr/share/ruby/vendor_ruby/puppet/util.rb:160:inbenchmark'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:in apply_catalog' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:227:inrun_internal'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in block in run' /usr/share/ruby/vendor_ruby/puppet/context.rb:64:inoverride'
/usr/share/ruby/vendor_ruby/puppet.rb:246:in override' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:inrun'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:302:in
apply_catalog' /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:236:inblock in
main'
/usr/share/ruby/vendor_ruby/puppet/context.rb:64:in override' /usr/share/ruby/vendor_ruby/puppet.rb:246:inoverride'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:in main' /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:inrun_command'
/usr/share/ruby/vendor_ruby/puppet/application.rb:381:in block (2 levels) in run' /usr/share/ruby/vendor_ruby/puppet/application.rb:507:inplugin_hook'
/usr/share/ruby/vendor_ruby/puppet/application.rb:381:in block in run' /usr/share/ruby/vendor_ruby/puppet/util.rb:496:inexit_on_fail'
/usr/share/ruby/vendor_ruby/puppet/application.rb:381:in run' /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:inrun'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in execute&#39; /usr/bin/puppet:8:in<main>'
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foremanprodpoc.testlab.local]:
Failed to call refresh: Exception 502 "Proxy Error ( Try the request again.
)" in get request to:
https://foremanprodpoc.testlab.local/api/v2/smart_proxies?search=name="foremanprodpoc.testlab.local"
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foremanprodpoc.testlab.local]:
Exception 502 "Proxy Error ( Try the request again. )" in get request to:
https://foremanprodpoc.testlab.local/api/v2/smart_proxies?search=name="foremanprodpoc.testlab.local"
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:89:in
rescue in request&#39; /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:71:inrequest'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:6:in
proxy&#39; /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:inid'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in
exists?&#39; /usr/share/ruby/vendor_ruby/puppet/property/ensure.rb:81:inretrieve'
/usr/share/foreman-installer/modules/foreman/lib/puppet/type/foreman_smartproxy.rb:53:in
refresh&#39; /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:101:inprocess_callback'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:20:in
block in process_events&#39; /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:93:inblock in queued_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:92:in each&#39; /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:92:inqueued_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:19:in
process_events&#39; /usr/share/ruby/vendor_ruby/puppet/transaction.rb:221:ineval_resource'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in call&#39; /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:inblock (2 levels)
in evaluate'
/usr/share/ruby/vendor_ruby/puppet/util.rb:335:in block in thinmark&#39; /usr/share/ruby/benchmark.rb:296:inrealtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:334:in thinmark&#39; /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:inblock in evaluate'
/usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in
traverse&#39; /usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:inevaluate'
/usr/share/gems/gems/kafo-2.0.0/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in
evaluate_with_trigger&#39; /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:169:inblock in
apply'
/usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:in with_destination&#39; /usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:inas_logging_destination'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in apply&#39; /usr/share/ruby/vendor_ruby/puppet/configurer.rb:120:inblock in
apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/util.rb:161:in block in benchmark&#39; /usr/share/ruby/benchmark.rb:296:inrealtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:160:in benchmark&#39; /usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:inapply_catalog'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:227:in run_internal&#39; /usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:inblock in run'
/usr/share/ruby/vendor_ruby/puppet/context.rb:64:in override&#39; /usr/share/ruby/vendor_ruby/puppet.rb:246:inoverride'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:in run&#39; /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:302:inapply_catalog'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:236:in block in main&#39; /usr/share/ruby/vendor_ruby/puppet/context.rb:64:inoverride'
/usr/share/ruby/vendor_ruby/puppet.rb:246:in override&#39; /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:inmain'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:in run_command&#39; /usr/share/ruby/vendor_ruby/puppet/application.rb:381:inblock (2 levels)
in run'
/usr/share/ruby/vendor_ruby/puppet/application.rb:507:in plugin_hook&#39; /usr/share/ruby/vendor_ruby/puppet/application.rb:381:inblock in run'
/usr/share/ruby/vendor_ruby/puppet/util.rb:496:in exit_on_fail&#39; /usr/share/ruby/vendor_ruby/puppet/application.rb:381:inrun'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in run&#39; /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:inexecute'
/usr/bin/puppet:8:in &lt;main&gt;&#39; Wrapped exception: 502 &quot;Proxy Error ( Try the request again. )&quot; /usr/share/ruby/net/http/response.rb:119:inerror!'
/usr/share/ruby/net/http/response.rb:128:in value&#39; /usr/share/ruby/net/http.rb:913:inconnect'
/usr/share/ruby/net/http.rb:862:in do_start&#39; /usr/share/ruby/net/http.rb:851:instart'
/usr/share/ruby/net/http.rb:1373:in request&#39; /usr/share/gems/gems/oauth-0.5.1/lib/oauth/consumer.rb:161:inrequest'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:76:in
request&#39; /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:6:inproxy'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in
id&#39; /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:inexists?'
/usr/share/ruby/vendor_ruby/puppet/property/ensure.rb:81:in retrieve&#39; /usr/share/foreman-installer/modules/foreman/lib/puppet/type/foreman_smartproxy.rb:53:inrefresh'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:101:in
process_callback&#39; /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:20:inblock in process_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:93:in
block in queued_events&#39; /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:92:ineach'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:92:in
queued_events&#39; /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:19:inprocess_events'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:221:in eval_resource&#39; /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:incall'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in block (2 levels) in evaluate&#39; /usr/share/ruby/vendor_ruby/puppet/util.rb:335:inblock in thinmark'
/usr/share/ruby/benchmark.rb:296:in realtime&#39; /usr/share/ruby/vendor_ruby/puppet/util.rb:334:inthinmark'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in block in evaluate&#39; /usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:intraverse'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:in evaluate&#39; /usr/share/gems/gems/kafo-2.0.0/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:inevaluate_with_trigger'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in block in apply&#39; /usr/share/ruby/vendor_ruby/puppet/util/log.rb:149:inwith_destination'
/usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:112:in
as_logging_destination&#39; /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:168:inapply'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:120:in block in apply_catalog&#39; /usr/share/ruby/vendor_ruby/puppet/util.rb:161:inblock in benchmark'
/usr/share/ruby/benchmark.rb:296:in realtime&#39; /usr/share/ruby/vendor_ruby/puppet/util.rb:160:inbenchmark'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:in apply_catalog&#39; /usr/share/ruby/vendor_ruby/puppet/configurer.rb:227:inrun_internal'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in block in run&#39; /usr/share/ruby/vendor_ruby/puppet/context.rb:64:inoverride'
/usr/share/ruby/vendor_ruby/puppet.rb:246:in override&#39; /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:inrun'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:302:in
apply_catalog&#39; /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:236:inblock in
main'
/usr/share/ruby/vendor_ruby/puppet/context.rb:64:in override&#39; /usr/share/ruby/vendor_ruby/puppet.rb:246:inoverride'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:198:in main&#39; /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:159:inrun_command'
/usr/share/ruby/vendor_ruby/puppet/application.rb:381:in block (2 levels) in run&#39; /usr/share/ruby/vendor_ruby/puppet/application.rb:507:inplugin_hook'
/usr/share/ruby/vendor_ruby/puppet/application.rb:381:in block in run&#39; /usr/share/ruby/vendor_ruby/puppet/util.rb:496:inexit_on_fail'
/usr/share/ruby/vendor_ruby/puppet/application.rb:381:in run&#39; /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:inrun'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in execute&#39; /usr/bin/puppet:8:in<main>'
Installing Done
[100%] […]
Something went wrong! Check the log for ERROR-level output

Hostname: configured
/etc/hosts : updated
DNS: updated
version: Centos 7.x
SELinux: Disabled
Iptables: Enabled

Any assistance is really appreciated.

Rgds/Bijith

As the message says, an [HTTP] proxy is returning a 502 error. If you
have an http_proxy (or similar) environment variable set, try unsetting
it. Else make sure the proxy can connect to foremanprodpoc.testlab.local.

··· On 26/05/17 08:26, bijith nair wrote: > Everytime i perform installation it fails with below error.. > > /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foremanprodpoc.testlab.local]: > Could not evaluate: Exception 502 "Proxy Error ( Try the request again. > )" in get request to: > https://foremanprodpoc.testlab.local/api/v2/smart_proxies?search=name=%22foremanprodpoc.testlab.local%22


Dominic Cleal
dominic@cleal.org

Thanks Dominic, Removing proxy fixed the issue.

Also when i am trying to run puppet --agent test, It fails with permission
error:-

Note: I am running it at root

Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Error 403 on SERVER: <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access
/production/report/foremanprodpoc.testlab.local
on this server.</p>
</body></html>

··· On Friday, 26 May 2017 13:19:37 UTC+5:30, Dominic Cleal wrote: > > On 26/05/17 08:26, bijith nair wrote: > > Everytime i perform installation it fails with below error.. > > > > > /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foremanprodpoc.testlab.local]: > > > Could not evaluate: Exception 502 "Proxy Error ( Try the request again. > > )" in get request to: > > > https://foremanprodpoc.testlab.local/api/v2/smart_proxies?search=name=%22foremanprodpoc.testlab.local%22 > > As the message says, an [HTTP] proxy is returning a 502 error. If you > have an http_proxy (or similar) environment variable set, try unsetting > it. Else make sure the proxy can connect to foremanprodpoc.testlab.local. > > -- > Dominic Cleal > dom...@cleal.org >

Check you foreman configuration

/etc/puppet/foreman.yaml
:url: "https://katellomain.example.com"
in my case the url was empty try to verify is have you proxy fqdn and
restart katello-services

··· On Monday, May 29, 2017 at 4:30:54 PM UTC+2, bijith nair wrote: > > Thanks Dominic, Removing proxy fixed the issue. > > Also when i am trying to run puppet --agent test, It fails with permission > error:- > > Note: I am running it at root > > Warning: Not using cache on failed catalog > Error: Could not retrieve catalog; skipping run > Error: Could not send report: Error 403 on SERVER: "-//IETF//DTD HTML 2.0//EN"> > > 403 Forbidden > >

Forbidden

>

You don't have permission to access > /production/report/foremanprodpoc.testlab.local > on this server.

> > > > On Friday, 26 May 2017 13:19:37 UTC+5:30, Dominic Cleal wrote: >> >> On 26/05/17 08:26, bijith nair wrote: >> > Everytime i perform installation it fails with below error.. >> > >> > >> /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foremanprodpoc.testlab.local]: >> >> > Could not evaluate: Exception 502 "Proxy Error ( Try the request again. >> > )" in get request to: >> > >> https://foremanprodpoc.testlab.local/api/v2/smart_proxies?search=name=%22foremanprodpoc.testlab.local%22 >> >> As the message says, an [HTTP] proxy is returning a 502 error. If you >> have an http_proxy (or similar) environment variable set, try unsetting >> it. Else make sure the proxy can connect to foremanprodpoc.testlab.local. >> >> -- >> Dominic Cleal >> dom...@cleal.org >> >