Project

General

Profile

Actions

Bug #12178

closed

Smart Proxy Plugins do not handle rc versions well

Added by Timo Goebel about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugins
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Foreman 1.10.0-rc-1 smart proxy dns feature does not work.

In the Log you see the following error:

E, [2015-10-15T14:00:38.213704 #28260] ERROR -- : Couldn't enable plugin dns_nsupdate: Illformed requirement ["1.10.0-RC1"]:/usr/share/rubygems/rubygems/requirement.rb:90:in `parse'
/usr/share/rubygems/rubygems/requirement.rb:120:in `block in initialize'
/usr/share/rubygems/rubygems/requirement.rb:120:in `map!'
/usr/share/rubygems/rubygems/requirement.rb:120:in `initialize'
/usr/share/rubygems/rubygems/requirement.rb:55:in `new'
/usr/share/rubygems/rubygems/requirement.rb:55:in `create'
/usr/share/rubygems/rubygems/dependency.rb:58:in `initialize'
/usr/share/foreman-proxy/lib/proxy/pluggable.rb:61:in `new'
/usr/share/foreman-proxy/lib/proxy/pluggable.rb:61:in `block in validate_dependencies!'
/usr/share/foreman-proxy/lib/proxy/pluggable.rb:58:in `each'
/usr/share/foreman-proxy/lib/proxy/pluggable.rb:58:in `validate_dependencies!'
/usr/share/foreman-proxy/lib/proxy/pluggable.rb:37:in `validate!'
/usr/share/foreman-proxy/lib/proxy/provider.rb:22:in `configure_plugin'
/usr/share/foreman-proxy/lib/proxy/plugin.rb:28:in `block in configure_loaded_plugins'
/usr/share/foreman-proxy/lib/proxy/plugin.rb:28:in `each'
/usr/share/foreman-proxy/lib/proxy/plugin.rb:28:in `configure_loaded_plugins'
/usr/share/foreman-proxy/lib/launcher.rb:101:in `launch'
/usr/share/foreman-proxy/bin/smart-proxy:6:in `<main>'

Will create a pr to fix this.


Related issues 1 (0 open1 closed)

Related to Smart Proxy - Feature #7008: Add providers to existing proxy modules from a plugin/moduleClosed08/09/2014Actions
Actions

Also available in: Atom PDF