http://defect.opensolaris.org/bz/show_bug.cgi?id=10805

           Summary: destroyed enm generating events
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: ON daemon
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: Anurag.Maskey at Sun.COM
         QAContact: nwam-dev at opensolaris.org


--- Comment #0 from Anurag S. Maskey <Anurag.Maskey at Sun.COM> 2009-08-20 
16:31:19 UTC ---
An enm that is destroyed is generating periodic events, every time conditions
are checked.   nwamcfg and nwamadm actions are interspersed with show-events
below:

bash-3.2# nwamadm show-events &

bash-3.2# nwamadm list -p enm
nwamadm: No such profile configured

bash-3.2# nwamcfg
nwamcfg> create enm foo
Created enm 'foo'.  Walking properties ...
activation-mode (manual) [manual|conditional-any|conditional-all]> 
fmri> 
start> /foo
stop> /bar
nwamcfg:enm:foo> end
Committed changes

OBJECT_ACTION            enm foo -> action add                                  

nwamcfg> exit
nothing to commit

OBJECT_STATE             enm foo -> state disabled, disabled by administrator   
OBJECT_STATE             loc Automatic -> state offline*, method/service enable 
OBJECT_STATE             enm foo -> state disabled, disabled by administrator   
OBJECT_STATE             loc Automatic -> state offline*, method/service enable 
OBJECT_STATE             enm foo -> state disabled, disabled by administrator   
OBJECT_STATE             loc Automatic -> state offline*, method/service enable 
OBJECT_STATE             enm foo -> state disabled, disabled by administrator   
OBJECT_STATE             loc Automatic -> state offline*, method/service enable 
OBJECT_STATE             loc NoNet -> state offline, conditions for activation
a 
OBJECT_STATE             loc Automatic -> state online, active                  

bash-3.2# nwamcfg list 
NCPs:
    Automatic
    User
Locations:
    Automatic
    NoNet
    Legacy
ENMs:
    foo
bash-3.2# nwamadm list -p enm
TYPE         PROFILE  STATE          
enm          foo      disabled       

bash-3.2# nwamcfg destroy enm foo
Destroyed enm 'foo'

OBJECT_ACTION            enm foo -> action destroy                              
OBJECT_STATE             enm foo -> state maintenance, method/service enable
fai 
Aug 20 16:18:17 unknown last message repeated 2 times
Aug 20 16:19:38 unknown nwamd[2625]: 30: nwamd_enm_activate_deactivate_thread:
execution of '/bar' failed for ENM foo
OBJECT_STATE             enm foo -> state disabled, disabled by administrator   

bash=3.2# nwamcfg list
NCPs:
    Automatic
    User
Locations:
    Automatic
    NoNet
    Legacy
bash-3.2# nwamadm list -p enm 
nwamadm: No such profile configured
bash-3.2# 

Every two minutes:

OBJECT_STATE             enm foo -> state disabled, disabled by administrator   
OBJECT_STATE             enm foo -> state disabled, disabled by administrator

-- 
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.
You are the assignee for the bug.

Reply via email to