Hi  Thuan,
Thanks for the clarification, I need some more:
So, saAmfCSICompHAState may have valid values like SA_AMF_HA_ACTIVE = 1, 
SA_AMF_HA_STANDBY = 2, etc. During failover time, if the value of 
saAmfCSICompHAState is returned as NULL/Zero, which is not a valid value for 
saAmfCSICompHAState, so what should be printed as a result(of course, after we 
will suppress the error). Do you think, we should not print non-persistent 
cached attributes (when values returned as NULL/Zero) and only print other 
attributes.

Thanks
-Nagu


---

** [tickets:#1384] amf-state print out error if it is called during failover**

**Status:** unassigned
**Milestone:** 4.5.2
**Created:** Tue Jun 09, 2015 07:28 AM UTC by Thuan
**Last Updated:** Wed Jun 10, 2015 10:48 AM UTC
**Owner:** nobody

When failover was trigger, there are some problems (maybe implementer 
disconnect) with immlist tool in short time. So, immlist tool can’t get value 
of variables or an empty value (ex: saAmfCSICompHAState=<Empty>). Then, 
amf-state did not handle well with these empty values.
 
/usr/bin/amf-state: line 62: [: <Empty>: integer expression expected    
 
Reproduction
====================
- Create a while loop for amf-state on Standby SC.
- Reboot the Active SC.
- Failover event occurs and problem occurs also.


---

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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to