Kea 1.5 fails to detect mysql is missing when run with --with-mysql
name: 1.5.0 ./configure --with-mysql
about: mysql not a valid backend?
If you believe your bug report is a security issue (e.g. a packet that can kill the server), DO NOT REPORT IT HERE. Please use https://www.isc.org/community/report-bug/ instead or send mail to security-office(at)isc(dot)org.
Describe the bug After build from tar source kea dhcp will not start sighting configuration file error. 'type' does not reference a valid backend:mysql
To Reproduce Steps to reproduce the behavior:
- Build from tar using --with-mysql option.
- Configure to use a local mysql database for leases and hosts.
- Try to start kea
- Watch server not start and be told mysql is not a valid backend
Expected behavior A clear and concise description of what you expected to happen: The server is supposed to be able to use mysql as backend, works when installed from packet manager but keactrl is missing and only stores leases in db. Built from source to try to fix those issues, from source will not start due to this bug.
Environment:
- Kea version: which release? if it's compiled from git, which revision. Use kea-dhcp4 -V to find out.
- OS: Ubuntu 18.04 x64
- Which features were compiled in (in particular which backends)
- If/which hooks where loaded in
Additional Information "lease-database": { "type": "mysql", "host": "localhost", "name": "dbname", "user": "kea", "password": "********" },
Some initial questions
- Are you sure your feature is not already implemented in the latest Kea version? It should be docs all say mysql can be used.
- Are you sure what you would like to do is not possible using some other mechanisms? Yes there are other db's could try buy want to use mysql.
Is your feature request related to a problem? Please describe.
Mysql is listed in all documents but is rejected as an invalid backend type.
It is very important to describe what you would like to do and why?
I want to store leases and hosts reservations and options in a mysql database.
Describe the solution you'd like Fix bug in initialization causing mysql to not be recognized as a known backend.
Describe alternatives you've considered Will need to find another software if this cannot be resolved.
Additional context Add any other context about the feature request here.
Funding its development Kea is run by ISC, which is a small non-profit organization without any government funding or any permanent sponsorship organizations. Are you able and willing to participate financially in the development costs?
Participating in development Are you willing to participate in the feature development? ISC team always tries to make a feature as generic as possible, so it can be used in wide variety of situations. That means the proposed solution may be a bit different that you initially thought. Are you willing to take part in the design discussions? Are you willing to test an unreleased engineering code?
Contacting you I can be contacted at dev@twopointzero.co, This was just to only place I could find to report this issue, unable to find any discussion on this problem or possible solutions via web search.