Project

General

Profile

Actions

Support #28432

closed

Unable to list environment from puppet

Added by Satish Kumar over 4 years ago. Updated about 2 years ago.

Status:
Rejected
Priority:
Urgent
Assignee:
-
Category:
Puppet
Target version:
-
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

We are running into an issue where the foreman is not able to import the puppet classes.
I tried from the command line but it returns 406 error message.
  • About to connect() to us-east-1d-puppetmaster-qastg-0-165.mhecloud.com port 8443 (#0)
  • Trying 10.221.0.165... connected
  • Connected to us-east-1d-puppetmaster-qastg-0-165.mhecloud.com (10.221.0.165) port 8443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • CAfile: /etc/puppetlabs/puppet/ssl/certs/ca.pem
    CApath: none
  • NSS: client certificate from file
  • subject: CN=us-east-1d-puppetmaster-qastg-0-165.mhecloud.com
  • start date: Oct 29 16:41:56 2019 GMT
  • expire date: Oct 28 16:41:56 2024 GMT
  • common name: us-east-1d-puppetmaster-qastg-0-165.mhecloud.com
  • issuer: CN=Puppet CA: us-east-1b-foreman-app-mgmt-0-145.mhecloud.com
  • SSL connection using TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
  • Server certificate:
  • subject: CN=us-east-1d-puppetmaster-qastg-0-165.mhecloud.com
  • start date: Oct 29 16:41:56 2019 GMT
  • expire date: Oct 28 16:41:56 2024 GMT
  • common name: us-east-1d-puppetmaster-qastg-0-165.mhecloud.com
  • issuer: CN=Puppet CA: us-east-1b-foreman-app-mgmt-0-145.mhecloud.com
curl -v --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem --key /etc/puppetlabs/puppet/ssl/private_keys/us-east-1d-puppetmaster-qastg-0-165.mhecloud.com.pem --cert /etc/puppetlabs/puppet/ssl/certs/us-east-1d-puppetmaster-qastg-0-165.mhecloud.com.pem https://us-east-1d-puppetmaster-qastg-0-165.mhecloud.com:8443/puppet/environments/qastg/classes

GET /puppet/environments/qastg/classes HTTP/1.1
User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Host: us-east-1d-puppetmaster-qastg-0-165.mhecloud.com:8443
Accept: */*

< HTTP/1.1 406 Not Acceptable
< Date: Thu, 05 Dec 2019 16:32:28 GMT
< Content-Length: 76
< Server: WEBrick/1.3.1 (Ruby/1.8.7/2013-06-27) OpenSSL/1.0.1e
< Content-Type: application/json
< Connection: Keep-Alive
<
  • Connection #0 to host us-east-1d-puppetmaster-qastg-0-165.mhecloud.com left intact
  • Closing connection #0
    Failed to show puppet classes: private method `open' called for Augeas:Class[root@us-east-1b-foreman-app-mgmt-0-145 settings.d]#

We are running foreman version 1.8.0 ( I know it's old and we are in a process of migrating it)
OS version of foreman is Red Hat Enterprise Linux Server release 6.6
Puppet master is running puppet enterprise 3.8.2( in the process of migrating it to puppet 5)
Puppet master is running on OS Red Hat Enterprise Linux Server release 6.6

Actions #1

Updated by Ewoud Kohl van Wijngaarden about 2 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF