I wil incorporate it.

---

** [tickets:#1294] amf: BAD_OPERATION needs to be returned for si-swap when 
there is single controller**

**Status:** accepted
**Milestone:** 4.5.2
**Created:** Tue Mar 31, 2015 07:51 AM UTC by Sirisha Alla
**Last Updated:** Tue Sep 22, 2015 06:36 AM UTC
**Owner:** Nagendra Kumar


In the scenario of https://sourceforge.net/p/opensaf/tickets/1169/, when the 
standby middleware SU is in instantiating state then TRY_AGAIN needs to be 
returned. Else BAD_OPERATION needs to be returned. Returning TRY_AGAIN in all 
scenarios is a deviation from spec.

AMF spec in 9.4.8 says:

"If no standby assignments are available for an SI (potentially because the AMF 
cluster is in a degenerated status, and reduction procedures have been engaged) 
when this operation is invoked on a particular logical entity, the
SA_AIS_ERR_BAD_OPERATION error value shall be returned.
In other words, this operation shall be allowed by the Availability Management
Framework to proceed under the following circumstances.
1) The concerned SI is assigned active or quiescing to one service unit.
2) The concerned SI is assigned standby to at least another service unit.
3) The HA readiness state of the service unit currently assigned the standby HA
state for the target service instance is ready-for-assignment.
4) The node capacity limits for the affected AMF nodes are not violated when the
HA state assignments are swapped.

The Availability Management Framework shall not proceed with this procedure when
the presence state of the constituent service units of the service group 
protecting the SI is instantiating, restarting, or terminating, and should 
return an SA_AIS_ERR_TRY_AGAIN error value conveying that the action is valid 
but not currently possible."


---

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

Reply via email to