- **Milestone**: 5.2.RC2 --> future


---

** [tickets:#2214] SMF: ONE-STEP upgrade failed with AU/DU on component level**

**Status:** unassigned
**Milestone:** future
**Created:** Fri Dec 02, 2016 10:11 AM UTC by Tai Dinh
**Last Updated:** Fri Dec 02, 2016 10:11 AM UTC
**Owner:** nobody


SmfAdminOperation::getAdminState does not handle component object lead to 
campaign failed to be executed.

In the comment it is clearly said that "If the unit is a component presence 
state is fetched", but the code does not look to be matched.

        // Admin state shall be read from a SU object or a Node object
        if (i_objectName.find("safSu") != std::string::npos) {
                SaImmAttrNameT suAdminStateAttr[] = {
                        const_cast<char*> ("saAmfSUAdminState"),
                        NULL
                };
                m_errno = immutil_saImmOmAccessorGet_2(m_accessorHandle,
                                                 &objectName,
                                                 suAdminStateAttr,
                                                 &attributes);
                       
This if condition is matched for both SU and component, but saAmfSUAdminState 
is only available for SU.

Dec  2 20:38:25 SC-2-1 osafsmfd[15855]: NO Waiting for bundle command execution 
to finish on all affected nodes
Dec  2 20:38:25 SC-2-1 osafsmfd[15855]: NO STEP: Lock activation units
Dec  2 20:38:25 SC-2-1 osafimmnd[15740]: NO ERR_NOT_EXIST: Some attributeNames 
did not exist in Object 
'safComp=TestComp,safSu=SC-1,safSg=2N,safApp=ERIC-TestApp' (nrof names:1 
matched:0)
Dec  2 20:38:25 SC-2-1 osafsmfd[15855]: NO getAdminState saImmOmAccessorGet_2 
Fail SA_AIS_ERR_NOT_EXIST (12)
Dec  2 20:38:25 SC-2-1 osafsmfd[15855]: NO saveInitAndCurrentStateForAllUnits: 
getAdminStateForUnit() Fail SA_AIS_ERR_NOT_EXIST (12)
Dec  2 20:38:25 SC-2-1 osafsmfd[15855]: NO lock: 
saveInitAndCurrentStateForAllUnits() Fail SA_AIS_ERR_NOT_EXIST (12)
Dec  2 20:38:25 SC-2-1 osafsmfd[15855]: ER Failed to Lock activation units in 
step=safSmfStep=0001
Dec  2 20:38:25 SC-2-1 osafsmfd[15855]: ER Step undoing failed
Dec  2 20:38:25 SC-2-1 osafsmfd[15855]: NO Step safSmfStep=0001 in procedure 
safSmfProc=SmfSSMergedProc failed, step result 5
Dec  2 20:38:25 SC-2-1 osafsmfd[15855]: NO CAMP: Procedure 
safSmfProc=SmfSSMergedProc returned FAILED


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to