Hey Michael,

Not sure if you ever resolved this problem, but you may want to check the 
contents of /etc/foreman-proxy/settings.d/puppet_proxy_legacy.yml and make 
sure it's correct.


On Thursday, August 11, 2016 at 12:03:07 PM UTC-7, Michael Hurn wrote:
>
> Thank you for the feedback so far Dominic
>
>
> Ok I'm beginning to think that it could be a puppet permissions issue.
>
> As we are using an external MySQL server for Foreman can I regress to my 
> snapshot (running Foreman 1.11.1 Puppet 3.8.3) taken just before upgrade?
>
> Then I can review the steps I took to do the upgrade. I may have missed 
> one or two! ;)
>
> On Wednesday, August 10, 2016 at 10:11:24 AM UTC-4, Michael Hurn wrote:
>>
>> After upgrading from Foreman 1.11.1 & Puppet 3.8.3.
>>
>> When I try to import classes I get an error popup:
>>
>>
>> Error: ERF12-2749 [ProxyAPI::ProxyException]: Unable to get environments 
>> from Puppet ([RestClient::NotAcceptable]: 406 Not Acceptable) for proxy 
>> https://vm-puppet.test.local:8443/puppet
>>
>> when hitting the Import from PuppetProxy button on the page: 
>> https://vm-puppet.test.local/puppetclasses
>>
>>  
>>
>> In the /var/log/foreman-proxy/proxy.log I get:
>>
>> D, [2016-08-10T13:26:10.898951 #15759] DEBUG -- : accept: 
>> 7.28.47.204:35287
>>
>> D, [2016-08-10T13:26:10.910504 #15759] DEBUG -- : Rack::Handler::WEBrick 
>> is invoked.
>>
>> E, [2016-08-10T13:26:11.054200 #15759] ERROR -- : Failed to list puppet 
>> environments: Failed to query Puppet find environments v3 API: 404 Not 
>> Found: Could not find environment 'puppet'
>>
>> D, [2016-08-10T13:26:11.054344 #15759] DEBUG -- : Failed to list puppet 
>> environments: Failed to query Puppet find environments v3 API: 404 Not 
>> Found: Could not find environment 'puppet'
>>
>> I, [2016-08-10T13:26:11.054800 #15759]  INFO -- : 7.28.47.204 - - 
>> [10/Aug/2016 13:26:11] "GET /environments HTTP/1.1" 406 135 0.1426
>>
>>
>> D, [2016-08-10T13:26:11.097846 #15759] DEBUG -- : close: 
>> 7.28.47.204:35287
>>
>>

-- 
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