Opened 4 years ago

Closed 3 years ago

#4261 closed defect (fixed)

Invalid error message pertaining to hosts database configuration

Reported by: marcin Owned by: marcin
Priority: medium Milestone: Kea1.1-final
Component: configuration Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Low
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

The following error message is generated when the hosts database configuration parameter is missing "type" parameter:

2016-01-19 11:31:24.279 INFO  [kea-dhcp4.dhcp4/72367] DHCP4_STARTING Kea DHCPv4 server version 1.0.0-git starting
2016-01-19 11:31:24.280 ERROR [kea-dhcp4.dhcp4/72367] DHCP4_PARSER_FAIL failed to create or run parser for configuration element hosts-database: lease database access parameters must include the keyword 'type' to determine type of database to be accessed (etc/kea/kea.conf:22:22)
2016-01-19 11:31:24.280 ERROR [kea-dhcp4.dhcp4/72367] DHCP4_CONFIG_LOAD_FAIL configuration error using file: etc/kea/kea.conf, reason: lease database access parameters must include the keyword 'type' to determine type of database to be accessed (etc/kea/kea.conf:22:22)
2016-01-19 11:31:24.280 ERROR [kea-dhcp4.dhcp4/72367] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file 'etc/kea/kea.conf': lease database access parameters must include the keyword 'type' to determine type of database to be accessed (etc/kea/kea.conf:22:22)

It says "lease database", it should be "hosts database".

Subtickets

Change History (7)

comment:1 Changed 4 years ago by tomek

  • Milestone changed from Kea-proposed to Outstanding Tasks

Moving all bugs to outstanding, we'll triage them with other defects.

comment:2 Changed 3 years ago by tomek

  • Milestone changed from Outstanding Tasks to Kea-proposed

comment:3 Changed 3 years ago by marcin

  • Milestone changed from Kea-proposed to Kea1.1-final
  • Owner set to marcin
  • Status changed from new to accepted

Per Kea team meeting on 09/08/2016, moving to Kea 1.1 final.

comment:4 Changed 3 years ago by marcin

  • Owner changed from marcin to UnAssigned
  • Status changed from accepted to reviewing

I made this little change.

11XX.	[bug]		marcin
	Corrected error message produced by the host database access
	parser when the database type was not specified.
	(Trac #4261, git abcd)

comment:5 Changed 3 years ago by tomek

  • Owner changed from UnAssigned to tomek

comment:6 Changed 3 years ago by tomek

  • Owner changed from tomek to marcin

Changes are good. Please merge.

comment:7 Changed 3 years ago by marcin

  • Resolution set to fixed
  • Status changed from reviewing to closed

Merged with commit 028dd49f4fa4843e68e23d11c237e9f4683470ba

Note: See TracTickets for help on using tickets.