Import from puppet fails with "Failed to list puppetenvironments"
This issue occurs with version 1.8.2.
I had the same issue with Smart-proxy and Foreman 1.8.1.
However if I use an older development version (b8e4d47 fixes #9919 - stub DNS lookup during trusted hosts test), it works.
OS: OpenSUSE 13.2
The smart-proxy log says:
D, [2015-06-19T12:12:58.600819 #29743] DEBUG -- : verifying remote client ::1 against trusted_hosts ["localhost"] D, [2015-06-19T12:12:58.601598 #29743] DEBUG -- : require_ssl_client_verification: skipping, non-HTTPS request I, [2015-06-19T12:12:58.601827 #29743] INFO -- : Initializing from Puppet config file: /etc/puppet/puppet.conf E, [2015-06-19T12:12:58.786286 #29743] ERROR -- : Failed to list puppet environments: Attempt to assign a value to unknown setting :ignoreimport ::1 - - [19/Jun/2015 12:12:58] "GET /puppet/environments " 406 94 0.1860
#2 Updated by Stefan Hölzle over 5 years ago
I'm running smartproxy from the sources and installed the dependencies with bundler:
git clone git://github.com/theforeman/smart-proxy.git bundle install --path vendor
One gem it installs is puppet 4.1.
It should install 3.8.1 right ?
The working installation has an older puppet gem installed (3.7.5).
I was under the impression that bundler installs all required gem-dependenies respecting version restrictions.