Opened 8 years ago

Closed 5 years ago

#2064 closed defect (wontfix)

components "kind" needs to be specified explicitly even for default

Reported by: jinmei Owned by:
Priority: medium Milestone: Remaining BIND10 tickets
Component: Unclassified Version: bind10-old
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 4 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by jinmei)

> config add Boss/components b10-ddns
> config show Boss/components
Boss/components/b10-ddns/special	null	string	
Boss/components/b10-ddns/process	null	string	
Boss/components/b10-ddns/kind	"dispensable"	string	(default)
Boss/components/b10-ddns/address	null	string	
Boss/components/b10-ddns/params/	list	
Boss/components/b10-ddns/priority	null	integer
> config commit
Error: 'kind'
Configuration not committed
> config set Boss/components/b10-ddns/kind dispensable
> config commit

This is confusing at best.

Another matter, piggybacked: it accepts it even if "address" is
unspecified. But without this the bind10 process cannot tell ddns
a shutdown and needs to fall back to SIGTERM. This is also not good.

p.s. Frankly, I'm reluctant to fix each and every one of such peculiar
thing one-by-one. This seems to be a general issue of the
config/bindctl framework. If we have a clearer definition of which is
default, which is mandatory, relationship "optional" vs "default" etc
and provides generic framework based on it, this kind of thing should
be automatically avoidable by the framework and the spec definition.

See also #1489.


Change History (5)

comment:1 Changed 8 years ago by shane

  • Milestone changed from New Tasks to Next-Sprint-Proposed

comment:2 Changed 8 years ago by shane

  • Estimated Difficulty changed from 0 to 4

comment:3 Changed 7 years ago by jinmei

  • Description modified (diff)

comment:4 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:5 Changed 5 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to old-bind10

This issue is related to bind10 code that is no longer part of Kea.

If you are interested in BIND10/Bundy framework or its DNS components,
please check

Closing ticket.

Note: See TracTickets for help on using tickets.