Project

General

Profile

Actions

Bug #20321

closed

Cannot use foreman-rake import:puppet_classes on Foreman 1.15.1/Katello 3.4.2

Added by Mac Reid almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Foreman 1.15.1 installed on RHEL 7.3 Server. Complete list of Foreman packages (from About page): https://gist.github.com/mac-reid/9a6aa5e2c514f7031c18c8b97108cf91

The smart proxy is installed on the same system with the following features: Pulp, TFTP, Puppet, Puppet CA, Logs, Dynflow, Openscap, and SSH

Plugins are:

foreman-tasks    0.9.2
foreman_docker   3.1.0
foreman_openscap 1.3.1
katello          3.4.2

I am trying to get the foreman-rake import:puppet_classes action working at the command line. Importing puppet classes works from the web interface and also in the web interface, there is a smart proxy with Puppet enabled.

With debug logging enabled in ~foreman/settings.yaml, this is the error output I get:

[root@foreman ~]# foreman-rake puppet:import:puppet_classes --trace
** Invoke puppet:import:puppet_classes (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute puppet:import:puppet_classes
ERROR: We did not find at least one configured Smart Proxy with the Puppet feature

[root@foreman ~]# foreman-tail
==> /var/log/messages <==
Jul 17 09:38:55 foreman su: (to foreman) root on pts/0

==> /var/log/foreman/production.log <==
2017-07-17 09:39:05  [foreman-tasks/dynflow] [I] start terminating throttle_limiter...
2017-07-17 09:39:05  [foreman-tasks/dynflow] [I] start terminating client dispatcher...
2017-07-17 09:39:05  [foreman-tasks/dynflow] [I] stop listening for new events...
2017-07-17 09:39:05  [foreman-tasks/dynflow] [I] start terminating clock...

After setting the sql logger to debug, this the output to /var/log/foreman/production.log:

https://gist.githubusercontent.com/mac-reid/599bb1ff496e7366b63a19361666dbee


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #16982: CVE-2016-7078 - User with no organizations or locations can see all resourcesClosedDaniel Lobato Garcia10/18/2016Actions
Actions

Also available in: Atom PDF