[tickets] [opensaf:tickets] #2391 IMM: OI should not receive callbacks on a locked node

2017-03-26 Thread Neelakanta Reddy
- **status**: accepted --> review



---

** [tickets:#2391] IMM: OI should not receive callbacks on a locked node**

**Status:** review
**Milestone:** 5.2.RC2
**Created:** Wed Mar 22, 2017 09:08 AM UTC by Chani Srivastava
**Last Updated:** Thu Mar 23, 2017 12:14 PM UTC
**Owner:** Neelakanta Reddy


**Environment details**

OS : Suse 64bit
Changeset : 8701 ( 5.2RC1)
Setup : 4 nodes

**Steps to Reproduce:**
* Create a test class
* Node1 - Initialize OM with A.2.18
* Node2 - Initialize OI with A.2.18
* Node2 - Make OI implementer for the test class created
* Node2 - Call OiDispatch
* Lock Node2
* Node1 - Try creating an object for test class for which OI is an implementer

OI receives CreateCallback and responds with SA_AIS_OK

**Expected**: On a clm locked node, OI should not receive any callback when 
initialize with A.2.18


---

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


[tickets] [opensaf:tickets] #2360 mdstest 14 4 failed

2017-03-26 Thread A V Mahesh (AVM)
- **status**: accepted --> not-reproducible



---

** [tickets:#2360] mdstest 14 4 failed**

**Status:** not-reproducible
**Milestone:** 5.2.RC2
**Created:** Fri Mar 10, 2017 02:31 AM UTC by Quyen Dao
**Last Updated:** Thu Mar 23, 2017 08:57 AM UTC
**Owner:** A V Mahesh (AVM)


changset: 8521:05a15c96f745

mdstest 14 4 failed and coredump was also generated.

**mdstest output**

(Suite 14): Direct send a message with i_msg_fmt_ver < i_rem_svc_pvt_ver for 
all send types
Command: 'mdstest 14 4'
rc: 139 - output:
Suite 14: Direct Send All test cases
/ntet_initialise_setup: Get an ADEST handle,Create PWE=2 on ADEST,Install 
EXTMIN and INTMIN svc on ADEST,Install INTMIN,EXTMIN services on ADEST's PWE=2,
Create VDEST 100 and VDEST 200,Change the role of VDEST 200 to ACTIVE,
Install EXTMIN service on VDEST 100,Install INTMIN, EXTMIN services on VDEST 200

ADEST <2010f0578 > : GET_HDLS is SUCCESSFUL
100 : VDEST_CREATE is SUCCESSFUL
200 : VDEST_CREATE is SUCCESSFUL
VDEST_CHANGE ROLE to 1 is SUCCESSFULL
PWE_CREATE is SUCCESSFUL : PWE = 2
256 : SERVICE INSTALL is SUCCESSFULL
512 : SERVICE INSTALL is SUCCESSFULL
256 : SERVICE INSTALL is SUCCESSFULL
512 : SERVICE INSTALL is SUCCESSFULL
512 : SERVICE INSTALL is SUCCESSFULL
256 : SERVICE INSTALL is SUCCESSFULL
512 : SERVICE INSTALL is SUCCESSFULL
MDS SERVICE SUBSCRIBE is SUCCESSFULL
MDS RETRIEVE is SUCCESSFULL
Test Case 4: Direct send a message with i_msg_fmt_ver < i_rem_svc_pvt_ver for 
all send types

Direct sending the message

Request to ncsmds_api: MDS DIRECT SEND is SUCCESSFULL
Success

Direct send with ack

Request to ncsmds_api: MDS DIRECT SEND is SUCCESSFULL
Success

Direct send with rsp

Task has been Created

Inside Receiver Thread

Direct Receive callback
The Sender service is = 512 is on <2010f0578> destination with anchor = 
<2010f0578> on Node = 2010f with msg fmt ver=2

The Receiver service is = 512 is on <2010f0578> destination

Received Message len = 15 and the message is=Direct Message

Direct Receive callback
The Sender service is = 512 is on <2010f0578> destination with anchor = 
<2010f0578> on Node = 2010f with msg fmt ver=2

The Receiver service is = 512 is on <2010f0578> destination

Received Message len = 15 and the message is=Direct Message

MDS RETRIEVE is SUCCESSFULL

**Full stacktrace**
2017-02-28 00:19:46,582 INFO - Printing stack trace of 
core.1488237250.mdstest.1400.SC-1 which occurs on 2017-02-28 00:14:10 - OpenSAF 
5.2.M0 - 8521:05a15c96f745:default
2017-02-28 00:19:46,617 DEBUG - exec cmd 'ls /usr/local/lib/opensaf/mdstest' on 
SC-1
2017-02-28 00:19:46,617 DEBUG - SC-1: command: timeout 180 ssh 
-oStrictHostKeyChecking=no -oLogLevel=quiet -l root 10.0.3.101 'ls 
/usr/local/lib/opensaf/mdstest'
2017-02-28 00:19:46,721 DEBUG - SC-1: output: ls: cannot access 
/usr/local/lib/opensaf/mdstest: No such file or directory
2017-02-28 00:19:46,722 DEBUG - exec cmd 'ls /usr/local/bin/mdstest' on SC-1
2017-02-28 00:19:46,722 DEBUG - SC-1: command: timeout 180 ssh 
-oStrictHostKeyChecking=no -oLogLevel=quiet -l root 10.0.3.101 'ls 
/usr/local/bin/mdstest'
2017-02-28 00:19:46,813 DEBUG - SC-1: output: /usr/local/bin/mdstest

2017-02-28 00:19:47,324 INFO - Stack trace of core.1488237250.mdstest.1400.SC-1
[New LWP 1400]
[New LWP 1403]
[New LWP 1402]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `mdstest 14 4'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __GI___libc_free (mem=0x2) at malloc.c:2929

Thread 3 (Thread 0x7f09902dcb00 (LWP 1402)):
#0 0x7f098f89cfdd in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x7f098fdf342f in osaf_poll_no_timeout (io_fds=0x7f09902dc290, i_nfds=1) 
at src/base/osaf_poll.c:32
result = 32521
#2 0x7f098fdf35dc in osaf_ppoll (io_fds=0x7f09902dc290, i_nfds=1, 
i_timeout_ts=0x0, i_sigmask=0x0) at src/base/osaf_poll.c:79
millisecond_round_up = {tv_sec = 0, tv_nsec = 99}
max_possible_timeout = {tv_sec = 2147483, tv_nsec = 64700}
start_time = {tv_sec = 17179869186, tv_nsec = 139679050353408}
time_left_ts = {tv_sec = 1, tv_nsec = 1}
result = -1881212185
#3 0x7f098fe03e72 in ncs_tmr_wait () at src/base/sysf_tmr.c:406
rc = 1
inds_rmvd = 1
next_delay = 0
tv = {tv_sec = 16777215, tv_usec = 0}
ts_current = {tv_sec = 1690320, tv_nsec = 555370206}
ts = {tv_sec = 16777215, tv_nsec = 0}
set = {fd = 4, events = 1, revents = 0}
#4 0x7f098fb7d184 in start_thread (arg=0x7f09902dcb00) at 
pthread_create.c:312
__res = 
pd = 0x7f09902dcb00
now = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139679050353408, 
3247344970407365903, 1, 1, 139679050354112, 139679050353408, 
-3241532557782135537, -3241469800302359281}, mask_was_saved = 0}}, priv = {pad 
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 
pagesize_m1 = 
sp = 
freesize = 
__PRETTY_FUNCTION__ = "start_thread"
#5 0x7f098f8aa37d in clone () at 

[tickets] [opensaf:tickets] #2177 MDS: mdstest 10 1 failed

2017-03-26 Thread A V Mahesh (AVM)
- **status**: accepted --> not-reproducible



---

** [tickets:#2177] MDS: mdstest 10 1 failed**

**Status:** not-reproducible
**Milestone:** 5.2.RC2
**Created:** Tue Nov 08, 2016 06:48 AM UTC by Quyen Dao
**Last Updated:** Thu Mar 23, 2017 08:54 AM UTC
**Owner:** A V Mahesh (AVM)
**Attachments:**

- 
[mdstest_10_1_mds.log](https://sourceforge.net/p/opensaf/tickets/2177/attachment/mdstest_10_1_mds.log)
 (121.2 kB; application/octet-stream)


Changeset: 8287:bcc7af78a5a7
OS: Ubuntu 16.04
MDS transport: TCP

root@SC-1:~# export MDS_LOG_LEVEL=5
root@SC-1:~# mdstest 10 1

Suite 10: Send All test cases

Test Case 1: Sender service installed with i_fail_no_active_sends = true and 
there is no-active instance of the receiver service
Setting up the setup
/ntet_initialise_setup: Get an ADEST handle,Create PWE=2 on ADEST,Install 
EXTMIN and INTMIN svc on ADEST,Install INTMIN,EXTMIN services on ADEST's PWE=2,
Create VDEST 100 and VDEST 200,Change the role of VDEST 200 to ACTIVE,
Install EXTMIN  service on VDEST 100,Install INTMIN, EXTMIN services on 
VDEST 200

ADEST <2010f020a > : GET_HDLS is SUCCESSFUL
 100 : VDEST_CREATE is SUCCESSFUL
 200 : VDEST_CREATE is SUCCESSFUL
VDEST_CHANGE ROLE to 1 is SUCCESSFULL
PWE_CREATE is SUCCESSFUL : PWE = 2
 256 : SERVICE INSTALL is SUCCESSFULL
 512 : SERVICE INSTALL is SUCCESSFULL
 256 : SERVICE INSTALL is SUCCESSFULL
 512 : SERVICE INSTALL is SUCCESSFULL
 512 : SERVICE INSTALL is SUCCESSFULL
 256 : SERVICE INSTALL is SUCCESSFULL
 512 : SERVICE INSTALL is SUCCESSFULL
 MDS SERVICE SUBSCRIBE is SUCCESSFULL
VDEST_CHANGE ROLE to 2 is SUCCESSFULL
 MDS RETRIEVE is SUCCESSFULL Sending the message to no active instance
Encoding the message sent Sender svc = 512 with msg fmt ver =0
Successfully encoded message for Receiver svc = 512

MDS SEND is SUCCESSFULL

Fail

Sendack to the no active instance

MDS SEND ACK has failed as there is no active instance

Success

Send response to the no active instance

Request to ncsmds_api: MDS SEND RESPONSE has no active instance

Change role to active

VDEST_CHANGE ROLE to 1 is SUCCESSFULL
The Subscriber Service id = 512 is on ADEST
UP: Subscribed Svc = 512 with svc pvt ver = 1 is UP on dest=  anchor= <0> 
role= 1 with PWE id = 1 on node = 2010f

The Subscriber Service id = 512 is on ADEST
UP: Subscribed Svc = 512 with svc pvt ver = 3 is UP on dest= <2010f020a> 
anchor= <0> role= 1 with PWE id = 1 on node = 2010f

The Subscriber Service id = 512 is on ADEST
NO ACTIVE: Received NO ACTIVE Event
 In the system no active instance of Subscribed srv= 512 with svc pvt ver = 1 
on dest=  found

The Subscriber Service id = 512 is on ADEST
NEW ACTIVE: Received NEW_ACTIVE Event
 In the system atleast one active instance of Subscribed service = 512 with svc 
pvt ver = 1  on destinatin =  found

 MDS RETRIEVE is SUCCESSFULL
Task has been Created

Inside Receiver Thread

The service which is sending the message is = 512
The service to which the message needs to be delivered = 512
 Got the message: trying to retreive it

The Sender service = 512 is on destination = with anchor = <2010f020a> 
Node 2010f and msg fmt ver = 3
The Receiver service = 512 is on destination =<2010f020a>

Received Message len = 30
The message is= Hi Receiver! Are you there?
 MDS RETRIEVE is SUCCESSFULL
VDEST_CHANGE ROLE to 2 is SUCCESSFULL
The service which is sending the message is = 512
The service to which the message needs to be delivered = 512
 MDS RESPONSE is SUCCESSFULL

 MDS SEND RESPONSE is SUCCESSFULL
The response got from the receiver is :
 message length = 33
 message =  Hi Sender! My Name is RECEIVER
Success

TASK is released

 MDS CANCEL SUBSCRIBE is SUCCESSFULLUninstalling the services on both 
VDESTs and ADEST

 UnInstalling the Services on both the VDESTs

 MDS RETRIEVE is SUCCESSFULL
 512 : SERVICE UNINSTALL is SUCCESSFULL
 MDS RETRIEVE is SUCCESSFULL
 256 : SERVICE UNINSTALL is SUCCESSFULL
 MDS RETRIEVE is SUCCESSFULL
 512 : SERVICE UNINSTALL is SUCCESSFULL
Destroying the VDESTS
Destroying both the VDESTs and PWE=2 on ADEST

VDEST_CHANGE ROLE to 2 is SUCCESSFULL
 200 : VDEST_DESTROY is SUCCESSFULL
VDEST_CHANGE ROLE to 2 is SUCCESSFULL
 100 : VDEST_DESTROY is SUCCESSFULL
The Subscriber Service id = 512 is on ADEST
NO ACTIVE: Received NO ACTIVE Event
 In the system no active instance of Subscribed srv= 512 with svc pvt ver = 1 
on dest=  found

 MDS RETRIEVE is SUCCESSFULL
 512 : SERVICE UNINSTALL is SUCCESSFULL
 MDS RETRIEVE is SUCCESSFULL
 256 : SERVICE UNINSTALL is SUCCESSFULL
 ADEST : PWE 2 : Uninstalling Services 2000/INTMIN

 MDS RETRIEVE is SUCCESSFULL
 512 : SERVICE UNINSTALL is SUCCESSFULL
 MDS RETRIEVE is SUCCESSFULL
 256 : SERVICE UNINSTALL is SUCCESSFULL
ADEST PWE2 Destroyed

ADEST: PWE_DESTROY is SUCCESSFUL1  FAILED   Sender service installed with 
i_fail_no_active_sends = true and there is no-active instance of the receiver 
service (expected OUT_OF_RANGE, got SA_AIS_OK (1));


[tickets] [opensaf:tickets] #2174 MDS: mdstest 5 1 failed

2017-03-26 Thread A V Mahesh (AVM)
- **status**: accepted --> not-reproducible



---

** [tickets:#2174] MDS: mdstest 5 1 failed**

**Status:** not-reproducible
**Milestone:** 5.2.RC2
**Created:** Tue Nov 08, 2016 06:29 AM UTC by Quyen Dao
**Last Updated:** Thu Mar 23, 2017 08:47 AM UTC
**Owner:** A V Mahesh (AVM)
**Attachments:**

- 
[mdstest_5_1_mds.log](https://sourceforge.net/p/opensaf/tickets/2174/attachment/mdstest_5_1_mds.log)
 (29.2 kB; application/octet-stream)


Changeset: 8287:bcc7af78a5a7
OS: Ubuntu 16.04
MDS transport: TCP

root@SC-1:~# export MDS_LOG_LEVEL=5
root@SC-1:~# mdstest 5 1

Suite 5: Subscribe ADEST
Test Case 1: 500 Subscription to:600,700 where Install scope = Subscription 
scope

Getting an ADEST handle

ADEST <2010f01f3 > : GET_HDLS is SUCCESSFUL
Installing the services 500,600,700 with CHASSIS scope

 500 : SERVICE INSTALL is SUCCESSFULL
 600 : SERVICE INSTALL is SUCCESSFULL
 700 : SERVICE INSTALL is SUCCESSFULL
Action: Retrieve only ONE event

 MDS SERVICE SUBSCRIBE is SUCCESSFULL
Action: Retrieve only ONE event

Request to ncsmds_api: MDS RETRIEVE has FAILED
Fail, retrieve ONE

Action: Retrieve ALL event

The Subscriber Service id = 500 is on ADEST
UP: Subscribed Svc = 600 with svc pvt ver = 1 is UP on dest= <2010f01f3> 
anchor= <0> role= 1 with PWE id = 1 on node = 2010f

The Subscriber Service id = 500 is on ADEST
UP: Subscribed Svc = 700 with svc pvt ver = 1 is UP on dest= <2010f01f3> 
anchor= <0> role= 1 with PWE id = 1 on node = 2010f

 MDS RETRIEVE is SUCCESSFULL
Success

Action: Cancel subscription 500

 MDS CANCEL SUBSCRIBE is SUCCESSFULL
Success

Uninstalling all the services on this ADESt

 700 : SERVICE UNINSTALL is SUCCESSFULL
 600 : SERVICE UNINSTALL is SUCCESSFULL
 500 : SERVICE UNINSTALL is SUCCESSFULL1  FAILEDIn the NO_ACTIVE event 
notification, the remote service subpart version is set to the last active 
instance.s remote-service sub-part version (expected OUT_OF_RANGE, got 
SA_AIS_OK (1));

=

   Test Result:
  Total:  1
  Passed: 0
  Failed: 1
root@SC-1:~#


---

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


[tickets] [opensaf:tickets] #2176 MDS: mdstest 5 9 failed

2017-03-26 Thread A V Mahesh (AVM)
- **status**: accepted --> not-reproducible



---

** [tickets:#2176] MDS: mdstest 5 9 failed**

**Status:** not-reproducible
**Milestone:** 5.2.RC2
**Created:** Tue Nov 08, 2016 06:38 AM UTC by Quyen Dao
**Last Updated:** Thu Mar 23, 2017 08:49 AM UTC
**Owner:** A V Mahesh (AVM)
**Attachments:**

- 
[mdstest_5_9_mds.log](https://sourceforge.net/p/opensaf/tickets/2176/attachment/mdstest_5_9_mds.log)
 (29.8 kB; application/octet-stream)


Changeset: 8287:bcc7af78a5a7
OS: Ubuntu 16.04
MDS transport: TCP

root@SC-1:~# export MDS_LOG_LEVEL=5
root@SC-1:~# mdstest 5 9

Suite 5: Subscribe ADEST

Getting an ADEST handle

ADEST <2010f0205 > : GET_HDLS is SUCCESSFUL
Installing the services 500,600,700 with CHASSIS scope

 500 : SERVICE INSTALL is SUCCESSFULL
 600 : SERVICE INSTALL is SUCCESSFULL
 700 : SERVICE INSTALL is SUCCESSFULL
Test Case 9: 500 Subscription to:600,700 in two seperate Subscription calls but 
Cancels both in a single cancellation call

Action: Subscribe 500 to 600

 MDS SERVICE SUBSCRIBE is SUCCESSFULL
Action: Subscribe 500 to 700

 MDS SERVICE SUBSCRIBE is SUCCESSFULL
Action: Retreive three times, third shall fail

Request to ncsmds_api: MDS RETRIEVE has FAILED

Fail mds_service_retrieve

Request to ncsmds_api: MDS RETRIEVE has FAILED

Fail mds_service_retrieve

Request to ncsmds_api: MDS RETRIEVE has FAILED

Action: Cancel subscription

 MDS CANCEL SUBSCRIBE is SUCCESSFULL
Success

Uninstalling all the services on this ADESt

 700 : SERVICE UNINSTALL is SUCCESSFULL
 600 : SERVICE UNINSTALL is SUCCESSFULL
 500 : SERVICE UNINSTALL is SUCCESSFULL9  FAILED500 Subscription 
to:600,700 in two seperate Subscription calls but Cancels both in a single 
cancellation call (expected OUT_OF_RANGE, got SA_AIS_OK (1));

=

   Test Result:
  Total:  1
  Passed: 0
  Failed: 1
root@SC-1:~#



---

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


[tickets] [opensaf:tickets] #2179 AMF: Update PR/README for headless feature limitation

2017-03-26 Thread Minh Hon Chau
- **status**: review --> fixed
- **assigned_to**: Minh Hon Chau -->  nobody 



---

** [tickets:#2179] AMF: Update PR/README for headless feature limitation**

**Status:** fixed
**Milestone:** 5.2.RC2
**Created:** Tue Nov 08, 2016 02:23 PM UTC by Minh Hon Chau
**Last Updated:** Fri Mar 10, 2017 05:41 AM UTC
**Owner:** nobody


Update documents suggested by Praveen:
"
1)When ssytem bcomes headless When AMFD sends some assignment message because 
of admin operation or recovery from fault but message does not reach to AMFND.
2)Similarly when AMFND seds some assignment response but it does not reach to 
AMFD as system becomes headless.
These were the cases where AMFD may require to self trigger the FSM which is 
not possbile today.. Also there were cases where AMFD could not update IMM for 
attributes like SG FSM state and SUSI FSM state etc and system become headless. 
IN this case also recovery is not possible after headless.
"


---

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