Hi Folks,
I very recently installed Foreman 1.2 stable on RHEL 6.4 to satisfy
reporting needs for an established Puppet 3 installation.
I finally got everything that I needed working, SSL report delivery from
our existing Puppet 3 server (on a different host), as well as LDAP auth.
Recently it appears that the 1.3 branch went 'stable' and got offered up
for installation which my host cheerfully installed (my fault)
automatically at reboot time.
I now have the following list of packages updated or installed, and LDAP
auth and reporting are broken on my foreman host.
Oct 17 05:07:51 Updated: rubygem-passenger-4.0.5-4.el6.x86_64
> Oct 17 05:07:51 Updated: ruby193-rubygem-fast_gettext-0.8.0-2.el6.noarch
> Oct 17 05:07:51 Updated:
> ruby193-rubygem-gettext_i18n_rails-0.10.0-3.el6.noarch
> Oct 17 05:07:52 Updated: ruby193-rubygem-passenger-4.0.5-5.el6.x86_64
> Oct 17 05:07:52 Installed: rubygem-rdoc-3.12-12.el6.x86_64
> Oct 17 05:07:53 Installed: rubygem-oauth-0.4.7-5.el6.noarch
> Oct 17 05:07:53 Updated: ruby193-rubygem-oauth-0.4.7-5.el6.noarch
> Oct 17 05:07:53 Updated: ruby193-rubygem-ruby2ruby-2.0.1-7.el6.noarch
> Oct 17 05:07:53 Updated: ruby193-rubygem-safemode-1.2.0-5.el6.noarch
> Oct 17 05:07:53 Installed: rubygem-multi_json-1.3.6-11.el6.noarch
> Oct 17 05:07:55 Updated: tzdata-2013g-1.el6.noarch
> Oct 17 05:08:09 Updated: glibc-common-2.12-1.107.el6_4.5.x86_64
> Oct 17 05:08:11 Updated: glibc-2.12-1.107.el6_4.5.x86_64
> Oct 17 05:08:11 Updated: rubygem-rkerberos-0.1.2-1.el6.x86_64
> Oct 17 05:08:11 Updated: rubygem-passenger-native-libs-4.0.5-4.el6.x86_64
> Oct 17 05:08:12 Updated: rubygem-passenger-native-4.0.5-4.el6.x86_64
> Oct 17 05:08:12 Updated:
> ruby193-rubygem-passenger-native-libs-4.0.5-5.el6.x86_64
> Oct 17 05:08:13 Installed: ipmitool-1.8.11-14.el6_4.1.x86_64
> Oct 17 05:08:13 Installed: rubygem-rubyipmi-0.6.0-2.el6.noarch
> Oct 17 05:08:13 Updated: ruby193-rubygem-mysql-2.8.1-5.el6.x86_64
> Oct 17 05:08:13 Updated: ruby193-rubygem-foremancli-1.0-6.el6.noarch
> Oct 17 05:08:13 Installed: rubygem-clamp-0.6.1-9.el6.noarch
> Oct 17 05:08:14 Updated:
> ruby193-rubygem-unicode-display_width-0.1.1-6.el6.noarch
> Oct 17 05:08:14 Installed: rubygem-hashie-2.0.5-0.el6.noarch
> Oct 17 05:08:14 Installed: rubygem-little-plugger-1.1.3-17.el6.noarch
> Oct 17 05:08:14 Installed: rubygem-logging-1.8.1-25.el6.noarch
> Oct 17 05:08:14 Updated: ruby193-rubygem-po_to_json-0.0.7-2.el6.noarch
> Oct 17 05:08:14 Updated:
> ruby193-rubygem-gettext_i18n_rails_js-0.0.8-2.el6.noarch
> Oct 17 05:08:14 Updated: ruby193-rubygem-multi_json-1.3.6-11.el6.noarch
> Oct 17 05:08:14 Updated: ruby193-rubygem-rabl-0.7.6-5.el6.noarch
> Oct 17 05:08:14 Updated: ruby193-rubygem-jquery-ui-rails-4.0.2-7.el6.noarch
> Oct 17 05:08:14 Installed: ruby193-rubygem-foreigner-1.4.2-1.el6.noarch
> Oct 17 05:08:15 Installed: rubygem-ansi-1.4.3-0.el6.noarch
> Oct 17 05:08:15 Installed: rubygem-powerbar-1.0.11-7.el6.noarch
> Oct 17 05:08:15 Installed: rubygem-kafo-0.2.1-1.el6.noarch
> Oct 17 05:08:15 Updated: ruby193-rubygem-wirb-0.4.2-6.el6.noarch
> Oct 17 05:08:15 Updated: ruby193-rubygem-hirb-0.7.0-6.el6.noarch
> Oct 17 05:08:15 Updated: ruby193-rubygem-hirb-unicode-0.0.5-5.el6.noarch
> Oct 17 05:08:15 Updated: ruby193-rubygem-apipie-rails-0.0.23-1.el6.noarch
> Oct 17 05:08:17 Updated: kernel-firmware-2.6.32-358.23.2.el6.noarch
> Oct 17 05:08:17 Installed: rubygem-mime-types-1.16-3.el6.noarch
> Oct 17 05:08:17 Installed: rubygem-rest-client-1.6.1-2.el6.noarch
> Oct 17 05:08:17 Installed: rubygem-foreman_api-0.1.6-1.el6.noarch
> Oct 17 05:08:18 Updated:
> ruby193-rubygem-twitter-bootstrap-rails-2.2.6-5.el6.noarch
> Oct 17 05:08:19 Updated: foreman-1.3.0-1.el6.noarch
> Oct 17 05:08:19 Updated: foreman-mysql-1.3.0-1.el6.noarch
> Oct 17 05:08:19 Updated: foreman-console-1.3.0-1.el6.noarch
> Oct 17 05:08:19 Updated: foreman-cli-1.3.0-1.el6.noarch
> Oct 17 05:08:51 Updated: foreman-selinux-1.3.0-1.el6.noarch
> Oct 17 05:08:52 Updated: 1:foreman-installer-1.3.0-1.el6.noarch
> Oct 17 05:08:57 Installed: kernel-2.6.32-358.23.2.el6.x86_64
> Oct 17 05:08:57 Updated: foreman-proxy-1.3.0-1.el6.noarch
> Oct 17 05:08:57 Updated:
> ruby193-rubygem-passenger-native-4.0.5-5.el6.x86_64
> Oct 17 05:08:58 Updated: mod_passenger-4.0.5-4.el6.x86_64
> Oct 17 05:08:58 Updated: libtar-1.2.11-17.el6_4.1.x86_64
> Oct 17 05:08:58 Updated: ruby193-rubygem-rdoc-3.12-12.el6.x86_64
> Oct 17 05:09:12 Updated: kernel-doc-2.6.32-358.23.2.el6.noarch
>
>
YES, I should have excluded these sorts of updates from happening
automatically, I just didn't realize that stable would automatically
rebranch out to 1.3 in the repos.
Anyhow I remember looking at the 1.3 changelog and seeing that the
foreman.rb reporting plugin for the puppet master changed IIRC, so I'm
going to start working on that right now - in the mean time can anyone shed
light on the LDAP breakage between 1.2 and 1.3?
Here's the trace:
undefined method ldap_filter' for #<AuthSourceLdap:0x00000007819438> > > > *NoMethodError* > *undefined method
ldap_filter' for #<AuthSourceLdap:0x00000007819438>*
> app/helpers/layout_helper.rb:29:in block in text_f' > app/helpers/layout_helper.rb:130:in
block (2 levels) in field'
> app/helpers/layout_helper.rb:129:in block in field' > app/helpers/layout_helper.rb:124:in
field'
> app/helpers/layout_helper.rb:28:in text_f' > app/views/auth_source_ldaps/_form.html.erb:13:in
block in
> _app_views_auth_source_ldaps__form_html_erb__1843189001394778642_69897409647060'
> app/helpers/layout_helper.rb:205:in form_for' > app/views/auth_source_ldaps/_form.html.erb:3:in >
_app_views_auth_source_ldaps__form_html_erb__1843189001394778642_69897409647060'
> app/views/auth_source_ldaps/edit.html.erb:3:in
> _app_views_auth_source_ldaps_edit_html_erb___2053648665538597028_69897409640520' > app/models/concerns/foreman/thread_session.rb:33:in
clear_thread'
>
Thanks!