Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: No Subnets configured #19

Open
manditri opened this issue Feb 29, 2024 · 0 comments
Open

ERROR: No Subnets configured #19

manditri opened this issue Feb 29, 2024 · 0 comments

Comments

@manditri
Copy link

manditri commented Feb 29, 2024

I have created a subnet in foreman. Dnsmasq is serving DHCP, DNS and TFTP. But PXE boot fails. When I turn on a machine on the same subnet it gets an IP successfully but I get an error from smart-proxy afterwards. See below error captured from the UI.

No subnets configured: /usr/lib/ruby/vendor_ruby/smart_proxy_dhcp_dnsmasq/dhcp_dnsmasq_subnet_service.rb:286:in load_leases' /usr/lib/ruby/vendor_ruby/smart_proxy_dhcp_dnsmasq/dhcp_dnsmasq_subnet_service.rb:45:in block in watch_leases'
/usr/lib/ruby/vendor_ruby/rb-inotify/watcher.rb:41:in callback!' /usr/lib/ruby/vendor_ruby/rb-inotify/event.rb:128:in callback!'
/usr/lib/ruby/vendor_ruby/rb-inotify/notifier.rb:243:in block in process' /usr/lib/ruby/vendor_ruby/rb-inotify/notifier.rb:242:in each'
/usr/lib/ruby/vendor_ruby/rb-inotify/notifier.rb:242:in process' /usr/lib/ruby/vendor_ruby/rb-inotify/notifier.rb:225:in run'
/usr/lib/ruby/vendor_ruby/smart_proxy_dhcp_dnsmasq/dhcp_dnsmasq_subnet_service.rb:60:in watch_leases' /usr/lib/ruby/vendor_ruby/smart_proxy_dhcp_dnsmasq/dhcp_dnsmasq_subnet_service.rb:70:in block in start'
/usr/lib/ruby/vendor_ruby/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant