Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#188 closed defect (worksforme)

b10-auth hangs if can't get to config manager

Reported by: jreed Owned by: jreed
Priority: low Milestone:
Component: b10-auth Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity:
Sub-Project: Feature Depending on Ticket:
Estimated Difficulty: 0.0 Add Hours to Ticket:
Total Hours: Internal?: no

Description

If cfgmgr is not running, then b10-auth may hang waiting for some response and can't serve DNS. Not being able to serve DNS is fine, but maybe b10-auth should complain if can't communicate to configuration manager.

So sitting here:

 28895      1 b10-auth MISC  msghdr: 48, 0000000000000000000000000000000040cdffff7f7f0000010000000000000000000000000000000000000000000004
 28895      1 b10-auth GIO   fd 6 wrote 298 bytes
       "Skan\acommand\^S\^A\^[(\vmodule_spec\^R\^A\v\bcommands#`\"^\fcommand_a\
	rgs#\0\^Scommand_description(\"Shut down authoritative DNS server\fcom\
	mand_name(\bshutdown\vconfig_data#\M^@\"~\fitem_default(3/home/reed/op\
	t/bind10/var/bind10-devel/zone.sqlite3	item_name(\rdatabase_file\rite\
	m_optional%\^A1	item_type(\^Fstring\vmodule_name(\^DAuth"
 28895      1 b10-auth RET   sendmsg 298/0x12a
 28895      1 b10-auth CALL  recvmsg(6,0x7f7fffffcd50,0)
 28895      1 b10-auth MISC  msghdr: 48, 0000000000000000000000000000000010c8ffff7f7f0000010000000000000000000000000000000000000000000004

msgq does log:

[XX] got command: 
{'group': 'ConfigManager', 'seq': -1, 'instance': '*', 'to': '*', 'from': '4bf2d0f9_4@t1.m.reedmedia.net', 'type': 'send'}

(Yes I know b10-cfgmgr is not running.)

Subtickets

Change History (5)

comment:1 Changed 9 years ago by larissas

  • billable set to 0
  • Component changed from Unclassified to b10-auth
  • Estimated Difficulty set to 0.0
  • Internal? unset
  • Milestone set to feature backlog item
  • Owner set to UnAssigned
  • Priority changed from major to minor
  • Status changed from new to assigned

comment:2 Changed 9 years ago by jinmei

Shouldn't this have been solved with msgq timeout?

comment:3 Changed 9 years ago by jinmei

  • Owner changed from UnAssigned to jreed

comment:4 Changed 9 years ago by jreed

  • Milestone changed from feature backlog item to A-Team-Task-Backlog
  • Resolution set to worksforme
  • Status changed from assigned to closed

I couldn't repeat my problem. I stopped cfgmgr, and b10-auth can continue to serve DNS.

comment:5 Changed 9 years ago by stephen

  • Milestone A-Team-Task-Backlog deleted

Milestone A-Team-Task-Backlog deleted

Note: See TracTickets for help on using tickets.