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 
> [email protected] <javascript:> 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to