- **summary**: Api saCkptCheckpointOpen returns SA_AIS_ERR_INVALID_PARAM while
opening checkpoint --> ckpt: Api saCkptCheckpointOpen returns
SA_AIS_ERR_INVALID_PARAM while opening checkpoint
- **status**: assigned --> accepted
- **assigned_to**: A V Mahesh (AVM) --> Zoran Milinkovic
- **Milestone**: 5.2.FC --> 5.1.1
- **Comment**:
The similar issue exists in saCkptCheckpointOpenAsync() and
saCkptCheckpointUnlink()
---
** [tickets:#2128] ckpt: Api saCkptCheckpointOpen returns
SA_AIS_ERR_INVALID_PARAM while opening checkpoint**
**Status:** accepted
**Milestone:** 5.1.1
**Created:** Wed Oct 19, 2016 12:08 PM UTC by Ritu Raj
**Last Updated:** Tue Nov 15, 2016 06:37 AM UTC
**Owner:** Zoran Milinkovic
#Environment details
OS : Suse 64bit
Changeset : 8190 ( 5.1.GA)
Setup : 4 nodes (with headless feature disabled & PBE disabled)
#Summary:
saCkptCheckpointOpen() returns SA_AIS_ERR_INVALID_PARAM when checkpointName
does not terminate with trailing character
#Observed behaviour
To open checkpoint , API saCkptCheckpointOpen() is called by setting
checkpointName in two different ways:
Case-1: checkpointName does not terminate with '\0'
Case-2: checkpointName terminate with '\0'
It is expected in both cases saCkptCheckpointOpen() should be successful.
But, It is observed in Case-1, saCkptCheckpointOpen() returns
SA_AIS_ERR_INVALID_PARAM.
As per SAF Specificaton::
**SAI-AIS-CPROG-B.05.01, Section-2.3.9:Name Type**
"The length field in the SaNameT structure refers to the number of octets
(bytes) used by
the representation of the name in the value field. If the C character string
represen-
tation is used, the value field contains the characters in the string without
the termi-
nating null character, and the length field contains the number of these
characters."
Syslog:
Oct 19 17:24:30 fos1 osafimmnd[2377]: NO ERR_INVALID_PARAM: Not a proper RDN
(safCkpt=ckptOne^V]<88>ยง^?, 20)
Oct 19 17:24:30 fos1 osafckptd[2452]: ER create_runtime_ckpt_object -
saImmOiRtObjectCreate_2 failed with error = 7
Oct 19 17:24:30 fos1 osafckptd[2452]: ER create runtime ckpt object failed with
error: 7
Oct 19 17:24:30 fos1 osafckptd[2452]: ER cpd db add ckpt_node failed for
ckpt_id:5c
*Notes:
In OpenSAF5.0 both scenario used to work successfully.
---
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.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets