Possibly a proxy issue of some sort with apache and foreman to puppet?

So I have an issue with getting my new nodes into foreman/puppet. I have
narrowed things down I think to some sort of proxy issue maybe?

I ran the following curl commands.

This one gives me prety much the exact result that the puppet agent does.

[root@cabinet-4-4-0 puppet]# curl -k -H "Content-Type:application/json"
-H "Accept:application/json"
https://t2gw03.t2.ucsd.edu:8140/puppet/environments
no 'environments' in
{:current_environment=>#<Puppet::Node::Environment:0x7f39ad859bf0
@name=:"root", @manifest="/etc/puppet/rack", @modulepath=[]>,
:root_environment=>#<Puppet::Node::Environment:0x7f39ad859bf0
@name=:"root", @manifest="/etc/puppet/rack", @modulepath=[]>} at top of []

This one on the other hand, to port 8443, returns sensible results.

[root@cabinet-4-4-0 puppet]# curl -k -H "Content-Type:application/json"
-H "Accept:application/json"
https://t2gw03.t2.ucsd.edu:8443/puppet/environments
["development","production"]

This is Forman 1.4.2 and Puppet 3.5.1.

Thanks for any suggestions.

HTTP proxy or something? Try to restart? This looks strange.

LZ

··· On Wed, May 07, 2014 at 04:48:02PM -0700, twm139@gmail.com wrote: > So I have an issue with getting my new nodes into foreman/puppet. I have > narrowed things down I think to some sort of proxy issue maybe? > > I ran the following curl commands. > > This one gives me prety much the exact result that the puppet agent does. > > [root@cabinet-4-4-0 puppet]# curl -k -H "Content-Type:application/json" > -H "Accept:application/json" > https://t2gw03.t2.ucsd.edu:8140/puppet/environments > no 'environments' in > {:current_environment=># @name=:"*root*", @manifest="/etc/puppet/rack", @modulepath=[]>, > :root_environment=># @name=:"*root*", @manifest="/etc/puppet/rack", @modulepath=[]>} at top of [] > > This one on the other hand, to port 8443, returns sensible results. > > [root@cabinet-4-4-0 puppet]# curl -k -H "Content-Type:application/json" > -H "Accept:application/json" > https://t2gw03.t2.ucsd.edu:8443/puppet/environments > ["development","production"] > > This is Forman 1.4.2 and Puppet 3.5.1. > > Thanks for any suggestions. > > > > > -- > 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 foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman