- **status**: unassigned --> assigned
- **assigned_to**: Praveen
- **Milestone**: future --> 4.3.3
---
** [tickets:#255] amf: comp is instantiated but stop of opensaf reboots the
node.**
**Status:** assigned
**Milestone:** 4.3.3
**Created:** Thu May 16, 2013 07:08 AM UTC by Praveen
**Last Updated:** Thu May 16, 2013 07:08 AM UTC
**Owner:** Praveen
Migrrated from http://devel.opensaf.org/ticket/2800.
changeset : 3730
Model Observed : 2N.
configuration: 1App,1SG,1SU,1COMP,1SI,2CSI. Component is NPI ( category 8).
CompType? has osafAmfCtRelPathHcCmd="ip.sh"
and safHealthcheckKey=osafHealthCheck,<comptype> configured.
Scenario: Unlock-in of SU is successful. But Unlock of SU1 returns error as
shown below
Console Ouput :
amf-adm unlock-in safSu=SU1,safSg=SGONE,safApp=TWONAPP
SLES11-SLOT-2:/home/newamf # amf-adm unlock
safSu=SU1,safSg=SGONE,safApp=TWONAPP
error - command timed out (alarm)
State of SU,COMP & SUSI:
safSu=SU1,safSg=SGONE,safApp=TWONAPP
saAmfSUAdminState=UNLOCKED(1)
saAmfSUOperState=ENABLED(1)
saAmfSUPresenceState=INSTANTIATED(3)
saAmfSUReadinessState=IN-SERVICE(2)
safComp=COMP1,safSu=SU1,safSg=SGONE,safApp=TWONAPP
saAmfCompOperState=ENABLED(1)
saAmfCompPresenceState=INSTANTIATED(3)
saAmfCompReadinessState=IN-SERVICE(2)
safSISU=safSu=SU1\,safSg=SGONE,safApp=TWONAPP,safSi=SI1,safApp=TWONAPP
saAmfSISUHAState=ACTIVE(1)
Now /etc/init.d/opensafd stop causes board to reboot.
Reason : Comp is in instantiation-failed state.
/var/log/messages :
Sep 13 18:53:14 SLES11-SLOT-2 opensafd: Stopping OpenSAF Services
Sep 13 18:53:14 SLES11-SLOT-2 osafamfnd[15623]: NO Waiting for
'safSi=SI1,safApp=TWONAPP' (state 2)
Sep 13 18:53:49 SLES11-SLOT-2 sshd[19797]: Accepted keyboard-interactive/pam
for root from 192.168.56.1 port 58129 ssh2
Sep 13 18:54:14 SLES11-SLOT-2 osafamfd[15613]: exiting on signal 15
Sep 13 18:54:14 SLES11-SLOT-2 osafamfnd[15623]: ER AMF director unexpectedly
crashed
Sep 13 18:54:14 SLES11-SLOT-2 osafamfnd[15623]: Rebooting OpenSAF NodeId? =
131343 EE Name = , Reason: local AVD down(Adest) or both AVD down(Vdest)
received
Sep 13 18:54:14 SLES11-SLOT-2 opensaf_reboot: Rebooting local node
please ignore the statement "Reason : Comp is in instantiation-failed state" in
the description.
Changed 8 months ago by hafe
â– description modified (diff)
You have actually configured two CSIs which again is invalid but amfd does not
detect it and things go bad...
When I removed the second CSI it works:
Sep 13 17:11:40 Vostro osafimmnd[26010]: NO Ccb 26 COMMITTED
(immcfg_Vostro_26250)
Sep 13 17:11:48 Vostro osafamfnd[26065]: NO Assigning
'safSi=SI1,safApp=TWONAPP' ACTIVE to 'safSu=SU1,safSg=SGONE,safApp=TWONAPP'
Sep 13 17:11:48 Vostro osafamfnd[26065]: NO
'safSu=SU1,safSg=SGONE,safApp=TWONAPP' Presence State UNINSTANTIATED =>
INSTANTIATING
Sep 13 17:11:48 Vostro test: start
Sep 13 17:11:48 Vostro osafamfnd[26065]: NO
'safSu=SU1,safSg=SGONE,safApp=TWONAPP' Presence State INSTANTIATING =>
INSTANTIATED
Sep 13 17:11:48 Vostro osafamfnd[26065]: NO Assigned
'safSi=SI1,safApp=TWONAPP' ACTIVE to 'safSu=SU1,safSg=SGONE,safApp=TWONAPP'
Sep 13 17:11:58 Vostro test: status
Sep 13 17:12:59 test: last message repeated 6 times
Sep 13 17:14:25 Vostro opensafd: Stopping OpenSAF Services
Sep 13 17:14:25 Vostro osafamfnd[26065]: NO Removing assignments from AMF
components
Sep 13 17:14:25 Vostro osafamfnd[26065]: NO Removing
'safSi=SI1,safApp=TWONAPP' from 'safSu=SU1,safSg=SGONE,safApp=TWONAPP'
Sep 13 17:14:25 Vostro osafamfnd[26065]: NO
'safSu=SU1,safSg=SGONE,safApp=TWONAPP' Presence State INSTANTIATED =>
TERMINATING
Sep 13 17:14:25 Vostro test: stop
Sep 13 17:14:25 Vostro osafamfnd[26065]: NO
'safSu=SU1,safSg=SGONE,safApp=TWONAPP' Presence State TERMINATING =>
UNINSTANTIATED
Sep 13 17:14:25 Vostro osafamfnd[26065]: NO Removed 'safSi=SI1,safApp=TWONAPP'
from 'safSu=SU1,safSg=SGONE,safApp=TWONAPP'
Sep 13 17:14:25 Vostro osafamfnd[26065]: NO Terminating all AMF components
So this ticket is about stopping that invalid configuration during validation.
config files:config.tar
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets