Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 560
    • Issues 560
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 69
    • Merge requests 69
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • KeaKea
  • Issues
  • #370
Closed
Open
Issue created Dec 27, 2018 by Ghost User@ghost

PostgreSQL add hosts in db

Hello,

I configure the Kea DHCP with a postgresql database.

I configured to add lease in this database and it works

    "lease-database": {
        "type": "postgresql",
        "name": "dhcp",
        "user": "kea",
        "password": "toto",
        "host": "localhost",
        "port": 5432
     },

I configured also to add a host

    "hosts-database": {
        "type": "postgresql",
        "name": "dhcp",
        "user": "kea",
        "password": "toto",
        "host": "localhost",
        "port": 5432
    },

But I have nothing in my database after the connection of a new host

 host_id | dhcp_identifier | dhcp_identifier_type | dhcp4_subnet_id | dhcp6_subnet_id | ipv4_address | hostname | dhcp4_client_classes | dhcp6_client_classes | dhcp4_next_server | dhcp4_server_hostname | dhcp4_boot_file_name | user_context | auth_key
---------+-----------------+----------------------+-----------------+-----------------+--------------+----------+----------------------+----------------------+-------------------+-----------------------+----------------------+--------------+----------
(0 rows)

Do you have an idea ? I miss an element or I don't understand something ?

Thank you in advance,

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking