Actions
Bug #25243
closedDHCP ISC conf parser is unable to process interface-mtu option statement
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Pull request:
Description
The following block errors out:
subnet 10.0.0.0 netmask 255.255.255.0 { option interface-mtu 9000; }
Exception is:
2018-10-19T08:51:41 [E] Couldn't enable 'dhcp_isc': undefined method `to_i' for [["9000"]]:Array Did you mean? to_s to_a to_h 2018-10-19T08:51:41 [D] /home/lzap/work/smart-proxy/modules/dhcp_common/subnet.rb:29:in `initialize' /home/lzap/work/smart-proxy/modules/dhcp_common/isc/subnet_service_initialization.rb:78:in `new' /home/lzap/work/smart-proxy/modules/dhcp_common/isc/subnet_service_initialization.rb:78:in `to_subnet' /home/lzap/work/smart-proxy/modules/dhcp_common/isc/subnet_service_initialization.rb:22:in `block in update_subnet_service_with_subnet_records' /home/lzap/work/smart-proxy/modules/dhcp_common/isc/subnet_service_initialization.rb:22:in `each' /home/lzap/work/smart-proxy/modules/dhcp_common/isc/subnet_service_initialization.rb:22:in `update_subnet_service_with_subnet_records' /home/lzap/work/smart-proxy/modules/dhcp_common/isc/subnet_service_initialization.rb:12:in `load_configuration_file' /home/lzap/work/smart-proxy/modules/dhcp_isc/isc_state_changes_observer.rb:152:in `load_configuration_file' /home/lzap/work/smart-proxy/modules/dhcp_isc/isc_state_changes_observer.rb:129:in `block in do_start' /home/lzap/work/smart-proxy/modules/dhcp_common/subnet_service.rb:154:in `block in group_changes' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize' /home/lzap/work/smart-proxy/modules/dhcp_common/subnet_service.rb:154:in `group_changes' /home/lzap/work/smart-proxy/modules/dhcp_isc/isc_state_changes_observer.rb:128:in `do_start' /home/lzap/work/smart-proxy/modules/dhcp_isc/isc_state_changes_observer.rb:80:in `start' /home/lzap/work/smart-proxy/modules/dhcp_isc/inotify_leases_file_observer.rb:42:in `start' /home/lzap/work/smart-proxy/lib/proxy/plugin_initializer.rb:238:in `block in start_services' /home/lzap/work/smart-proxy/lib/proxy/plugin_initializer.rb:236:in `each' /home/lzap/work/smart-proxy/lib/proxy/plugin_initializer.rb:236:in `start_services' /home/lzap/work/smart-proxy/lib/proxy/plugin_initializer.rb:221:in `configure_plugin' /home/lzap/work/smart-proxy/lib/proxy/plugin_initializer.rb:92:in `block in configure' /home/lzap/work/smart-proxy/lib/proxy/plugin_initializer.rb:92:in `each' /home/lzap/work/smart-proxy/lib/proxy/plugin_initializer.rb:92:in `configure' /home/lzap/work/smart-proxy/lib/proxy/plugin_initializer.rb:170:in `block in initialize_plugins' /home/lzap/work/smart-proxy/lib/proxy/plugin_initializer.rb:170:in `each' /home/lzap/work/smart-proxy/lib/proxy/plugin_initializer.rb:170:in `initialize_plugins' /home/lzap/work/smart-proxy/lib/launcher.rb:168:in `launch' bin/smart-proxy:6:in `<top (required)>' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors' /home/lzap/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>' /home/lzap/.rbenv/versions/2.5.1/bin/bundle:23:in `load' /home/lzap/.rbenv/versions/2.5.1/bin/bundle:23:in `<main>'
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/616 added
Updated by Anonymous almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 986c95cd8e9585df8ebc23d01836fbb958144423.
Actions