Foreman 1.9.0 + Puppet Directory Environments

Hi:

I recently installed Katello (which comes with Foreman 1.9.0) on a new
server. In addition I built a capsule (smart proxy) for my puppetmaster.
However after adding in the smart proxy into Foreman, I got to Import
Environments and no environments appear (although I have three defined in
/etc/puppet/environments). Also importing classes results in nothing.

From the proxy.log I see a GET request to /environments (results in a 200
response code). After that I see three calls to
/environments/{production,development,qa}/classes. Those are the three
environments that I have defined. So that leads me to believe the smart
proxy is seeing the environments in some form, just not populating them
within the web interface.

From within the Apache logs for puppet I see 4 requests (all respond with a
200) to /v2.0/environments.

The version of puppet I am running is 3.7.5.

Any troubleshooting help would be appreciated.

Thanks

Can you give a "tree" output of what's in /etc/puppet/environments?

··· On 29/04/15 20:59, Matthew Ceroni wrote: > Hi: > > I recently installed Katello (which comes with Foreman 1.9.0) on a new > server. In addition I built a capsule (smart proxy) for my puppetmaster. > However after adding in the smart proxy into Foreman, I got to Import > Environments and no environments appear (although I have three defined > in /etc/puppet/environments). Also importing classes results in nothing.


Dominic Cleal
Red Hat Engineering