Opened 10 years ago

Closed 9 years ago

#92 closed defect (fixed)

bindctl doesn't see all available modules

Reported by: jreed Owned by: zhanglikun
Priority: medium Milestone: 05. 3rd Incremental Release: Serious Secondary
Component: ~bind-ctl (obsolete) Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity:
Sub-Project: Feature Depending on Ticket:
Estimated Difficulty: Add Hours to Ticket:
Total Hours: Internal?:

Description

Often bindctl now doesn't know about all available modules.

Available module names:

help Get help for bindctl
config Configuration commands
Auth same here
Boss same here

Notice Xfrin is missing. But it is not Xfrin specific. Sometimes it is only the builtin "help" and "config" listed. Sometimes Boss is missing, and so on.

Subtickets

Change History (10)

comment:1 Changed 10 years ago by jelte

Should we have bindctl requery available modules after every command? (b10-cmdctl does know about them, but there is no 'push' over http)

comment:2 Changed 10 years ago by zhanglikun

  • Owner set to zhanglikun
  • Status changed from new to assigned

comment:3 Changed 10 years ago by shane

  • Milestone changed from 02. Running, functional authoritative-only server to feature backlog item
  • Owner changed from zhanglikun to UnAssigned

Moving to backlog queue, since it's not currently being worked on.

comment:4 Changed 10 years ago by jreed

(07:50:06) jelte: actually, a part of that should have been fixed, but the problem may still exist if bindctl has been running and new modules have started after bindctl

(maybe in merge for ticket 58)

comment:5 Changed 9 years ago by shane

  • Component changed from Unclassified to bind-ctl
  • Milestone changed from feature backlog item to 05. 3rd Incremental Release: Serious Secondary
  • Owner changed from UnAssigned to zhanglikun
  • Priority changed from blocker to major

comment:6 Changed 9 years ago by zhanglikun

  • Owner changed from zhanglikun to jreed
  • Status changed from assigned to reviewing

OK,this bug has been fixed in r2263 in branch trac127. Please test it in branch trac127 before merging to trunk.

When new modules is started, config manager will send the new spec to cmdctl, then Bindctl will get it.

comment:7 Changed 9 years ago by jreed

Well trac127 does now show new modules that are started up later. This appears to be fixed. Thanks.

But if those are removed, bindctl (cmdctl?) still think they are still loaded. If you try to run a command, cmdctl or bindctl will hang. Even if your restart bindctl, the non-running modules are still listed. For that I see ticket #99 and #123 have a note about this problem.

comment:8 Changed 9 years ago by zhanglikun

Yes, you are right, ticket #99 and #123 have recorded that problem. so when trac127(ticket #127) is merged to trunk, this ticket should be closed.

comment:9 Changed 9 years ago by jreed

  • Owner changed from jreed to zhanglikun

comment:10 Changed 9 years ago by shane

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

Cool, closing ticket.

Note: See TracTickets for help on using tickets.