- **status**: accepted --> fixed
- **Comment**:
changeset: 8498:9f8c22df842e
branch: opensaf-5.0.x
parent: 8492:fd59da278b9c
user: Nagendra Kumar<[email protected]>
date: Fri Jan 06 15:55:35 2017 +0530
summary: amfd: return BAD OP in fault cases during si swap [#1294]
changeset: 8499:c3fd1f88bca1
branch: opensaf-5.1.x
parent: 8493:4008004e93cd
user: Nagendra Kumar<[email protected]>
date: Fri Jan 06 15:57:52 2017 +0530
summary: amfd: return BAD OP in fault cases during si swap [#1294]
changeset: 8500:bbde06f8e302
tag: tip
parent: 8497:110fe121d8e2
user: Nagendra Kumar<[email protected]>
date: Fri Jan 06 15:58:23 2017 +0530
summary: amfd: return BAD OP in fault cases during si swap [#1294]
[staging:9f8c22]
[staging:c3fd1f]
[staging:bbde06]
---
** [tickets:#1294] amf: BAD_OPERATION needs to be returned for si-swap when
there is single controller**
**Status:** fixed
**Milestone:** 5.0.2
**Created:** Tue Mar 31, 2015 07:51 AM UTC by Sirisha Alla
**Last Updated:** Mon Jan 02, 2017 06:31 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 [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.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets