Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Kea
Kea
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 363
    • Issues 363
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 54
    • Merge Requests 54
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #189

Closed
Open
Opened Oct 25, 2018 by Ivan Stenda@jaivast
  • Report abuse
  • New issue
Report abuse New issue

some lease updates in HA pair failed on Kea DHCPv4 1.4.0-P1

Hello, warnings like this observed in logfile:

2018-10-24 10:53:24.541 WARN [kea-dhcp4.ha-hooks/20371] HA_LEASE_UPDATE_FAILED [hwtype=1 34:08:04:ac:53:22], cid=[01:34:08:04:ac:53:22], tid=0xa915: lease update to server101 (http://10.58.0.101:8080/) failed: body of the response must be a list

and found that caused by this:

POST / HTTP/1.1 Content-Length: 328 Content-Type: application/json { "arguments": { "client-id": "01:34:08:04:ac:53:22", "expire": 1540371418, "force-create": true, "fqdn-fwd": true, "fqdn-rev": true, "hostname": "D-Link\u0000", "hw-address": "34:08:04:ac:53:22", "ip-address": "10.187.15.132", "state": 0, "subnet-id": 2, "valid-lft": 120 }, "command": "lease4-update", "service": [ "dhcp4" ] }

HTTP/1.1 400 Bad Request Content-Length: 40 Content-Type: application/json Date: Wed, 24 Oct 2018 08:54:58 GMT { "result": 400, "text": "Bad Request" }

update work with "normal" hostname: curl -X POST -H "Content-Type: application/json" -d '{ "arguments": { "client-id": "01:34:08:04:ac:53:22", "expire": 1540371418, "force-create": true, "fqdn-fwd": true, "fqdn-rev": true, "hostname": "justatest", "hw-address": "34:08:04:ac:53:22", "ip-address": "10.187.15.132", "state": 0, "subnet-id": 2, "valid-lft": 120 }, "command": "lease4-update", "service": [ "dhcp4" ] }' http://10.58.0.101:8080/ [ { "result": 0, "text": "IPv4 lease added." } ]

regards i

Assignee
Assign to
Kea1.6-final
Milestone
Kea1.6-final
Assign milestone
Time tracking
None
Due date
None
3
Labels
api bug ha
Assign labels
  • View project labels
Reference: isc-projects/kea#189