http://defect.opensolaris.org/bz/show_bug.cgi?id=12586
Summary: NCU state events for old NCP are appearing after the
new NCP is activated
Classification: Development
Product: nwam
Version: RC5
Platform: ANY/Generic
OS/Version: All
Status: ACCEPTED
Severity: minor
Priority: P3
Component: ON daemon
AssignedTo: alan.maguire at sun.com
ReportedBy: alan.maguire at sun.com
QAContact: nwam-dev at opensolaris.org
--- Comment #0 from amaguire <alan.maguire at sun.com> 2009-11-10 09:41:16 UTC
---
when shutting down the current NCP, we create fini events for the NCUs of the
old NCP and immediately change the active_ncp within nwamd and trigger a
service refresh. The problem is the GUI gets the state events for the NCUs of
the old NCP after the new NCP is activated - we enqueue the fini events while
processing the NCP switch directly. The solution is to enqueue the NCP switch
via an object state event. By enqueueing the state change, we ensure it happens
after the fini events (the fini events create and directly process state
changes to tear down NCU config, so all that will be done by the time we
process the NCP state event).
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.