Changing this to defect since it puts undocumented requirements on component
integration.
AMF needs to remember the set of CLC CLI commands a component was instantiated
with and use them to terminate the component. When the component is
uninstantiated a switch to new commands can be done.
The proposed change is to move comp->config_is_valid=0 from
avnd_comp_oper_req() where the changed comp type is received and instead put it
in avnd_comp_clc_restart_termsucc_hdler() just before instantiate is launched.
---
** [tickets:#104] AMF: wrong CLC command used at component restart**
**Status:** assigned
**Created:** Mon May 13, 2013 05:28 AM UTC by Nagendra Kumar
**Last Updated:** Wed Sep 25, 2013 09:27 AM UTC
**Owner:** Nagendra Kumar
Migrated from http://devel.opensaf.org/ticket/3139
When SMF is using upgrade with component restart the saAmfCompType attribute is
first set and then the restart operation is called. This causes AMF to call the
terminate/cleanup command from the new component type when terminating the old
component. So for this to work today the component commands has to be able to
terminate any old version of a component. So you can't use any version specific
name etc. in the terminate commands. To avoid this limitation AMF would need to
remember the old terminate/cleanup commands when the saAmfCompType attribute is
set and the component is instantiated.
--------------------------------------------------------------------
Changed 13 days ago by nagendra ¶
The script should be backward compatible, if old scripts works, new scripts
should also work.
Changed 13 days ago by bertil ¶
Is this documented somewhere ? I.e. that the terminate/cleanup commands has
to be made so it will terminate any old version of the component.
Changed 11 days ago by nagendra ¶
No, it is not. But once the comp type is changed, further any action will
proceed as per new comp type.
---
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.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets