[tickets] [opensaf:tickets] #3351 pyosaf: python3 SaStringT compare with str alway fail

2024-05-06 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 321e1d9eeac01d5259c73c88cea56e34462ebe8e (HEAD -> develop, 
origin/develop, ticket-3351)
Author: thien.m.huynh 
Date:   Tue Apr 23 10:16:38 2024 +0700

pyosaf: Allow SaStringT compare with str by default [#3351]

An earlier patch supporting Python 3 introduced the SaStringT class.
With str type, default SaStringT cannot be compared.

This commit is to allow compare with str class if without casting



---

**[tickets:#3351] pyosaf: python3 SaStringT compare with str alway fail**

**Status:** fixed
**Milestone:** 5.24.09
**Created:** Fri Apr 19, 2024 11:15 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Apr 23, 2024 03:50 AM UTC
**Owner:** Thien Minh Huynh


using ping-pong samples and reproduce with python3

~~~
def print_admin_operation_info(dn, params):
""" Print admin operation information """
print("INFO: I am %s" % dn)

if params:
print("INFO: Received parameters")

for param in params:
if param.name == "testing":
# condition is pass if run with python2
print("pass")
print("\t- %s: %s (%s)" % (param.name, param.value, param.type))
~~~



---

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


[tickets] [opensaf:tickets] #3351 pyosaf: python3 SaStringT compare with str alway fail

2024-04-22 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

**[tickets:#3351] pyosaf: python3 SaStringT compare with str alway fail**

**Status:** review
**Milestone:** 5.24.09
**Created:** Fri Apr 19, 2024 11:15 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Apr 19, 2024 11:16 AM UTC
**Owner:** Thien Minh Huynh


using ping-pong samples and reproduce with python3

~~~
def print_admin_operation_info(dn, params):
""" Print admin operation information """
print("INFO: I am %s" % dn)

if params:
print("INFO: Received parameters")

for param in params:
if param.name == "testing":
# condition is pass if run with python2
print("pass")
print("\t- %s: %s (%s)" % (param.name, param.value, param.type))
~~~



---

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


[tickets] [opensaf:tickets] #3351 pyosaf: python3 SaStringT compare with str alway fail

2024-04-19 Thread Thien Minh Huynh via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -10,7 +10,7 @@
 
 for param in params:
 if param.name == "testing":
-# condition is pass if run with python2
-print("pass")
+# condition is pass if run with python2
+print("pass")
 print("\t- %s: %s (%s)" % (param.name, param.value, param.type))
 ~~~






---

**[tickets:#3351] pyosaf: python3 SaStringT compare with str alway fail**

**Status:** accepted
**Milestone:** 5.24.09
**Created:** Fri Apr 19, 2024 11:15 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Apr 19, 2024 11:15 AM UTC
**Owner:** Thien Minh Huynh


using ping-pong samples and reproduce with python3

~~~
def print_admin_operation_info(dn, params):
""" Print admin operation information """
print("INFO: I am %s" % dn)

if params:
print("INFO: Received parameters")

for param in params:
if param.name == "testing":
# condition is pass if run with python2
print("pass")
print("\t- %s: %s (%s)" % (param.name, param.value, param.type))
~~~



---

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


[tickets] [opensaf:tickets] #3351 pyosaf: python3 SaStringT compare with str alway fail

2024-04-19 Thread Thien Minh Huynh via Opensaf-tickets



---

**[tickets:#3351] pyosaf: python3 SaStringT compare with str alway fail**

**Status:** accepted
**Milestone:** 5.24.09
**Created:** Fri Apr 19, 2024 11:15 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Apr 19, 2024 11:15 AM UTC
**Owner:** Thien Minh Huynh


using ping-pong samples and reproduce with python3

~~~
def print_admin_operation_info(dn, params):
""" Print admin operation information """
print("INFO: I am %s" % dn)

if params:
print("INFO: Received parameters")

for param in params:
if param.name == "testing":
# condition is pass if run with python2
print("pass")
print("\t- %s: %s (%s)" % (param.name, param.value, param.type))
~~~



---

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


[tickets] [opensaf:tickets] #3344 amf: component can not recovery while imm unavailable

2024-01-10 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit f8fd609eb95fa347b0f1f94cb73bbd94fac61229 (HEAD -> develop, 
origin/develop, ticket-3344)
Author: thien.m.huynh 
Date:   Fri Dec 29 10:41:06 2023 +0700

amf: retry if imm unavailable during recovery [#3344]

If a component has changed, AMF will obtain configuration
from IMM when recovering it. If IMM is unavailable and
SC absence is enabled, AMF will immediately fail.

Retrying the cleanup event is the solution.
This is to prevent watchdog kill AMFND.



---

**[tickets:#3344] amf: component can not recovery while imm unavailable**

**Status:** fixed
**Milestone:** 5.24.02
**Created:** Fri Dec 22, 2023 03:36 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Jan 02, 2024 02:59 AM UTC
**Owner:** Thien Minh Huynh


Comp state will be hang on saAmfCompPresenceState=RESTARTING(5) forever if imm 
not available during component restart.

**Step reproduce by using amf_demo:**
1. Enable SC absence
2. Change configuration of the component
`immcfg -a saAmfCompCmdEnv+="AMF_DEMO_VAR4=COMP2_VALUE4" 
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1`
3. Make the imm unavailable during component restart
 - add  `sleep 1` into at the end stop function amf_demo_script
 - add  `sleep 2`  into at the end stop function osaf-immnd
 - make amf_demo comp recovery `pkill -9 amf_demo`
 - make imm unavailable `pkill -9 osafimmnd`
4. `amf-state comp | grep -A 3 AmfDemo`
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
saAmfCompOperState=ENABLED(1)
saAmfCompPresenceState=RESTARTING(5)
saAmfCompReadinessState=OUT-OF-SERVICE(1)

syslog:
~~~
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' component restart probation timer 
started (timeout: 40 ns)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO Restarting a component of 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' (comp restart count: 1)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' faulted due to 
'avaDown' : Recovery is 'componentRestart'
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' Presence State INSTANTIATED => 
RESTARTING
...
2023-12-22 09:49:22.812 SC-2 osafamfnd[289]: CR saImmOmInitialize FAILED for 
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1', error 6
2023-12-22 09:49:22.813 SC-2 osafamfnd[289]: NO Component CLC fsm exited with 
error for comp:safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
~~~


---

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


[tickets] [opensaf:tickets] #3345 amf: amfd crash during remove amf model

2024-01-05 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 3463fa7734dab0b00365e6665eee4f896ed6268e (HEAD -> develop, 
origin/develop, ticket-3345)
Author: thien.m.huynh 
Date:   Fri Dec 29 13:14:58 2023 +0700

amf: check the existing SG before creating a new one [#3345]

When IMM is restarted, AMF will be re-initialized.
AMF add duplicate AMF SG entities to the local database.
It causes crashing while trying to delete an App object.

Solution is to check for existing SG before create a new one.



---

**[tickets:#3345] amf: amfd crash during remove amf model**

**Status:** fixed
**Milestone:** 5.24.02
**Created:** Tue Dec 26, 2023 03:51 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Dec 29, 2023 06:52 AM UTC
**Owner:** Thien Minh Huynh


**Step reproduce by using amf-demo:**

* Load model 
`immcfg -f AppConfig-2N.xml`

* Start app 
~~~
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm unlock-in '{}'
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm unlock '{}'
~~~

*   kill osafimmnd and amf-demo on standby node
`pkill -9 osafimmnd; pkill -9 amf_demo`

*  Stop app
~~~
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm lock '{}'
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm lock-in '{}'
~~~

*   Remove app
`immfind -c SaAmfApplication | grep AmfDemo | xargs -I '{}' immcfg -d '{}'`

coredump happens
2023-12-26 10:42:42.648 SC-2 osafamfd[278]: src/amf/amfd/app.cc:333: 
app_ccb_apply_cb: Assertion 'app->list_of_sg == nullptr' failed.


amfd backtrace:
~~~
[New LWP 279]
[New LWP 281]
[New LWP 282]
[New LWP 283]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/lib/opensaf/osafamfd'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f473f6b3f80 (LWP 279))]

Thread 4 (Thread 0x7f473f61db00 (LWP 283)):
#0  0x7f473f9a7bbf in __GI___poll (fds=fds@entry=0x7f473f61d1c8, 
nfds=nfds@entry=1, timeout=timeout@entry=3) at 
../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret = 
#1  0x7f473fceb8d7 in poll (__timeout=3, __nfds=1, 
__fds=0x7f473f61d1c8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
No locals.
#2  osaf_ppoll (io_fds=0x7f473f61d1c8, i_nfds=1, i_timeout_ts=0x7f473f61d1a0, 
i_sigmask=) at src/base/osaf_poll.c:108
current_time = {tv_sec = 12, tv_nsec = -13510792149241856}
elapsed_time = {tv_sec = 0, tv_nsec = 0}
time_left = 3
start_time = {tv_sec = 94721, tv_nsec = 884318150}
time_left_ts = 
result = 
#3  0x7f473fceb9bc in osaf_poll (io_fds=, i_nfds=, i_timeout=) at src/base/osaf_poll.c:46
timeout_ts = {tv_sec = 30, tv_nsec = 0}
#4  0x7f473fceb9ff in osaf_poll_one_fd (i_fd=i_fd@entry=25, 
i_timeout=i_timeout@entry=3) at src/base/osaf_poll.c:133
set = {fd = 25, events = 1, revents = 0}
result = 
#5  0x7f473fd23203 in rda_read_msg (sockfd=25, msg=msg@entry=0x7f473f61d230 
"10 2", size=64) at src/rde/agent/rda_papi.cc:691
rc = 
msg_size = 0
#6  0x7f473fd23762 in rda_callback_task (rda_callback_cb=0x5631cdf23b60) at 
src/rde/agent/rda_papi.cc:164
msg = "10 2", '\000' 
rc = 
value = 2
retry_count = 0
conn_lost = false
cmd_type = RDE_RDA_HA_ROLE
cb_info = {cb_type = PCS_RDA_ROLE_CHG_IND, info = {io_role = 
PCS_RDA_STANDBY}}
role = PCS_RDA_UNDEFINED
#7  0x7f473fa8f609 in start_thread (arg=) at 
pthread_create.c:477
ret = 
pd = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139943982783232, 
6782476873984862877, 140734800747550, 140734800747551, 140734800747712, 
139943982781312, -6868468769305695587, -6868467058807838051}, mask_was_saved = 
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
canceltype = 0}}}
not_first_call = 0
#8  0x7f473f9b4353 in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 3 (Thread 0x7f473f63eb00 (LWP 282)):
#0  0x7f473f9a7bbf in __GI___poll (fds=fds@entry=0x7f473f63e220, 
nfds=nfds@entry=4, timeout=timeout@entry=2) at 
../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret = 
#1  0x7f473fd1ad77 in poll (__timeout=2, __nfds=4, 
__fds=0x7f473f63e220) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
No locals.
#2  mdtm_process_recv_events () at src/mds/mds_dt_tipc.c:844
pollres = 
pfd = {{fd = 18, events = 1, revents = 0}, {fd = 19, events = 1, 
revents = 0}, {fd = 21, events = 1, revents = 0}, {fd = -1, events = 1, revents 
= 0}}
event = {event = 0, found_lower = 0, found_upper = 0, port = {ref = 0, 
node = 0}, s = {seq = {type = 0, lower = 0, upper = 0}, timeout = 0, filter = 
0, 

[tickets] [opensaf:tickets] #3344 amf: component can not recovery while imm unavailable

2024-01-01 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

**[tickets:#3344] amf: component can not recovery while imm unavailable**

**Status:** review
**Milestone:** 5.24.02
**Created:** Fri Dec 22, 2023 03:36 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Dec 22, 2023 08:43 AM UTC
**Owner:** Thien Minh Huynh


Comp state will be hang on saAmfCompPresenceState=RESTARTING(5) forever if imm 
not available during component restart.

**Step reproduce by using amf_demo:**
1. Enable SC absence
2. Change configuration of the component
`immcfg -a saAmfCompCmdEnv+="AMF_DEMO_VAR4=COMP2_VALUE4" 
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1`
3. Make the imm unavailable during component restart
 - add  `sleep 1` into at the end stop function amf_demo_script
 - add  `sleep 2`  into at the end stop function osaf-immnd
 - make amf_demo comp recovery `pkill -9 amf_demo`
 - make imm unavailable `pkill -9 osafimmnd`
4. `amf-state comp | grep -A 3 AmfDemo`
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
saAmfCompOperState=ENABLED(1)
saAmfCompPresenceState=RESTARTING(5)
saAmfCompReadinessState=OUT-OF-SERVICE(1)

syslog:
~~~
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' component restart probation timer 
started (timeout: 40 ns)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO Restarting a component of 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' (comp restart count: 1)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' faulted due to 
'avaDown' : Recovery is 'componentRestart'
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' Presence State INSTANTIATED => 
RESTARTING
...
2023-12-22 09:49:22.812 SC-2 osafamfnd[289]: CR saImmOmInitialize FAILED for 
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1', error 6
2023-12-22 09:49:22.813 SC-2 osafamfnd[289]: NO Component CLC fsm exited with 
error for comp:safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
~~~


---

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


[tickets] [opensaf:tickets] #3345 amf: amfd crash during remove amf model

2023-12-28 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

**[tickets:#3345] amf: amfd crash during remove amf model**

**Status:** review
**Milestone:** 5.24.02
**Created:** Tue Dec 26, 2023 03:51 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Dec 26, 2023 03:51 AM UTC
**Owner:** Thien Minh Huynh


**Step reproduce by using amf-demo:**

* Load model 
`immcfg -f AppConfig-2N.xml`

* Start app 
~~~
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm unlock-in '{}'
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm unlock '{}'
~~~

*   kill osafimmnd and amf-demo on standby node
`pkill -9 osafimmnd; pkill -9 amf_demo`

*  Stop app
~~~
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm lock '{}'
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm lock-in '{}'
~~~

*   Remove app
`immfind -c SaAmfApplication | grep AmfDemo | xargs -I '{}' immcfg -d '{}'`

coredump happens
2023-12-26 10:42:42.648 SC-2 osafamfd[278]: src/amf/amfd/app.cc:333: 
app_ccb_apply_cb: Assertion 'app->list_of_sg == nullptr' failed.


amfd backtrace:
~~~
[New LWP 279]
[New LWP 281]
[New LWP 282]
[New LWP 283]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/lib/opensaf/osafamfd'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f473f6b3f80 (LWP 279))]

Thread 4 (Thread 0x7f473f61db00 (LWP 283)):
#0  0x7f473f9a7bbf in __GI___poll (fds=fds@entry=0x7f473f61d1c8, 
nfds=nfds@entry=1, timeout=timeout@entry=3) at 
../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret = 
#1  0x7f473fceb8d7 in poll (__timeout=3, __nfds=1, 
__fds=0x7f473f61d1c8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
No locals.
#2  osaf_ppoll (io_fds=0x7f473f61d1c8, i_nfds=1, i_timeout_ts=0x7f473f61d1a0, 
i_sigmask=) at src/base/osaf_poll.c:108
current_time = {tv_sec = 12, tv_nsec = -13510792149241856}
elapsed_time = {tv_sec = 0, tv_nsec = 0}
time_left = 3
start_time = {tv_sec = 94721, tv_nsec = 884318150}
time_left_ts = 
result = 
#3  0x7f473fceb9bc in osaf_poll (io_fds=, i_nfds=, i_timeout=) at src/base/osaf_poll.c:46
timeout_ts = {tv_sec = 30, tv_nsec = 0}
#4  0x7f473fceb9ff in osaf_poll_one_fd (i_fd=i_fd@entry=25, 
i_timeout=i_timeout@entry=3) at src/base/osaf_poll.c:133
set = {fd = 25, events = 1, revents = 0}
result = 
#5  0x7f473fd23203 in rda_read_msg (sockfd=25, msg=msg@entry=0x7f473f61d230 
"10 2", size=64) at src/rde/agent/rda_papi.cc:691
rc = 
msg_size = 0
#6  0x7f473fd23762 in rda_callback_task (rda_callback_cb=0x5631cdf23b60) at 
src/rde/agent/rda_papi.cc:164
msg = "10 2", '\000' 
rc = 
value = 2
retry_count = 0
conn_lost = false
cmd_type = RDE_RDA_HA_ROLE
cb_info = {cb_type = PCS_RDA_ROLE_CHG_IND, info = {io_role = 
PCS_RDA_STANDBY}}
role = PCS_RDA_UNDEFINED
#7  0x7f473fa8f609 in start_thread (arg=) at 
pthread_create.c:477
ret = 
pd = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139943982783232, 
6782476873984862877, 140734800747550, 140734800747551, 140734800747712, 
139943982781312, -6868468769305695587, -6868467058807838051}, mask_was_saved = 
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
canceltype = 0}}}
not_first_call = 0
#8  0x7f473f9b4353 in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 3 (Thread 0x7f473f63eb00 (LWP 282)):
#0  0x7f473f9a7bbf in __GI___poll (fds=fds@entry=0x7f473f63e220, 
nfds=nfds@entry=4, timeout=timeout@entry=2) at 
../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret = 
#1  0x7f473fd1ad77 in poll (__timeout=2, __nfds=4, 
__fds=0x7f473f63e220) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
No locals.
#2  mdtm_process_recv_events () at src/mds/mds_dt_tipc.c:844
pollres = 
pfd = {{fd = 18, events = 1, revents = 0}, {fd = 19, events = 1, 
revents = 0}, {fd = 21, events = 1, revents = 0}, {fd = -1, events = 1, revents 
= 0}}
event = {event = 0, found_lower = 0, found_upper = 0, port = {ref = 0, 
node = 0}, s = {seq = {type = 0, lower = 0, upper = 0}, timeout = 0, filter = 
0, usr_handle = "\000\000\000\000\000\000\000"}}
timerfd = -1
__FUNCTION__ = "mdtm_process_recv_events"
#3  0x7f473fa8f609 in start_thread (arg=) at 
pthread_create.c:477
ret = 
pd = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139943982918400, 
6782476873984862877, 140734800746766, 140734800746767, 140734800746928, 
139943982916480, -6868468750515213667, -6868467058807838051}, mask_was_saved = 
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 

[tickets] [opensaf:tickets] #3345 amf: amfd crash during remove amf model

2023-12-25 Thread Thien Minh Huynh via Opensaf-tickets



---

**[tickets:#3345] amf: amfd crash during remove amf model**

**Status:** accepted
**Milestone:** 5.24.02
**Created:** Tue Dec 26, 2023 03:51 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Dec 26, 2023 03:51 AM UTC
**Owner:** Thien Minh Huynh


**Step reproduce by using amf-demo:**

* Load model 
`immcfg -f AppConfig-2N.xml`

* Start app 
~~~
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm unlock-in '{}'
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm unlock '{}'
~~~

*   kill osafimmnd and amf-demo on standby node
`pkill -9 osafimmnd; pkill -9 amf_demo`

*  Stop app
~~~
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm lock '{}'
immfind | grep -E "^safSu=SU" | xargs -I '{}' amf-adm lock-in '{}'
~~~

*   Remove app
`immfind -c SaAmfApplication | grep AmfDemo | xargs -I '{}' immcfg -d '{}'`

coredump happens
2023-12-26 10:42:42.648 SC-2 osafamfd[278]: src/amf/amfd/app.cc:333: 
app_ccb_apply_cb: Assertion 'app->list_of_sg == nullptr' failed.


amfd backtrace:
~~~
[New LWP 279]
[New LWP 281]
[New LWP 282]
[New LWP 283]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/lib/opensaf/osafamfd'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f473f6b3f80 (LWP 279))]

Thread 4 (Thread 0x7f473f61db00 (LWP 283)):
#0  0x7f473f9a7bbf in __GI___poll (fds=fds@entry=0x7f473f61d1c8, 
nfds=nfds@entry=1, timeout=timeout@entry=3) at 
../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret = 
#1  0x7f473fceb8d7 in poll (__timeout=3, __nfds=1, 
__fds=0x7f473f61d1c8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
No locals.
#2  osaf_ppoll (io_fds=0x7f473f61d1c8, i_nfds=1, i_timeout_ts=0x7f473f61d1a0, 
i_sigmask=) at src/base/osaf_poll.c:108
current_time = {tv_sec = 12, tv_nsec = -13510792149241856}
elapsed_time = {tv_sec = 0, tv_nsec = 0}
time_left = 3
start_time = {tv_sec = 94721, tv_nsec = 884318150}
time_left_ts = 
result = 
#3  0x7f473fceb9bc in osaf_poll (io_fds=, i_nfds=, i_timeout=) at src/base/osaf_poll.c:46
timeout_ts = {tv_sec = 30, tv_nsec = 0}
#4  0x7f473fceb9ff in osaf_poll_one_fd (i_fd=i_fd@entry=25, 
i_timeout=i_timeout@entry=3) at src/base/osaf_poll.c:133
set = {fd = 25, events = 1, revents = 0}
result = 
#5  0x7f473fd23203 in rda_read_msg (sockfd=25, msg=msg@entry=0x7f473f61d230 
"10 2", size=64) at src/rde/agent/rda_papi.cc:691
rc = 
msg_size = 0
#6  0x7f473fd23762 in rda_callback_task (rda_callback_cb=0x5631cdf23b60) at 
src/rde/agent/rda_papi.cc:164
msg = "10 2", '\000' 
rc = 
value = 2
retry_count = 0
conn_lost = false
cmd_type = RDE_RDA_HA_ROLE
cb_info = {cb_type = PCS_RDA_ROLE_CHG_IND, info = {io_role = 
PCS_RDA_STANDBY}}
role = PCS_RDA_UNDEFINED
#7  0x7f473fa8f609 in start_thread (arg=) at 
pthread_create.c:477
ret = 
pd = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139943982783232, 
6782476873984862877, 140734800747550, 140734800747551, 140734800747712, 
139943982781312, -6868468769305695587, -6868467058807838051}, mask_was_saved = 
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
canceltype = 0}}}
not_first_call = 0
#8  0x7f473f9b4353 in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 3 (Thread 0x7f473f63eb00 (LWP 282)):
#0  0x7f473f9a7bbf in __GI___poll (fds=fds@entry=0x7f473f63e220, 
nfds=nfds@entry=4, timeout=timeout@entry=2) at 
../sysdeps/unix/sysv/linux/poll.c:29
resultvar = 18446744073709551100
sc_cancel_oldtype = 0
sc_ret = 
#1  0x7f473fd1ad77 in poll (__timeout=2, __nfds=4, 
__fds=0x7f473f63e220) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
No locals.
#2  mdtm_process_recv_events () at src/mds/mds_dt_tipc.c:844
pollres = 
pfd = {{fd = 18, events = 1, revents = 0}, {fd = 19, events = 1, 
revents = 0}, {fd = 21, events = 1, revents = 0}, {fd = -1, events = 1, revents 
= 0}}
event = {event = 0, found_lower = 0, found_upper = 0, port = {ref = 0, 
node = 0}, s = {seq = {type = 0, lower = 0, upper = 0}, timeout = 0, filter = 
0, usr_handle = "\000\000\000\000\000\000\000"}}
timerfd = -1
__FUNCTION__ = "mdtm_process_recv_events"
#3  0x7f473fa8f609 in start_thread (arg=) at 
pthread_create.c:477
ret = 
pd = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139943982918400, 
6782476873984862877, 140734800746766, 140734800746767, 140734800746928, 
139943982916480, -6868468750515213667, -6868467058807838051}, mask_was_saved = 
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
canceltype = 

[tickets] [opensaf:tickets] #3344 amf: component can not recovery while imm unavailable

2023-12-22 Thread Thien Minh Huynh via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -1,7 +1,7 @@
 Comp state will be hang on saAmfCompPresenceState=RESTARTING(5) forever if imm 
not available during component restart.
 
 **Step reproduce by using amf_demo:**
-1. Disable SC absence
+1. Enable SC absence
 2. Change configuration of the component
 `immcfg -a saAmfCompCmdEnv+="AMF_DEMO_VAR4=COMP2_VALUE4" 
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1`
 3. Make the imm unavailable during component restart






---

**[tickets:#3344] amf: component can not recovery while imm unavailable**

**Status:** accepted
**Milestone:** 5.24.02
**Created:** Fri Dec 22, 2023 03:36 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Dec 22, 2023 07:08 AM UTC
**Owner:** Thien Minh Huynh


Comp state will be hang on saAmfCompPresenceState=RESTARTING(5) forever if imm 
not available during component restart.

**Step reproduce by using amf_demo:**
1. Enable SC absence
2. Change configuration of the component
`immcfg -a saAmfCompCmdEnv+="AMF_DEMO_VAR4=COMP2_VALUE4" 
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1`
3. Make the imm unavailable during component restart
 - add  `sleep 1` into at the end stop function amf_demo_script
 - add  `sleep 2`  into at the end stop function osaf-immnd
 - make amf_demo comp recovery `pkill -9 amf_demo`
 - make imm unavailable `pkill -9 osafimmnd`
4. `amf-state comp | grep -A 3 AmfDemo`
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
saAmfCompOperState=ENABLED(1)
saAmfCompPresenceState=RESTARTING(5)
saAmfCompReadinessState=OUT-OF-SERVICE(1)

syslog:
~~~
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' component restart probation timer 
started (timeout: 40 ns)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO Restarting a component of 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' (comp restart count: 1)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' faulted due to 
'avaDown' : Recovery is 'componentRestart'
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' Presence State INSTANTIATED => 
RESTARTING
...
2023-12-22 09:49:22.812 SC-2 osafamfnd[289]: CR saImmOmInitialize FAILED for 
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1', error 6
2023-12-22 09:49:22.813 SC-2 osafamfnd[289]: NO Component CLC fsm exited with 
error for comp:safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
~~~


---

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


[tickets] [opensaf:tickets] #3344 amf: component can not recovery while imm unavailable

2023-12-21 Thread Thien Minh Huynh via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -4,7 +4,6 @@
 1. Disable SC absence
 2. Change configuration of the component
 `immcfg -a saAmfCompCmdEnv+="AMF_DEMO_VAR4=COMP2_VALUE4" 
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1`
-
 3. Make the imm unavailable during component restart
  - add  `sleep 1` into at the end stop function amf_demo_script
  - add  `sleep 2`  into at the end stop function osaf-immnd






---

**[tickets:#3344] amf: component can not recovery while imm unavailable**

**Status:** accepted
**Milestone:** 5.24.02
**Created:** Fri Dec 22, 2023 03:36 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Dec 22, 2023 03:36 AM UTC
**Owner:** Thien Minh Huynh


Comp state will be hang on saAmfCompPresenceState=RESTARTING(5) forever if imm 
not available during component restart.

**Step reproduce by using amf_demo:**
1. Disable SC absence
2. Change configuration of the component
`immcfg -a saAmfCompCmdEnv+="AMF_DEMO_VAR4=COMP2_VALUE4" 
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1`
3. Make the imm unavailable during component restart
 - add  `sleep 1` into at the end stop function amf_demo_script
 - add  `sleep 2`  into at the end stop function osaf-immnd
 - make amf_demo comp recovery `pkill -9 amf_demo`
 - make imm unavailable `pkill -9 osafimmnd`
4. `amf-state comp | grep -A 3 AmfDemo`
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
saAmfCompOperState=ENABLED(1)
saAmfCompPresenceState=RESTARTING(5)
saAmfCompReadinessState=OUT-OF-SERVICE(1)

syslog:
~~~
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' component restart probation timer 
started (timeout: 40 ns)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO Restarting a component of 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' (comp restart count: 1)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' faulted due to 
'avaDown' : Recovery is 'componentRestart'
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' Presence State INSTANTIATED => 
RESTARTING
...
2023-12-22 09:49:22.812 SC-2 osafamfnd[289]: CR saImmOmInitialize FAILED for 
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1', error 6
2023-12-22 09:49:22.813 SC-2 osafamfnd[289]: NO Component CLC fsm exited with 
error for comp:safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
~~~


---

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


[tickets] [opensaf:tickets] #3344 amf: component can not recovery while imm unavailable

2023-12-21 Thread Thien Minh Huynh via Opensaf-tickets



---

**[tickets:#3344] amf: component can not recovery while imm unavailable**

**Status:** accepted
**Milestone:** 5.24.02
**Created:** Fri Dec 22, 2023 03:36 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Dec 22, 2023 03:36 AM UTC
**Owner:** Thien Minh Huynh


Comp state will be hang on saAmfCompPresenceState=RESTARTING(5) forever if imm 
not available during component restart.

**Step reproduce by using amf_demo:**
1. Disable SC absence
2. Change configuration of the component
`immcfg -a saAmfCompCmdEnv+="AMF_DEMO_VAR4=COMP2_VALUE4" 
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1`

3. Make the imm unavailable during component restart
 - add  `sleep 1` into at the end stop function amf_demo_script
 - add  `sleep 2`  into at the end stop function osaf-immnd
 - make amf_demo comp recovery `pkill -9 amf_demo`
 - make imm unavailable `pkill -9 osafimmnd`
4. `amf-state comp | grep -A 3 AmfDemo`
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
saAmfCompOperState=ENABLED(1)
saAmfCompPresenceState=RESTARTING(5)
saAmfCompReadinessState=OUT-OF-SERVICE(1)

syslog:
~~~
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' component restart probation timer 
started (timeout: 40 ns)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO Restarting a component of 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' (comp restart count: 1)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' faulted due to 
'avaDown' : Recovery is 'componentRestart'
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO 
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' Presence State INSTANTIATED => 
RESTARTING
...
2023-12-22 09:49:22.812 SC-2 osafamfnd[289]: CR saImmOmInitialize FAILED for 
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1', error 6
2023-12-22 09:49:22.813 SC-2 osafamfnd[289]: NO Component CLC fsm exited with 
error for comp:safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
~~~


---

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


[tickets] [opensaf:tickets] #3341 log: memleak detected by valgrind

2023-08-18 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

**[tickets:#3341] log: memleak detected by valgrind**

**Status:** review
**Milestone:** 5.23.12
**Created:** Thu Aug 17, 2023 04:41 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Aug 17, 2023 04:41 AM UTC
**Owner:** Thien Minh Huynh


==526== 8,072 (56 direct, 8,016 indirect) bytes in 1 blocks are definitely lost 
in loss record 172 of 175
==526== at 0x4C31B0F: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==526== by 0x5B3BC2B: sysf_alloc_pkt (sysf_mem.c:429)
==526== by 0x5B2A9CD: ncs_enc_init_space (hj_ubaid.c:108)
==526== by 0x5B4A03D: ncs_mbcsv_encode_message (mbcsv_util.c:899)
==526== by 0x5B4A56C: mbcsv_send_msg (mbcsv_util.c:1029)
==526== by 0x5B47112: mbcsv_process_events (mbcsv_pr_evts.c:139)
==526== by 0x5B473BA: mbcsv_hdl_dispatch_all (mbcsv_pr_evts.c:271)
==526== by 0x5B41A19: mbcsv_process_dispatch_request (mbcsv_api.c:426)
==526== by 0x13C6AD: lgs_mbcsv_dispatch(unsigned int) (lgs_mbcsv.cc:509)
==526== by 0x119919: main (lgs_main.cc:592)


---

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


[tickets] [opensaf:tickets] #3341 log: memleak detected by valgrind

2023-08-16 Thread Thien Minh Huynh via Opensaf-tickets



---

**[tickets:#3341] log: memleak detected by valgrind**

**Status:** accepted
**Milestone:** 5.23.12
**Created:** Thu Aug 17, 2023 04:41 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Aug 17, 2023 04:41 AM UTC
**Owner:** Thien Minh Huynh


==526== 8,072 (56 direct, 8,016 indirect) bytes in 1 blocks are definitely lost 
in loss record 172 of 175
==526== at 0x4C31B0F: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==526== by 0x5B3BC2B: sysf_alloc_pkt (sysf_mem.c:429)
==526== by 0x5B2A9CD: ncs_enc_init_space (hj_ubaid.c:108)
==526== by 0x5B4A03D: ncs_mbcsv_encode_message (mbcsv_util.c:899)
==526== by 0x5B4A56C: mbcsv_send_msg (mbcsv_util.c:1029)
==526== by 0x5B47112: mbcsv_process_events (mbcsv_pr_evts.c:139)
==526== by 0x5B473BA: mbcsv_hdl_dispatch_all (mbcsv_pr_evts.c:271)
==526== by 0x5B41A19: mbcsv_process_dispatch_request (mbcsv_api.c:426)
==526== by 0x13C6AD: lgs_mbcsv_dispatch(unsigned int) (lgs_mbcsv.cc:509)
==526== by 0x119919: main (lgs_main.cc:592)


---

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


[tickets] [opensaf:tickets] #3334 log: osaflogd coredump after receiving a peer checkpoint

2023-04-16 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 47dee89190f1be5714010b5e546dc6a3168a74f0 (HEAD -> develop, 
origin/develop, ticket-3334)
Author: thien.m.huynh 
Date:   Thu Apr 6 18:07:26 2023 +0700

log: check the queue capacity before retrieving an item [#3334]

Osaflogd occasionally fails to keep synchronization in a pair of nodes.
When received a pop request from active, standby will be coredump
if retrieving a piece from an empty queue.

This is done to avoid coredump by checking the queue capacity
before retrieving an item.




---

** [tickets:#3334] log: osaflogd coredump  after receiving a peer checkpoint**

**Status:** fixed
**Milestone:** 5.23.07
**Created:** Thu Apr 06, 2023 04:10 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Apr 07, 2023 08:47 AM UTC
**Owner:** Thien Minh Huynh


Reproduce:
- Increase logMaxPendingWriteRequests to increase the resilience of log service
- Make NFS hang
- Make out of sync on standby
- Make NFS normal
- Trigger switch-over
- expect osaflogd on stanby coredump when got peer checkpoint 

backtrace
~~~
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/lib/opensaf/osaflogd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __gnu_cxx::__atomic_add (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
96  /usr/include/c++/9/ext/atomicity.h: No such file or directory.
[Current thread is 1 (Thread 0x7fb7e18e2bc0 (LWP 252))]
(gdb) bt
#0  __gnu_cxx::__atomic_add (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
#1  __gnu_cxx::__atomic_add_dispatch (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
#2  std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy 
(this=0x461) at /usr/include/c++/9/bits/shared_ptr_base.h:139
#3  std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count (__r=..., 
this=) at /usr/include/c++/9/bits/shared_ptr_base.h:737
#4  std::__shared_ptr::__shared_ptr 
(this=) at /usr/include/c++/9/bits/shared_ptr_base.h:1167
#5  std::shared_ptr::shared_ptr (this=) at 
/usr/include/c++/9/bits/shared_ptr.h:129
#6  Cache::Front (this=0x55d83478c7c0 ) at 
./src/log/logd/lgs_cache.h:230
#7  ckpt_proc_pop_write_async (cb=, data=0x7ffc9afc7270) at 
src/log/logd/lgs_mbcsv_v8.cc:229
#8  0x55d83474c584 in ckpt_decode_log_struct (cb=cb@entry=0x55d83478cc20 
<_lgs_cb>, cbk_arg=cbk_arg@entry=0x7ffc9afc7390, 
ckpt_msg=ckpt_msg@entry=0x7ffc9afc7270, struct_ptr=,
struct_ptr@entry=0x7ffc9afc7280,
edp_function=edp_function@entry=0x55d83476d860 
)
at src/log/logd/lgs_mbcsv.cc:1206
#9  0x55d83476dc3a in DecodePopAndWriteAsync (cb=cb@entry=0x55d83478cc20 
<_lgs_cb>, ckpt_msg=ckpt_msg@entry=0x7ffc9afc7270, 
cbk_arg=cbk_arg@entry=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv_v8.cc:185
#10 0x55d83474c831 in ckpt_decode_async_update (cb=0x55d83478cc20 
<_lgs_cb>, cbk_arg=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv.cc:1619
#11 0x55d83474e9ae in ckpt_decode_cbk_handler (cbk_arg=0x7ffc9afc7390) at 
src/log/logd/lgs_mbcsv.cc:1136
#12 mbcsv_callback (arg=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv.cc:636
#13 0x7fb7e1eef44a in ncs_mbscv_rcv_decode (peer=peer@entry=0x55d8352ecbd0, 
evt=evt@entry=0x7fb7d40069c0) at src/mbc/mbcsv_act.c:409
#14 0x7fb7e1eef5e6 in ncs_mbcsv_rcv_async_update (peer=0x55d8352ecbd0, 
evt=0x7fb7d40069c0) at src/mbc/mbcsv_act.c:460
#15 0x7fb7e1ef6485 in mbcsv_process_events (rcvd_evt=0x7fb7d40069c0, 
mbcsv_hdl=mbcsv_hdl@entry=4293918753) at src/mbc/mbcsv_pr_evts.c:166
#16 0x7fb7e1ef65f7 in mbcsv_hdl_dispatch_all (mbcsv_hdl=4293918753, 
mbx=, mbx@entry=4288675841) at src/mbc/mbcsv_pr_evts.c:271
#17 0x7fb7e1ef0b2a in mbcsv_process_dispatch_request (arg=0x7ffc9afc74e0) 
at src/mbc/mbcsv_api.c:426
#18 0x55d83474a02a in lgs_mbcsv_dispatch (mbcsv_hdl=) at 
src/log/logd/lgs_mbcsv.cc:509
#19 0x55d8347262cd in main (argc=, argv=) at 
src/log/logd/lgs_main.cc:592
~~~



---

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


[tickets] [opensaf:tickets] #3334 log: osaflogd coredump after receiving a peer checkpoint

2023-04-07 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3334] log: osaflogd coredump  after receiving a peer checkpoint**

**Status:** review
**Milestone:** 5.23.07
**Created:** Thu Apr 06, 2023 04:10 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Apr 06, 2023 09:32 AM UTC
**Owner:** Thien Minh Huynh


Reproduce:
- Increase logMaxPendingWriteRequests to increase the resilience of log service
- Make NFS hang
- Make out of sync on standby
- Make NFS normal
- Trigger switch-over
- expect osaflogd on stanby coredump when got peer checkpoint 

backtrace
~~~
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/lib/opensaf/osaflogd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __gnu_cxx::__atomic_add (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
96  /usr/include/c++/9/ext/atomicity.h: No such file or directory.
[Current thread is 1 (Thread 0x7fb7e18e2bc0 (LWP 252))]
(gdb) bt
#0  __gnu_cxx::__atomic_add (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
#1  __gnu_cxx::__atomic_add_dispatch (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
#2  std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy 
(this=0x461) at /usr/include/c++/9/bits/shared_ptr_base.h:139
#3  std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count (__r=..., 
this=) at /usr/include/c++/9/bits/shared_ptr_base.h:737
#4  std::__shared_ptr::__shared_ptr 
(this=) at /usr/include/c++/9/bits/shared_ptr_base.h:1167
#5  std::shared_ptr::shared_ptr (this=) at 
/usr/include/c++/9/bits/shared_ptr.h:129
#6  Cache::Front (this=0x55d83478c7c0 ) at 
./src/log/logd/lgs_cache.h:230
#7  ckpt_proc_pop_write_async (cb=, data=0x7ffc9afc7270) at 
src/log/logd/lgs_mbcsv_v8.cc:229
#8  0x55d83474c584 in ckpt_decode_log_struct (cb=cb@entry=0x55d83478cc20 
<_lgs_cb>, cbk_arg=cbk_arg@entry=0x7ffc9afc7390, 
ckpt_msg=ckpt_msg@entry=0x7ffc9afc7270, struct_ptr=,
struct_ptr@entry=0x7ffc9afc7280,
edp_function=edp_function@entry=0x55d83476d860 
)
at src/log/logd/lgs_mbcsv.cc:1206
#9  0x55d83476dc3a in DecodePopAndWriteAsync (cb=cb@entry=0x55d83478cc20 
<_lgs_cb>, ckpt_msg=ckpt_msg@entry=0x7ffc9afc7270, 
cbk_arg=cbk_arg@entry=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv_v8.cc:185
#10 0x55d83474c831 in ckpt_decode_async_update (cb=0x55d83478cc20 
<_lgs_cb>, cbk_arg=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv.cc:1619
#11 0x55d83474e9ae in ckpt_decode_cbk_handler (cbk_arg=0x7ffc9afc7390) at 
src/log/logd/lgs_mbcsv.cc:1136
#12 mbcsv_callback (arg=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv.cc:636
#13 0x7fb7e1eef44a in ncs_mbscv_rcv_decode (peer=peer@entry=0x55d8352ecbd0, 
evt=evt@entry=0x7fb7d40069c0) at src/mbc/mbcsv_act.c:409
#14 0x7fb7e1eef5e6 in ncs_mbcsv_rcv_async_update (peer=0x55d8352ecbd0, 
evt=0x7fb7d40069c0) at src/mbc/mbcsv_act.c:460
#15 0x7fb7e1ef6485 in mbcsv_process_events (rcvd_evt=0x7fb7d40069c0, 
mbcsv_hdl=mbcsv_hdl@entry=4293918753) at src/mbc/mbcsv_pr_evts.c:166
#16 0x7fb7e1ef65f7 in mbcsv_hdl_dispatch_all (mbcsv_hdl=4293918753, 
mbx=, mbx@entry=4288675841) at src/mbc/mbcsv_pr_evts.c:271
#17 0x7fb7e1ef0b2a in mbcsv_process_dispatch_request (arg=0x7ffc9afc74e0) 
at src/mbc/mbcsv_api.c:426
#18 0x55d83474a02a in lgs_mbcsv_dispatch (mbcsv_hdl=) at 
src/log/logd/lgs_mbcsv.cc:509
#19 0x55d8347262cd in main (argc=, argv=) at 
src/log/logd/lgs_main.cc:592
~~~



---

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


[tickets] [opensaf:tickets] #3334 log: osaflogd coredump after receiving a peer checkpoint

2023-04-06 Thread Thien Minh Huynh via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -1,4 +1,5 @@
 Reproduce:
+- Increase logMaxPendingWriteRequests to increase the resilience of log service
 - Make NFS hang
 - Make out of sync on standby
 - Make NFS normal






---

** [tickets:#3334] log: osaflogd coredump  after receiving a peer checkpoint**

**Status:** accepted
**Milestone:** 5.23.07
**Created:** Thu Apr 06, 2023 04:10 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Apr 06, 2023 04:10 AM UTC
**Owner:** Thien Minh Huynh


Reproduce:
- Increase logMaxPendingWriteRequests to increase the resilience of log service
- Make NFS hang
- Make out of sync on standby
- Make NFS normal
- Trigger switch-over
- expect osaflogd on stanby coredump when got peer checkpoint 

backtrace
~~~
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/lib/opensaf/osaflogd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __gnu_cxx::__atomic_add (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
96  /usr/include/c++/9/ext/atomicity.h: No such file or directory.
[Current thread is 1 (Thread 0x7fb7e18e2bc0 (LWP 252))]
(gdb) bt
#0  __gnu_cxx::__atomic_add (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
#1  __gnu_cxx::__atomic_add_dispatch (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
#2  std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy 
(this=0x461) at /usr/include/c++/9/bits/shared_ptr_base.h:139
#3  std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count (__r=..., 
this=) at /usr/include/c++/9/bits/shared_ptr_base.h:737
#4  std::__shared_ptr::__shared_ptr 
(this=) at /usr/include/c++/9/bits/shared_ptr_base.h:1167
#5  std::shared_ptr::shared_ptr (this=) at 
/usr/include/c++/9/bits/shared_ptr.h:129
#6  Cache::Front (this=0x55d83478c7c0 ) at 
./src/log/logd/lgs_cache.h:230
#7  ckpt_proc_pop_write_async (cb=, data=0x7ffc9afc7270) at 
src/log/logd/lgs_mbcsv_v8.cc:229
#8  0x55d83474c584 in ckpt_decode_log_struct (cb=cb@entry=0x55d83478cc20 
<_lgs_cb>, cbk_arg=cbk_arg@entry=0x7ffc9afc7390, 
ckpt_msg=ckpt_msg@entry=0x7ffc9afc7270, struct_ptr=,
struct_ptr@entry=0x7ffc9afc7280,
edp_function=edp_function@entry=0x55d83476d860 
)
at src/log/logd/lgs_mbcsv.cc:1206
#9  0x55d83476dc3a in DecodePopAndWriteAsync (cb=cb@entry=0x55d83478cc20 
<_lgs_cb>, ckpt_msg=ckpt_msg@entry=0x7ffc9afc7270, 
cbk_arg=cbk_arg@entry=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv_v8.cc:185
#10 0x55d83474c831 in ckpt_decode_async_update (cb=0x55d83478cc20 
<_lgs_cb>, cbk_arg=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv.cc:1619
#11 0x55d83474e9ae in ckpt_decode_cbk_handler (cbk_arg=0x7ffc9afc7390) at 
src/log/logd/lgs_mbcsv.cc:1136
#12 mbcsv_callback (arg=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv.cc:636
#13 0x7fb7e1eef44a in ncs_mbscv_rcv_decode (peer=peer@entry=0x55d8352ecbd0, 
evt=evt@entry=0x7fb7d40069c0) at src/mbc/mbcsv_act.c:409
#14 0x7fb7e1eef5e6 in ncs_mbcsv_rcv_async_update (peer=0x55d8352ecbd0, 
evt=0x7fb7d40069c0) at src/mbc/mbcsv_act.c:460
#15 0x7fb7e1ef6485 in mbcsv_process_events (rcvd_evt=0x7fb7d40069c0, 
mbcsv_hdl=mbcsv_hdl@entry=4293918753) at src/mbc/mbcsv_pr_evts.c:166
#16 0x7fb7e1ef65f7 in mbcsv_hdl_dispatch_all (mbcsv_hdl=4293918753, 
mbx=, mbx@entry=4288675841) at src/mbc/mbcsv_pr_evts.c:271
#17 0x7fb7e1ef0b2a in mbcsv_process_dispatch_request (arg=0x7ffc9afc74e0) 
at src/mbc/mbcsv_api.c:426
#18 0x55d83474a02a in lgs_mbcsv_dispatch (mbcsv_hdl=) at 
src/log/logd/lgs_mbcsv.cc:509
#19 0x55d8347262cd in main (argc=, argv=) at 
src/log/logd/lgs_main.cc:592
~~~



---

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


[tickets] [opensaf:tickets] #3334 log: osaflogd coredump after receiving a peer checkpoint

2023-04-05 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3334] log: osaflogd coredump  after receiving a peer checkpoint**

**Status:** accepted
**Milestone:** 5.23.07
**Created:** Thu Apr 06, 2023 04:10 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Apr 06, 2023 04:10 AM UTC
**Owner:** Thien Minh Huynh


Reproduce:
- Make NFS hang
- Make out of sync on standby
- Make NFS normal
- Trigger switch-over
- expect osaflogd on stanby coredump when got peer checkpoint 

backtrace
~~~
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/lib/opensaf/osaflogd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __gnu_cxx::__atomic_add (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
96  /usr/include/c++/9/ext/atomicity.h: No such file or directory.
[Current thread is 1 (Thread 0x7fb7e18e2bc0 (LWP 252))]
(gdb) bt
#0  __gnu_cxx::__atomic_add (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
#1  __gnu_cxx::__atomic_add_dispatch (__val=1, __mem=0x469) at 
/usr/include/c++/9/ext/atomicity.h:96
#2  std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy 
(this=0x461) at /usr/include/c++/9/bits/shared_ptr_base.h:139
#3  std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count (__r=..., 
this=) at /usr/include/c++/9/bits/shared_ptr_base.h:737
#4  std::__shared_ptr::__shared_ptr 
(this=) at /usr/include/c++/9/bits/shared_ptr_base.h:1167
#5  std::shared_ptr::shared_ptr (this=) at 
/usr/include/c++/9/bits/shared_ptr.h:129
#6  Cache::Front (this=0x55d83478c7c0 ) at 
./src/log/logd/lgs_cache.h:230
#7  ckpt_proc_pop_write_async (cb=, data=0x7ffc9afc7270) at 
src/log/logd/lgs_mbcsv_v8.cc:229
#8  0x55d83474c584 in ckpt_decode_log_struct (cb=cb@entry=0x55d83478cc20 
<_lgs_cb>, cbk_arg=cbk_arg@entry=0x7ffc9afc7390, 
ckpt_msg=ckpt_msg@entry=0x7ffc9afc7270, struct_ptr=,
struct_ptr@entry=0x7ffc9afc7280,
edp_function=edp_function@entry=0x55d83476d860 
)
at src/log/logd/lgs_mbcsv.cc:1206
#9  0x55d83476dc3a in DecodePopAndWriteAsync (cb=cb@entry=0x55d83478cc20 
<_lgs_cb>, ckpt_msg=ckpt_msg@entry=0x7ffc9afc7270, 
cbk_arg=cbk_arg@entry=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv_v8.cc:185
#10 0x55d83474c831 in ckpt_decode_async_update (cb=0x55d83478cc20 
<_lgs_cb>, cbk_arg=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv.cc:1619
#11 0x55d83474e9ae in ckpt_decode_cbk_handler (cbk_arg=0x7ffc9afc7390) at 
src/log/logd/lgs_mbcsv.cc:1136
#12 mbcsv_callback (arg=0x7ffc9afc7390) at src/log/logd/lgs_mbcsv.cc:636
#13 0x7fb7e1eef44a in ncs_mbscv_rcv_decode (peer=peer@entry=0x55d8352ecbd0, 
evt=evt@entry=0x7fb7d40069c0) at src/mbc/mbcsv_act.c:409
#14 0x7fb7e1eef5e6 in ncs_mbcsv_rcv_async_update (peer=0x55d8352ecbd0, 
evt=0x7fb7d40069c0) at src/mbc/mbcsv_act.c:460
#15 0x7fb7e1ef6485 in mbcsv_process_events (rcvd_evt=0x7fb7d40069c0, 
mbcsv_hdl=mbcsv_hdl@entry=4293918753) at src/mbc/mbcsv_pr_evts.c:166
#16 0x7fb7e1ef65f7 in mbcsv_hdl_dispatch_all (mbcsv_hdl=4293918753, 
mbx=, mbx@entry=4288675841) at src/mbc/mbcsv_pr_evts.c:271
#17 0x7fb7e1ef0b2a in mbcsv_process_dispatch_request (arg=0x7ffc9afc74e0) 
at src/mbc/mbcsv_api.c:426
#18 0x55d83474a02a in lgs_mbcsv_dispatch (mbcsv_hdl=) at 
src/log/logd/lgs_mbcsv.cc:509
#19 0x55d8347262cd in main (argc=, argv=) at 
src/log/logd/lgs_main.cc:592
~~~



---

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


[tickets] [opensaf:tickets] #2696 clm: Update the clm-adm command-line tool to support new admin-ops

2023-03-24 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: unassigned --> review
- **assigned_to**: Nguyen Quoc Khanh
- **Part**: - --> tools



---

** [tickets:#2696] clm: Update the clm-adm command-line tool to support new 
admin-ops**

**Status:** review
**Milestone:** future
**Created:** Tue Nov 21, 2017 05:11 PM UTC by Anders Widell
**Last Updated:** Wed Jan 09, 2019 09:34 PM UTC
**Owner:** Nguyen Quoc Khanh


Refer to this mailing list post: 
[opensaf-devel](https://sourceforge.net/p/opensaf/mailman/message/36092893/)

The clm-adm command-line tool should be updated to support the new admin-ops 
added in ticket [#2649].


---

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


[tickets] [opensaf:tickets] #3106 dtm: flush the logtrace asap when the logtrace owner is terminated

2023-02-20 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Milestone**: future --> 5.23.03
- **Comment**:

commit 9c34b746228c65f96bb894082c910ac59cc951ef (HEAD -> develop, 
origin/develop, ticket-3106)
Author: thien.m.huynh 
Date:   Fri Oct 25 15:18:06 2019 +0700

dtm: flush logtrace asap when logtrace owner is terminated [#3106]

To avoid the risk of losing traces, logtrace server should flush traces
as soon as possible when logtrace owner is terminated.

This patch also refactors LogServer::Run().




---

** [tickets:#3106] dtm: flush the logtrace asap when the logtrace owner is 
terminated**

**Status:** fixed
**Milestone:** 5.23.03
**Created:** Thu Oct 24, 2019 03:57 AM UTC by Vu Minh Nguyen
**Last Updated:** Fri Nov 04, 2022 08:53 AM UTC
**Owner:** Thien Minh Huynh


This ticket will add a machanism in logtrace server, so that it can detect the 
logtrace owner terminated and does the flush right away to avoid losing traces 
from trace files.


---

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


[tickets] [opensaf:tickets] #3326 ntf: Syscall param socketcall.sendto(msg) points to uninitialised byte(s)

2022-12-07 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3326] ntf: Syscall param socketcall.sendto(msg) points to 
uninitialised byte(s)**

**Status:** review
**Milestone:** 5.23.03
**Created:** Fri Nov 25, 2022 04:01 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Nov 25, 2022 04:01 AM UTC
**Owner:** Thien Minh Huynh


Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
Uninitialised value was detected on ntfd and logd
~~~
==276== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==276==at 0x4B9F8A4: sendto (sendto.c:27)
==276==by 0x49590C2: mds_retry_sendto (mds_dt_tipc.c:3154)
==276==by 0x49592A8: mdtm_sendto (mds_dt_tipc.c:3211)
==276==by 0x4959F79: mds_mdtm_send_tipc (mds_dt_tipc.c:2815)
==276==by 0x4944FAC: mcm_msg_encode_full_or_flat_and_send 
(mds_c_sndrcv.c:1774)
==276==by 0x4946780: mds_mcm_send_msg_enc (mds_c_sndrcv.c:1255)
==276==by 0x4946D27: mcm_pvt_red_snd_process_common (mds_c_sndrcv.c:2664)
==276==by 0x4949DCF: mcm_pvt_red_svc_sndrsp (mds_c_sndrcv.c:3809)
==276==by 0x4949DCF: mds_mcm_send (mds_c_sndrcv.c:862)
==276==by 0x4949DCF: mds_send (mds_c_sndrcv.c:458)
==276==by 0x495257F: ncsmds_api (mds_papi.c:165)
==276==by 0x4936E66: mbcsv_mds_send_msg (mbcsv_mds.c:245)
==276==by 0x493C786: mbcsv_send_ckpt_data_to_all_peers (mbcsv_util.c:502)
==276==by 0x4935482: mbcsv_process_snd_ckpt_request (mbcsv_api.c:847)
==276==  Address 0x70e56f0 is 80 bytes inside a block of size 81 alloc'd
==276==at 0x483DD99: calloc (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==276==by 0x4959972: mds_mdtm_send_tipc (mds_dt_tipc.c:2734)
==276==by 0x4944FAC: mcm_msg_encode_full_or_flat_and_send 
(mds_c_sndrcv.c:1774)
==276==by 0x4946780: mds_mcm_send_msg_enc (mds_c_sndrcv.c:1255)
==276==by 0x4946D27: mcm_pvt_red_snd_process_common (mds_c_sndrcv.c:2664)
==276==by 0x4949DCF: mcm_pvt_red_svc_sndrsp (mds_c_sndrcv.c:3809)
==276==by 0x4949DCF: mds_mcm_send (mds_c_sndrcv.c:862)
==276==by 0x4949DCF: mds_send (mds_c_sndrcv.c:458)
==276==by 0x495257F: ncsmds_api (mds_papi.c:165)
==276==by 0x4936E66: mbcsv_mds_send_msg (mbcsv_mds.c:245)
==276==by 0x493C786: mbcsv_send_ckpt_data_to_all_peers (mbcsv_util.c:502)
==276==by 0x4935482: mbcsv_process_snd_ckpt_request (mbcsv_api.c:847)
==276==by 0x11B8DD: ntfs_send_async_update (ntfs_mbcsv.c:1715)
==276==by 0x1183A0: update_standby (ntfs_evt.c:321)
==276==  Uninitialised value was created by a heap allocation
==276==at 0x483B7F3: malloc (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==276==by 0x492ED1D: sysf_alloc_pkt (sysf_mem.c:441)
==276==by 0x491DCC1: ncs_enc_init_space (hj_ubaid.c:108)
==276==by 0x493C49F: mbcsv_send_ckpt_data_to_all_peers (mbcsv_util.c:430)
==276==by 0x4935482: mbcsv_process_snd_ckpt_request (mbcsv_api.c:847)
==276==by 0x11B8DD: ntfs_send_async_update (ntfs_mbcsv.c:1715)
==276==by 0x1183A0: update_standby (ntfs_evt.c:321)
==276==by 0x11E809: sendReadNextUpdate (ntfs_com.c:648)
==276==by 0x128B0B: NtfClient::readNext(ntfsv_read_next_req_t, 
mds_sync_snd_ctxt*) (NtfClient.cc:417)
==276==by 0x12A2F6: NtfAdmin::readNext(ntfsv_read_next_req_t, 
mds_sync_snd_ctxt*) (NtfAdmin.cc:904)
==276==by 0x117A15: proc_read_next_msg (ntfs_evt.c:703)
==276==by 0x11781D: process_api_evt (ntfs_evt.c:738)
~~~

~~~
==262== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==262==at 0x4BCC8A4: sendto (sendto.c:27)
==262==by 0x4986082: mds_retry_sendto (mds_dt_tipc.c:3154)
==262==by 0x4986268: mdtm_sendto (mds_dt_tipc.c:3211)
==262==by 0x4986F39: mds_mdtm_send_tipc (mds_dt_tipc.c:2815)
==262==by 0x4971F6C: mcm_msg_encode_full_or_flat_and_send 
(mds_c_sndrcv.c:1774)
==262==by 0x4973740: mds_mcm_send_msg_enc (mds_c_sndrcv.c:1255)
==262==by 0x4973CE7: mcm_pvt_red_snd_process_common (mds_c_sndrcv.c:2664)
==262==by 0x4977001: mcm_pvt_red_svc_snd (mds_c_sndrcv.c:2526)
==262==by 0x4977001: mds_mcm_send (mds_c_sndrcv.c:849)
==262==by 0x4977001: mds_send (mds_c_sndrcv.c:458)
==262==by 0x497F53F: ncsmds_api (mds_papi.c:165)
==262==by 0x4963F9D: mbcsv_mds_send_msg (mbcsv_mds.c:245)
==262==by 0x496A71C: mbcsv_send_msg (mbcsv_util.c:1047)
==262==by 0x4967474: mbcsv_process_events (mbcsv_pr_evts.c:166)
==262==  Address 0x52ae716 is 54 bytes inside a block of size 866 alloc'd
==262==at 0x483DD99: calloc (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==262==by 0x4986932: mds_mdtm_send_tipc (mds_dt_tipc.c:2734)
==262==by 0x4971F6C: mcm_msg_encode_full_or_flat_and_send 
(mds_c_sndrcv.c:1774)
==262==by 0x4973740: mds_mcm_send_msg_enc (mds_c_sndrcv.c:1255)
==262==by 0x4973CE7: mcm_pvt_red_snd_process_common (mds_c_sndrcv.c:2664)
==262==by 0x4977001: mcm_pvt_red_svc_snd (mds_c_sndrcv.c:2526)
==262==by 0x4977001: mds_mcm_send 

[tickets] [opensaf:tickets] #3326 ntf: Syscall param socketcall.sendto(msg) points to uninitialised byte(s)

2022-11-24 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3326] ntf: Syscall param socketcall.sendto(msg) points to 
uninitialised byte(s)**

**Status:** accepted
**Milestone:** 5.23.03
**Created:** Fri Nov 25, 2022 04:01 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Nov 25, 2022 04:01 AM UTC
**Owner:** Thien Minh Huynh


Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
Uninitialised value was detected on ntfd and logd
~~~
==276== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==276==at 0x4B9F8A4: sendto (sendto.c:27)
==276==by 0x49590C2: mds_retry_sendto (mds_dt_tipc.c:3154)
==276==by 0x49592A8: mdtm_sendto (mds_dt_tipc.c:3211)
==276==by 0x4959F79: mds_mdtm_send_tipc (mds_dt_tipc.c:2815)
==276==by 0x4944FAC: mcm_msg_encode_full_or_flat_and_send 
(mds_c_sndrcv.c:1774)
==276==by 0x4946780: mds_mcm_send_msg_enc (mds_c_sndrcv.c:1255)
==276==by 0x4946D27: mcm_pvt_red_snd_process_common (mds_c_sndrcv.c:2664)
==276==by 0x4949DCF: mcm_pvt_red_svc_sndrsp (mds_c_sndrcv.c:3809)
==276==by 0x4949DCF: mds_mcm_send (mds_c_sndrcv.c:862)
==276==by 0x4949DCF: mds_send (mds_c_sndrcv.c:458)
==276==by 0x495257F: ncsmds_api (mds_papi.c:165)
==276==by 0x4936E66: mbcsv_mds_send_msg (mbcsv_mds.c:245)
==276==by 0x493C786: mbcsv_send_ckpt_data_to_all_peers (mbcsv_util.c:502)
==276==by 0x4935482: mbcsv_process_snd_ckpt_request (mbcsv_api.c:847)
==276==  Address 0x70e56f0 is 80 bytes inside a block of size 81 alloc'd
==276==at 0x483DD99: calloc (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==276==by 0x4959972: mds_mdtm_send_tipc (mds_dt_tipc.c:2734)
==276==by 0x4944FAC: mcm_msg_encode_full_or_flat_and_send 
(mds_c_sndrcv.c:1774)
==276==by 0x4946780: mds_mcm_send_msg_enc (mds_c_sndrcv.c:1255)
==276==by 0x4946D27: mcm_pvt_red_snd_process_common (mds_c_sndrcv.c:2664)
==276==by 0x4949DCF: mcm_pvt_red_svc_sndrsp (mds_c_sndrcv.c:3809)
==276==by 0x4949DCF: mds_mcm_send (mds_c_sndrcv.c:862)
==276==by 0x4949DCF: mds_send (mds_c_sndrcv.c:458)
==276==by 0x495257F: ncsmds_api (mds_papi.c:165)
==276==by 0x4936E66: mbcsv_mds_send_msg (mbcsv_mds.c:245)
==276==by 0x493C786: mbcsv_send_ckpt_data_to_all_peers (mbcsv_util.c:502)
==276==by 0x4935482: mbcsv_process_snd_ckpt_request (mbcsv_api.c:847)
==276==by 0x11B8DD: ntfs_send_async_update (ntfs_mbcsv.c:1715)
==276==by 0x1183A0: update_standby (ntfs_evt.c:321)
==276==  Uninitialised value was created by a heap allocation
==276==at 0x483B7F3: malloc (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==276==by 0x492ED1D: sysf_alloc_pkt (sysf_mem.c:441)
==276==by 0x491DCC1: ncs_enc_init_space (hj_ubaid.c:108)
==276==by 0x493C49F: mbcsv_send_ckpt_data_to_all_peers (mbcsv_util.c:430)
==276==by 0x4935482: mbcsv_process_snd_ckpt_request (mbcsv_api.c:847)
==276==by 0x11B8DD: ntfs_send_async_update (ntfs_mbcsv.c:1715)
==276==by 0x1183A0: update_standby (ntfs_evt.c:321)
==276==by 0x11E809: sendReadNextUpdate (ntfs_com.c:648)
==276==by 0x128B0B: NtfClient::readNext(ntfsv_read_next_req_t, 
mds_sync_snd_ctxt*) (NtfClient.cc:417)
==276==by 0x12A2F6: NtfAdmin::readNext(ntfsv_read_next_req_t, 
mds_sync_snd_ctxt*) (NtfAdmin.cc:904)
==276==by 0x117A15: proc_read_next_msg (ntfs_evt.c:703)
==276==by 0x11781D: process_api_evt (ntfs_evt.c:738)
~~~

~~~
==262== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==262==at 0x4BCC8A4: sendto (sendto.c:27)
==262==by 0x4986082: mds_retry_sendto (mds_dt_tipc.c:3154)
==262==by 0x4986268: mdtm_sendto (mds_dt_tipc.c:3211)
==262==by 0x4986F39: mds_mdtm_send_tipc (mds_dt_tipc.c:2815)
==262==by 0x4971F6C: mcm_msg_encode_full_or_flat_and_send 
(mds_c_sndrcv.c:1774)
==262==by 0x4973740: mds_mcm_send_msg_enc (mds_c_sndrcv.c:1255)
==262==by 0x4973CE7: mcm_pvt_red_snd_process_common (mds_c_sndrcv.c:2664)
==262==by 0x4977001: mcm_pvt_red_svc_snd (mds_c_sndrcv.c:2526)
==262==by 0x4977001: mds_mcm_send (mds_c_sndrcv.c:849)
==262==by 0x4977001: mds_send (mds_c_sndrcv.c:458)
==262==by 0x497F53F: ncsmds_api (mds_papi.c:165)
==262==by 0x4963F9D: mbcsv_mds_send_msg (mbcsv_mds.c:245)
==262==by 0x496A71C: mbcsv_send_msg (mbcsv_util.c:1047)
==262==by 0x4967474: mbcsv_process_events (mbcsv_pr_evts.c:166)
==262==  Address 0x52ae716 is 54 bytes inside a block of size 866 alloc'd
==262==at 0x483DD99: calloc (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==262==by 0x4986932: mds_mdtm_send_tipc (mds_dt_tipc.c:2734)
==262==by 0x4971F6C: mcm_msg_encode_full_or_flat_and_send 
(mds_c_sndrcv.c:1774)
==262==by 0x4973740: mds_mcm_send_msg_enc (mds_c_sndrcv.c:1255)
==262==by 0x4973CE7: mcm_pvt_red_snd_process_common (mds_c_sndrcv.c:2664)
==262==by 0x4977001: mcm_pvt_red_svc_snd (mds_c_sndrcv.c:2526)
==262==by 0x4977001: mds_mcm_send (mds_c_sndrcv.c:849)
==262==by 

[tickets] [opensaf:tickets] #3106 dtm: flush the logtrace asap when the logtrace owner is terminated

2022-11-04 Thread Thien Minh Huynh via Opensaf-tickets
- **assigned_to**: Vu Minh Nguyen --> Thien Minh Huynh



---

** [tickets:#3106] dtm: flush the logtrace asap when the logtrace owner is 
terminated**

**Status:** review
**Milestone:** future
**Created:** Thu Oct 24, 2019 03:57 AM UTC by Vu Minh Nguyen
**Last Updated:** Tue Sep 14, 2021 06:24 AM UTC
**Owner:** Thien Minh Huynh


This ticket will add a machanism in logtrace server, so that it can detect the 
logtrace owner terminated and does the flush right away to avoid losing traces 
from trace files.


---

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


[tickets] [opensaf:tickets] #3299 immnd: unexpected reboot node after merge network back

2022-10-10 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: assigned --> not-reproducible



---

** [tickets:#3299] immnd: unexpected reboot node  after merge network back**

**Status:** not-reproducible
**Milestone:** 5.22.11
**Created:** Wed Dec 01, 2021 03:07 AM UTC by Huu The Truong
**Last Updated:** Tue Oct 11, 2022 05:37 AM UTC
**Owner:** Huu The Truong


Split network into two partitions. On each partition, create a dummy object.
During merge network back has happened twice the reboot node.

The first reboot node:
2021-09-07 12:20:06.926 SC-7 osafimmnd[376]: NO Used to be on another 
partition. Rebooting...
2021-09-07 12:20:06.935 SC-7 osafamfnd[431]: NO AVD NEW_ACTIVE, adest:1
2021-09-07 12:20:06.935 SC-7 osafimmnd[376]: Quick local node rebooting, 
Reason: Used to be on another partition. Rebooting...
2021-09-07 12:20:06.952 SC-7 opensaf_reboot: Do quick local node reboot

At the second, this reboot is unexpected:
2021-09-07 12:20:11.963 SC-7 osafimmnd[376]: NO Used to be on another 
partition. Rebooting...
2021-09-07 12:20:11.963 SC-7 osafimmnd[376]: Quick local node rebooting, 
Reason: Used to be on another partition. Rebooting...
2021-09-07 12:20:11.989 SC-7 osafclmna[333]: NO 
safNode=SC-7,safCluster=myClmCluster Joined cluster, nodeid=2070f
2021-09-07 12:20:11.992 SC-7 opensaf_reboot: Do quick local node reboot
2021-09-07 12:20:12.022 SC-7 opensafd[305]: ER Service RDE has unexpectedly 
crashed. Unable to continue, exiting


---

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


[tickets] [opensaf:tickets] #3299 immnd: unexpected reboot node after merge network back

2022-10-10 Thread Thien Minh Huynh via Opensaf-tickets
Hi Mohan,

On behalf of Huu, I would like to share some information on the issue. 
The issue occurs when the network is split into partitions: 
partition1 = [SC-1, SC-2, SC-3, SC-4, SC-5]
partition2 = [SC-6, SC-7, SC-8, SC-9, SC-10]
I am not able to reproduce the issue. And the issue has not been seen again in 
a long time. I will close ticket as not reproduce.

Best Regards,
Thien


---

** [tickets:#3299] immnd: unexpected reboot node  after merge network back**

**Status:** assigned
**Milestone:** 5.22.11
**Created:** Wed Dec 01, 2021 03:07 AM UTC by Huu The Truong
**Last Updated:** Fri Oct 07, 2022 05:30 PM UTC
**Owner:** Huu The Truong


Split network into two partitions. On each partition, create a dummy object.
During merge network back has happened twice the reboot node.

The first reboot node:
2021-09-07 12:20:06.926 SC-7 osafimmnd[376]: NO Used to be on another 
partition. Rebooting...
2021-09-07 12:20:06.935 SC-7 osafamfnd[431]: NO AVD NEW_ACTIVE, adest:1
2021-09-07 12:20:06.935 SC-7 osafimmnd[376]: Quick local node rebooting, 
Reason: Used to be on another partition. Rebooting...
2021-09-07 12:20:06.952 SC-7 opensaf_reboot: Do quick local node reboot

At the second, this reboot is unexpected:
2021-09-07 12:20:11.963 SC-7 osafimmnd[376]: NO Used to be on another 
partition. Rebooting...
2021-09-07 12:20:11.963 SC-7 osafimmnd[376]: Quick local node rebooting, 
Reason: Used to be on another partition. Rebooting...
2021-09-07 12:20:11.989 SC-7 osafclmna[333]: NO 
safNode=SC-7,safCluster=myClmCluster Joined cluster, nodeid=2070f
2021-09-07 12:20:11.992 SC-7 opensaf_reboot: Do quick local node reboot
2021-09-07 12:20:12.022 SC-7 opensafd[305]: ER Service RDE has unexpectedly 
crashed. Unable to continue, exiting


---

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


[tickets] [opensaf:tickets] #3321 imm: multiple value attribute is out of order after cluster reboot

2022-09-21 Thread Thien Minh Huynh via Opensaf-tickets
- **Part**: nd --> lib



---

** [tickets:#3321] imm: multiple value attribute is out of order after cluster 
reboot**

**Status:** fixed
**Milestone:** 5.22.11
**Created:** Tue Sep 20, 2022 09:11 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Sep 21, 2022 07:19 AM UTC
**Owner:** Thien Minh Huynh


Multiple value attribute is out of order after cluster reboot.
expected value: hosts=192.168.0.1|192.168.0.2|192.168.0.3|192.168.0.4
but received: hosts=192.168.0.1|192.168.0.4|192.168.0.3|192.168.0.2

step reproduce:
1. Create class and a object has multiple value attribute same as schema.
`immcfg -f `
`immcfg -c TestMultipleValue -a hosts="192.168.0.1" -a hosts="192.168.0.2" -a 
hosts="192.168.0.3" -a hosts="192.168.0.4" testMultipleValue=1`
2. Check value before cluster restart
`immlist testMultipleValue=1 -a host -d "|"`
3. Cluster reboot
`immadm -o 4 safCluster=myClmCluster`
hosts=192.168.0.1|192.168.0.2|192.168.0.3|192.168.0.4
4. Check value after cluster restart
`immlist testMultipleValue=1 -a host -d "|"`
hosts=192.168.0.1|192.168.0.4|192.168.0.3|192.168.0.2

~~~



SA_CONFIG

testMultipleValue
SA_STRING_T
SA_CONFIG
SA_INITIALIZED


hosts
SA_STRING_T
SA_CONFIG
SA_WRITABLE
SA_MULTI_VALUE




~~~


---

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


[tickets] [opensaf:tickets] #3321 imm: multiple value attribute is out of order after cluster reboot

2022-09-21 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 3beb5ab488600d4e4978084b8ea801a6de60ab15 (HEAD -> develop, 
origin/develop, ticket-3321)
Author: thien.m.huynh 
Date:   Tue Sep 20 17:13:00 2022 +0700

imm: fix multiple value attribute out of order [#3321]

Create an object that has multiple value attributes.
After that, IMMND send the create callback to IMMPBED.
But the value is sent in the same order as when it was created.
IMMND will load data from immpbed after the cluster reboots.
That leads to multiple values being out of order after the reboot.

This is to correct the order of multiple values in the OI/OM callback.
when loaded from sqlite, change push_front to push_back.



---

** [tickets:#3321] imm: multiple value attribute is out of order after cluster 
reboot**

**Status:** fixed
**Milestone:** 5.22.11
**Created:** Tue Sep 20, 2022 09:11 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Sep 20, 2022 10:50 AM UTC
**Owner:** Thien Minh Huynh


Multiple value attribute is out of order after cluster reboot.
expected value: hosts=192.168.0.1|192.168.0.2|192.168.0.3|192.168.0.4
but received: hosts=192.168.0.1|192.168.0.4|192.168.0.3|192.168.0.2

step reproduce:
1. Create class and a object has multiple value attribute same as schema.
`immcfg -f `
`immcfg -c TestMultipleValue -a hosts="192.168.0.1" -a hosts="192.168.0.2" -a 
hosts="192.168.0.3" -a hosts="192.168.0.4" testMultipleValue=1`
2. Check value before cluster restart
`immlist testMultipleValue=1 -a host -d "|"`
3. Cluster reboot
`immadm -o 4 safCluster=myClmCluster`
hosts=192.168.0.1|192.168.0.2|192.168.0.3|192.168.0.4
4. Check value after cluster restart
`immlist testMultipleValue=1 -a host -d "|"`
hosts=192.168.0.1|192.168.0.4|192.168.0.3|192.168.0.2

~~~



SA_CONFIG

testMultipleValue
SA_STRING_T
SA_CONFIG
SA_INITIALIZED


hosts
SA_STRING_T
SA_CONFIG
SA_WRITABLE
SA_MULTI_VALUE




~~~


---

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


[tickets] [opensaf:tickets] #3321 imm: multiple value attribute is out of order after cluster reboot

2022-09-20 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3321] imm: multiple value attribute is out of order after cluster 
reboot**

**Status:** review
**Milestone:** 5.22.11
**Created:** Tue Sep 20, 2022 09:11 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Sep 20, 2022 09:11 AM UTC
**Owner:** Thien Minh Huynh


Multiple value attribute is out of order after cluster reboot.
expected value: hosts=192.168.0.1|192.168.0.2|192.168.0.3|192.168.0.4
but received: hosts=192.168.0.1|192.168.0.4|192.168.0.3|192.168.0.2

step reproduce:
1. Create class and a object has multiple value attribute same as schema.
`immcfg -f `
`immcfg -c TestMultipleValue -a hosts="192.168.0.1" -a hosts="192.168.0.2" -a 
hosts="192.168.0.3" -a hosts="192.168.0.4" testMultipleValue=1`
2. Check value before cluster restart
`immlist testMultipleValue=1 -a host -d "|"`
3. Cluster reboot
`immadm -o 4 safCluster=myClmCluster`
hosts=192.168.0.1|192.168.0.2|192.168.0.3|192.168.0.4
4. Check value after cluster restart
`immlist testMultipleValue=1 -a host -d "|"`
hosts=192.168.0.1|192.168.0.4|192.168.0.3|192.168.0.2

~~~



SA_CONFIG

testMultipleValue
SA_STRING_T
SA_CONFIG
SA_INITIALIZED


hosts
SA_STRING_T
SA_CONFIG
SA_WRITABLE
SA_MULTI_VALUE




~~~


---

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


[tickets] [opensaf:tickets] #3321 imm: multiple value attribute is out of order after cluster reboot

2022-09-20 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3321] imm: multiple value attribute is out of order after cluster 
reboot**

**Status:** accepted
**Milestone:** 5.22.11
**Created:** Tue Sep 20, 2022 09:11 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Sep 20, 2022 09:11 AM UTC
**Owner:** Thien Minh Huynh


Multiple value attribute is out of order after cluster reboot.
expected value: hosts=192.168.0.1|192.168.0.2|192.168.0.3|192.168.0.4
but received: hosts=192.168.0.1|192.168.0.4|192.168.0.3|192.168.0.2

step reproduce:
1. Create class and a object has multiple value attribute same as schema.
`immcfg -f `
`immcfg -c TestMultipleValue -a hosts="192.168.0.1" -a hosts="192.168.0.2" -a 
hosts="192.168.0.3" -a hosts="192.168.0.4" testMultipleValue=1`
2. Check value before cluster restart
`immlist testMultipleValue=1 -a host -d "|"`
3. Cluster reboot
`immadm -o 4 safCluster=myClmCluster`
hosts=192.168.0.1|192.168.0.2|192.168.0.3|192.168.0.4
4. Check value after cluster restart
`immlist testMultipleValue=1 -a host -d "|"`
hosts=192.168.0.1|192.168.0.4|192.168.0.3|192.168.0.2

~~~



SA_CONFIG

testMultipleValue
SA_STRING_T
SA_CONFIG
SA_INITIALIZED


hosts
SA_STRING_T
SA_CONFIG
SA_WRITABLE
SA_MULTI_VALUE




~~~


---

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


[tickets] [opensaf:tickets] #3320 log: delete the empty log file when rotate log file

2022-08-15 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 0b96adb085209e43bcb643b4c998f43c283c30e4 (HEAD -> develop, 
origin/develop, ticket-3320)
Author: thien.m.huynh 
Date:   Thu Aug 4 08:59:34 2022 +0700

log: delete the empty log file when rotate log file [#3320]

When performing an admin op command with id = 2 (SA_LOG_ADMIN_ROTATE_FILE)
without parameters and there are no log record in the stream.
There will be a empty log file created.

By checking the size of the stream, this ticket avoids creating an empty
log file. Osaflogd will remove the current file If there are no log records
in the stream and create a new file with a new timestamp.



---

** [tickets:#3320] log: delete the empty log file when rotate log file**

**Status:** fixed
**Milestone:** 5.22.11
**Created:** Mon Jul 18, 2022 07:07 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Aug 04, 2022 07:50 AM UTC
**Owner:** Thien Minh Huynh


In some cases, the users want to delete the empty log file at the time of 
rotation. This is to avoid messy empty log files when scheduled to log rotate.
Improve the enhancement of ticket #3046


---

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


[tickets] [opensaf:tickets] #3320 log: delete the empty log file when rotate log file

2022-08-04 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3320] log: delete the empty log file when rotate log file**

**Status:** review
**Milestone:** 5.22.11
**Created:** Mon Jul 18, 2022 07:07 AM UTC by Thien Minh Huynh
**Last Updated:** Mon Jul 18, 2022 07:07 AM UTC
**Owner:** Thien Minh Huynh


In some cases, the users want to delete the empty log file at the time of 
rotation. This is to avoid messy empty log files when scheduled to log rotate.
Improve the enhancement of ticket #3046


---

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


[tickets] [opensaf:tickets] #3320 log: delete the empty log file when rotate log file

2022-07-18 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3320] log: delete the empty log file when rotate log file**

**Status:** accepted
**Milestone:** 5.22.11
**Created:** Mon Jul 18, 2022 07:07 AM UTC by Thien Minh Huynh
**Last Updated:** Mon Jul 18, 2022 07:07 AM UTC
**Owner:** Thien Minh Huynh


In some cases, the users want to delete the empty log file at the time of 
rotation. This is to avoid messy empty log files when scheduled to log rotate.
Improve the enhancement of ticket #3046


---

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


[tickets] [opensaf:tickets] #3316 base: increase buffer for list of members in a group

2022-06-09 Thread Thien Minh Huynh via Opensaf-tickets
commit 12553142ea53b5ea1b608cdac64973a50dd231ee (HEAD -> develop, 
origin/develop, ticket-3316)
Author: thien.m.huynh 
Date:   Tue Jun 7 13:08:32 2022 +0700

base: Correctly use the MAX_GRP_MEM_BUF_SIZE [#3316]

Reset errno to prevent ERANGE unexpected.
Align realloc memory with MAX_GRP_MEM_BUF_SIZE.
Improve logging for unexpected configure.


---

** [tickets:#3316] base: increase buffer for list of members in a group**

**Status:** fixed
**Milestone:** 5.22.11
**Created:** Tue May 24, 2022 03:36 AM UTC by PhanTranQuocDat
**Last Updated:** Thu Jun 02, 2022 01:04 PM UTC
**Owner:** PhanTranQuocDat


When access imm, a user needs to be authenticated to be superuser or  a member 
of authorized group.  In case authorized group has too many users, the default 
system buffer is insufficient to contain leading to  error: Numerical result 
out of range.



---

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


[tickets] [opensaf:tickets] #3305 imm: immnd coredump during authenticate non-local user

2022-02-08 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> fixed
- **Comment**:

commit e5a19e7770b1ad3a99af88252dddec6b7f875b54 (HEAD -> develop, 
origin/develop, ticket-3305)
Author: thien.m.huynh 
Date:   Tue Feb 8 13:38:42 2022 +0700

base: fix immnd crash when authenticate non-local user [#3305]

Correct length of buffer and init memory when allocate memory.



---

** [tickets:#3305] imm: immnd coredump during authenticate non-local user**

**Status:** fixed
**Milestone:** 5.22.04
**Created:** Tue Feb 08, 2022 03:13 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Feb 08, 2022 03:13 AM UTC
**Owner:** Thien Minh Huynh


Coredump generated as following
~~~
#0  0x7f98bc3be0d7 in raise () from /lib64/libc.so.6
#1  0x7f98bc3bf4aa in abort () from /lib64/libc.so.6
#2  0x7f98bc3fd334 in __libc_message () from /lib64/libc.so.6
#3  0x7f98bc4027a6 in malloc_printerr () from /lib64/libc.so.6
#4  0x7f98bc4035eb in _int_free () from /lib64/libc.so.6
#5  0x7f98bd38d197 in osaf_pid_has_supplementary_group (pid=, groupname=groupname@entry=0x5596baf7eef0 "users") at 
src/base/osaf_secutil.c:377
#6  0x5596b8fd0156 in immnd_evt_proc_imm_init (cb=cb@entry=0x5596b925d060 
<_immnd_cb>, evt=evt@entry=0x7f98ac0124d0, sinfo=sinfo@entry=0x7f98ac012610, 
isOm=isOm@entry=true) at src/imm/immnd/immnd_evt.c:939
#7  0x5596b8fdc162 in immnd_process_evt () at src/imm/immnd/immnd_evt.c:659
#8  0x5596b8fce084 in main (argc=, argv=) at 
src/imm/immnd/immnd_main.c:586
~~~


---

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


[tickets] [opensaf:tickets] #3305 imm: immnd coredump during authenticate non-local user

2022-02-07 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3305] imm: immnd coredump during authenticate non-local user**

**Status:** accepted
**Milestone:** 5.22.04
**Created:** Tue Feb 08, 2022 03:13 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Feb 08, 2022 03:13 AM UTC
**Owner:** Thien Minh Huynh


Coredump generated as following
~~~
#0  0x7f98bc3be0d7 in raise () from /lib64/libc.so.6
#1  0x7f98bc3bf4aa in abort () from /lib64/libc.so.6
#2  0x7f98bc3fd334 in __libc_message () from /lib64/libc.so.6
#3  0x7f98bc4027a6 in malloc_printerr () from /lib64/libc.so.6
#4  0x7f98bc4035eb in _int_free () from /lib64/libc.so.6
#5  0x7f98bd38d197 in osaf_pid_has_supplementary_group (pid=, groupname=groupname@entry=0x5596baf7eef0 "users") at 
src/base/osaf_secutil.c:377
#6  0x5596b8fd0156 in immnd_evt_proc_imm_init (cb=cb@entry=0x5596b925d060 
<_immnd_cb>, evt=evt@entry=0x7f98ac0124d0, sinfo=sinfo@entry=0x7f98ac012610, 
isOm=isOm@entry=true) at src/imm/immnd/immnd_evt.c:939
#7  0x5596b8fdc162 in immnd_process_evt () at src/imm/immnd/immnd_evt.c:659
#8  0x5596b8fce084 in main (argc=, argv=) at 
src/imm/immnd/immnd_main.c:586
~~~


---

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


[tickets] [opensaf:tickets] #3303 log: removal of letter 'C'/'R' from msgId in RFC5424 format

2022-01-10 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 04dcdc50d7a6cf96566d0b7571380f164e3c01cd (HEAD -> develop, 
origin/develop, ticket-3303)
Author: thien.m.huynh 
Date:   Tue Jan 4 09:45:32 2022 +0700

log: removal of letter 'C'/'R' from msgId in RFC5424 format [#3303]

Remove the 'C'/'R' character at the end of the “mgsid” field.
The purpose of remove to avoid the hashing of log streams
which have name of exactly 32 characters length.
Note: stream name length greater than 32 characters will not be impacted.



---

** [tickets:#3303] log: removal of letter 'C'/'R' from msgId in RFC5424 format**

**Status:** fixed
**Milestone:** 5.21.12
**Created:** Thu Dec 30, 2021 07:04 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Jan 04, 2022 06:23 AM UTC
**Owner:** Thien Minh Huynh


Remove the 'C'/'R' character at the end of the “mgsid” field to avoid the 
hashing of log streams which have name of exactly 32 characters length.
The hashing will continue to be applied for log streams with names greater than 
32 characters. The hashing will continue not to be applied for log streams with 
names shorter than 32 characters.
Change: 
UC1:  Stream name length less than 32 characters

 . | Old behavior | New behavior
-- | -- | -- 
stream name  | saLogSystem  | saLogSystem 
msgId  | saLogSystemC   | saLogSystem 

UC2:  Stream name length equals 32 characters

 . | Old behavior | New behavior
-- | -- | -- 
stream name  | saLogConfNotificationsStreamName  | 
saLogConfNotificationsStreamName 
msgId  | C465C48452B011A62C640D1D08113628   | 
saLogConfNotificationsStreamName 



---

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


[tickets] [opensaf:tickets] #3303 log: removal of letter 'C'/'R' from msgId in RFC5424 format

2022-01-03 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3303] log: removal of letter 'C'/'R' from msgId in RFC5424 format**

**Status:** review
**Milestone:** 5.21.12
**Created:** Thu Dec 30, 2021 07:04 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Jan 04, 2022 01:56 AM UTC
**Owner:** Thien Minh Huynh


Remove the 'C'/'R' character at the end of the “mgsid” field to avoid the 
hashing of log streams which have name of exactly 32 characters length.
The hashing will continue to be applied for log streams with names greater than 
32 characters. The hashing will continue not to be applied for log streams with 
names shorter than 32 characters.
Change: 
UC1:  Stream name length less than 32 characters

 . | Old behavior | New behavior
-- | -- | -- 
stream name  | saLogSystem  | saLogSystem 
msgId  | saLogSystemC   | saLogSystem 

UC2:  Stream name length equals 32 characters

 . | Old behavior | New behavior
-- | -- | -- 
stream name  | saLogConfNotificationsStreamName  | 
saLogConfNotificationsStreamName 
msgId  | C465C48452B011A62C640D1D08113628   | 
saLogConfNotificationsStreamName 



---

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


[tickets] [opensaf:tickets] #3303 log: removal of letter 'C'/'R' from msgId in RFC5424 format

2022-01-03 Thread Thien Minh Huynh via Opensaf-tickets
- **summary**: log: removal of letter 'C'/R from msgId in RFC5424 format --> 
log: removal of letter 'C'/'R' from msgId in RFC5424 format
- Description has changed:

Diff:



--- old
+++ new
@@ -1,4 +1,5 @@
-Remove the 'C'/'R' character at the end of the “mgsid” field to avoid the 
hashing of log streams which have greater than 32 characters . 
+Remove the 'C'/'R' character at the end of the “mgsid” field to avoid the 
hashing of log streams which have name of exactly 32 characters length.
+The hashing will continue to be applied for log streams with names greater 
than 32 characters. The hashing will continue not to be applied for log streams 
with names shorter than 32 characters.
 Change: 
 UC1:  Stream name length less than 32 characters
 






---

** [tickets:#3303] log: removal of letter 'C'/'R' from msgId in RFC5424 format**

**Status:** accepted
**Milestone:** 5.21.12
**Created:** Thu Dec 30, 2021 07:04 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Dec 30, 2021 07:04 AM UTC
**Owner:** Thien Minh Huynh


Remove the 'C'/'R' character at the end of the “mgsid” field to avoid the 
hashing of log streams which have name of exactly 32 characters length.
The hashing will continue to be applied for log streams with names greater than 
32 characters. The hashing will continue not to be applied for log streams with 
names shorter than 32 characters.
Change: 
UC1:  Stream name length less than 32 characters

 . | Old behavior | New behavior
-- | -- | -- 
stream name  | saLogSystem  | saLogSystem 
msgId  | saLogSystemC   | saLogSystem 

UC2:  Stream name length equals 32 characters

 . | Old behavior | New behavior
-- | -- | -- 
stream name  | saLogConfNotificationsStreamName  | 
saLogConfNotificationsStreamName 
msgId  | C465C48452B011A62C640D1D08113628   | 
saLogConfNotificationsStreamName 



---

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


[tickets] [opensaf:tickets] #3303 log: removal of letter 'C'/R from msgId in RFC5424 format

2021-12-29 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3303] log: removal of letter 'C'/R from msgId in RFC5424 format**

**Status:** accepted
**Milestone:** 5.21.12
**Created:** Thu Dec 30, 2021 07:04 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Dec 30, 2021 07:04 AM UTC
**Owner:** Thien Minh Huynh


Remove the 'C'/'R' character at the end of the “mgsid” field to avoid the 
hashing of log streams which have greater than 32 characters . 
Change: 
UC1:  Stream name length less than 32 characters

 . | Old behavior | New behavior
-- | -- | -- 
stream name  | saLogSystem  | saLogSystem 
msgId  | saLogSystemC   | saLogSystem 

UC2:  Stream name length equals 32 characters

 . | Old behavior | New behavior
-- | -- | -- 
stream name  | saLogConfNotificationsStreamName  | 
saLogConfNotificationsStreamName 
msgId  | C465C48452B011A62C640D1D08113628   | 
saLogConfNotificationsStreamName 



---

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


[tickets] [opensaf:tickets] #3300 dtm: osaftransportd replied Stream not found when delete stream

2021-12-09 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> wontfix



---

** [tickets:#3300] dtm: osaftransportd replied Stream not found when delete 
stream**

**Status:** wontfix
**Milestone:** 5.21.12
**Created:** Thu Dec 09, 2021 06:35 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Dec 09, 2021 07:32 AM UTC
**Owner:** Thien Minh Huynh


if delete stream right after enable trace, the error 'stream not found' will be 
raised.
The error sometimes cause confusion in the case of the wrong stream name.
~~~
root@SC-1:~# osaflog --delete osafimmnd
ERROR: osaftransportd replied 'Stream not found'
~~~


---

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


[tickets] [opensaf:tickets] #3300 dtm: osaftransportd replied Stream not found when delete stream

2021-12-08 Thread Thien Minh Huynh via Opensaf-tickets
- **Type**: defect --> enhancement



---

** [tickets:#3300] dtm: osaftransportd replied Stream not found when delete 
stream**

**Status:** accepted
**Milestone:** 5.21.12
**Created:** Thu Dec 09, 2021 06:35 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Dec 09, 2021 06:35 AM UTC
**Owner:** Thien Minh Huynh


if delete stream right after enable trace, the error 'stream not found' will be 
raised.
The error sometimes cause confusion in the case of the wrong stream name.
~~~
root@SC-1:~# osaflog --delete osafimmnd
ERROR: osaftransportd replied 'Stream not found'
~~~


---

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


[tickets] [opensaf:tickets] #3300 dtm: osaftransportd replied Stream not found when delete stream

2021-12-08 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3300] dtm: osaftransportd replied Stream not found when delete 
stream**

**Status:** accepted
**Milestone:** 5.21.12
**Created:** Thu Dec 09, 2021 06:35 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Dec 09, 2021 06:35 AM UTC
**Owner:** Thien Minh Huynh


if delete stream right after enable trace, the error 'stream not found' will be 
raised.
The error sometimes cause confusion in the case of the wrong stream name.
~~~
root@SC-1:~# osaflog --delete osafimmnd
ERROR: osaftransportd replied 'Stream not found'
~~~


---

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


[tickets] [opensaf:tickets] #3297 ntf: osafntfd crash when run as roaming sc

2021-11-28 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 620b3ff21c3f89d4691115148a79b8c89d1a5303 (HEAD -> develop, 
origin/develop, ticket-3297)
Author: thien.m.huynh 
Date:   Fri Nov 26 10:24:42 2021 +0700

ntf: correct the behavior of periodic check log pending [#3297]

Osafntd will be crash when run as roaming sc. Periodic checking expect
running on active. In this case, it still run on the node with quiesed 
state.

This fix is to correct the behavior of check log pending. The periodic
checking only run on active.



---

** [tickets:#3297] ntf: osafntfd crash when run as roaming sc**

**Status:** fixed
**Milestone:** 5.21.12
**Created:** Fri Nov 26, 2021 03:11 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Nov 26, 2021 08:06 AM UTC
**Owner:** Thien Minh Huynh


Step  reproduce:
1. prepare cluster only SC
2. change healcheck periodic of ntfd to 1s
immcfg -a saAmfHctDefPeriod=10 
safHealthcheckKey=Default,safVersion=4.0.0,safCompType=OpenSafCompTypeNTF
4. reboot node
5. osafntfd will be crash after node startup ~50s
~~~
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x7f239a4fd859 in __GI_abort () at abort.c:79
#2  0x7f239a93226f in __osafassert_fail (__file=__file@entry=0x564e90015604 
"src/ntf/ntfd/NtfAdmin.cc", __line=__line@entry=1297, 
__func=__func@entry=0x564e90015753 "PeriodicCheck", 
__assertion=__assertion@entry=0x564e9001570a "NtfAdmin::theNtfAdmin != NULL") 
at src/base/sysf_def.c:296
#3  0x564e9000bb1b in PeriodicCheck () at src/ntf/ntfd/NtfAdmin.cc:1293
#4  0x564e8fff6ecc in main (argc=, argv=) at 
src/ntf/ntfd/ntfs_main.c:440
~~~


---

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


[tickets] [opensaf:tickets] #3297 ntf: osafntfd crash when run as roaming sc

2021-11-26 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3297] ntf: osafntfd crash when run as roaming sc**

**Status:** review
**Milestone:** 5.21.12
**Created:** Fri Nov 26, 2021 03:11 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Nov 26, 2021 03:11 AM UTC
**Owner:** Thien Minh Huynh


Step  reproduce:
1. prepare cluster only SC
2. change healcheck periodic of ntfd to 1s
immcfg -a saAmfHctDefPeriod=10 
safHealthcheckKey=Default,safVersion=4.0.0,safCompType=OpenSafCompTypeNTF
4. reboot node
5. osafntfd will be crash after node startup ~50s
~~~
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x7f239a4fd859 in __GI_abort () at abort.c:79
#2  0x7f239a93226f in __osafassert_fail (__file=__file@entry=0x564e90015604 
"src/ntf/ntfd/NtfAdmin.cc", __line=__line@entry=1297, 
__func=__func@entry=0x564e90015753 "PeriodicCheck", 
__assertion=__assertion@entry=0x564e9001570a "NtfAdmin::theNtfAdmin != NULL") 
at src/base/sysf_def.c:296
#3  0x564e9000bb1b in PeriodicCheck () at src/ntf/ntfd/NtfAdmin.cc:1293
#4  0x564e8fff6ecc in main (argc=, argv=) at 
src/ntf/ntfd/ntfs_main.c:440
~~~


---

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


[tickets] [opensaf:tickets] #3297 ntf: osafntfd crash when run as roaming sc

2021-11-25 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3297] ntf: osafntfd crash when run as roaming sc**

**Status:** accepted
**Milestone:** 5.21.12
**Created:** Fri Nov 26, 2021 03:11 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Nov 26, 2021 03:11 AM UTC
**Owner:** Thien Minh Huynh


Step  reproduce:
1. prepare cluster only SC
2. change healcheck periodic of ntfd to 1s
immcfg -a saAmfHctDefPeriod=10 
safHealthcheckKey=Default,safVersion=4.0.0,safCompType=OpenSafCompTypeNTF
4. reboot node
5. osafntfd will be crash after node startup ~50s
~~~
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x7f239a4fd859 in __GI_abort () at abort.c:79
#2  0x7f239a93226f in __osafassert_fail (__file=__file@entry=0x564e90015604 
"src/ntf/ntfd/NtfAdmin.cc", __line=__line@entry=1297, 
__func=__func@entry=0x564e90015753 "PeriodicCheck", 
__assertion=__assertion@entry=0x564e9001570a "NtfAdmin::theNtfAdmin != NULL") 
at src/base/sysf_def.c:296
#3  0x564e9000bb1b in PeriodicCheck () at src/ntf/ntfd/NtfAdmin.cc:1293
#4  0x564e8fff6ecc in main (argc=, argv=) at 
src/ntf/ntfd/ntfs_main.c:440
~~~


---

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


[tickets] [opensaf:tickets] #3295 dtm: osaflog tool does not work with short argument

2021-11-17 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3295] dtm: osaflog tool does not work with short argument**

**Status:** unassigned
**Milestone:** 5.21.12
**Created:** Thu Nov 18, 2021 03:05 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Nov 18, 2021 03:05 AM UTC
**Owner:** nobody


step reproduce:
osaflog -p mds.log
expected: message of mds stream will be printed out like long argument --print.


---

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


[tickets] [opensaf:tickets] #3289 ntf: ntfimcn fail when get old attribute in modify callback

2021-10-07 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit a84e4c9034dc0d80f86f0c3f309c388cdd467aba (HEAD -> develop, 
origin/develop, ticket-3289)
Author: thien.m.huynh 
Date:   Thu Oct 7 09:20:49 2021 +0700

ntf: get attribute value from local when value not existed [#3289]

If create and modify attributes with SA_NOTIFY flag same object in one CCB,
ntfimcn will receive SA_AIS_ERR_NOT_EXIST when get attribute value from
modify callback.

The fix is to get attribute value from local when value not existed.
Because ntfimcn had been stored value from create callback before.



---

** [tickets:#3289] ntf: ntfimcn fail when get old attribute in modify callback**

**Status:** fixed
**Milestone:** 5.21.12
**Created:** Wed Oct 06, 2021 09:50 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Oct 07, 2021 02:50 AM UTC
**Owner:** Thien Minh Huynh


ntfimcn printed error message
~~~
2021-10-04T17:44:15.072+11:00 SC-2-1 osafntfimcnd[5552]: ER Failed to get 
current attributes rc = 12
~~~
The issue happens when create and modify same object in the same CCB.


---

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


[tickets] [opensaf:tickets] #3289 ntf: ntfimcn fail when get old attribute in modify callback

2021-10-06 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3289] ntf: ntfimcn fail when get old attribute in modify callback**

**Status:** review
**Milestone:** 5.21.12
**Created:** Wed Oct 06, 2021 09:50 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Oct 06, 2021 09:50 AM UTC
**Owner:** Thien Minh Huynh


ntfimcn printed error message
~~~
2021-10-04T17:44:15.072+11:00 SC-2-1 osafntfimcnd[5552]: ER Failed to get 
current attributes rc = 12
~~~
The issue happens when create and modify same object in the same CCB.


---

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


[tickets] [opensaf:tickets] #3289 ntf: ntfimcn fail when get old attribute in modify callback

2021-10-06 Thread Thien Minh Huynh via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -2,4 +2,4 @@
 ~~~
 2021-10-04T17:44:15.072+11:00 SC-2-1 osafntfimcnd[5552]: ER Failed to get 
current attributes rc = 12
 ~~~
-The issue happens when create and modify object in the same CCB.
+The issue happens when create and modify same object in the same CCB.






---

** [tickets:#3289] ntf: ntfimcn fail when get old attribute in modify callback**

**Status:** accepted
**Milestone:** 5.21.12
**Created:** Wed Oct 06, 2021 09:50 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Oct 06, 2021 09:50 AM UTC
**Owner:** Thien Minh Huynh


ntfimcn printed error message
~~~
2021-10-04T17:44:15.072+11:00 SC-2-1 osafntfimcnd[5552]: ER Failed to get 
current attributes rc = 12
~~~
The issue happens when create and modify same object in the same CCB.


---

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


[tickets] [opensaf:tickets] #3289 ntf: ntfimcn fail when get old attribute in modify callback

2021-10-06 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3289] ntf: ntfimcn fail when get old attribute in modify callback**

**Status:** accepted
**Milestone:** 5.21.12
**Created:** Wed Oct 06, 2021 09:50 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Oct 06, 2021 09:50 AM UTC
**Owner:** Thien Minh Huynh


ntfimcn printed error message
~~~
2021-10-04T17:44:15.072+11:00 SC-2-1 osafntfimcnd[5552]: ER Failed to get 
current attributes rc = 12
~~~
The issue happens when create and modify object in the same CCB.


---

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


[tickets] [opensaf:tickets] #3284 immd: failed to find candidate for new immnd coordinator

2021-10-04 Thread Thien Minh Huynh via Opensaf-tickets
commit e6d1cbf6271de9d7c0766c0214dc607120ff52cc (HEAD -> develop, 
origin/develop)
Author: huu.t.truong 
Date:   Tue Sep 28 13:17:55 2021 +0700

immd: fix cannot find candidate for new immnd coordinator [#3284]

Some cases, standby SC cannot promote to be coordinator,
since isOnController variable in immnd tree is not "true".

This ticket fix the issue, IMMD will ignore checking isOnController,
if candidate is on active node, because in fact the immd knew
which one in all SCs is became active SC by cb->node_id variable.



---

** [tickets:#3284] immd: failed to find candidate for new immnd coordinator**

**Status:** fixed
**Milestone:** 5.21.12
**Created:** Wed Sep 22, 2021 07:14 AM UTC by Huu The Truong
**Last Updated:** Mon Oct 04, 2021 10:10 AM UTC
**Owner:** Huu The Truong


Poweroff active SC and expect standby SC became active. Howerver, standby SC 
didn't become active SC.
Because value of onCtrlr in immnd tree is not "1":

<143>1 2021-08-23T12:20:53.566177+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7458"] 404:imm/immd/immd_proc.c:975 T5 +IMMND Tree is 
UP
<143>1 2021-08-23T12:20:53.56619+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7459"] 404:imm/immd/immd_proc.c:977 T5 Number of nodes in IMMND 
Tree:  4
<143>1 2021-08-23T12:20:53.566206+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7460"] 404:imm/immd/immd_proc.c:990 T5
---
<143>1 2021-08-23T12:20:53.56622+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7461"] 404:imm/immd/immd_proc.c:993 T5MDS Node ID:  = 2020f
<143>1 2021-08-23T12:20:53.566234+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7462"] 404:imm/immd/immd_proc.c:1001 T5Pid:416 Epoch:7 syncR:0 
syncS:0 onCtrlr:0 isCoord:0
<143>1 2021-08-23T12:20:53.566249+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7463"] 404:imm/immd/immd_proc.c:990 T5
---
<143>1 2021-08-23T12:20:53.566266+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7464"] 404:imm/immd/immd_proc.c:993 T5MDS Node ID:  = 2030f
<143>1 2021-08-23T12:20:53.566283+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7465"] 404:imm/immd/immd_proc.c:1001 T5Pid:416 Epoch:7 syncR:0 
syncS:0 onCtrlr:0 isCoord:0
<143>1 2021-08-23T12:20:53.566298+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7466"] 404:imm/immd/immd_proc.c:990 T5
---
<143>1 2021-08-23T12:20:53.566311+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7467"] 404:imm/immd/immd_proc.c:993 T5MDS Node ID:  = 2040f
<143>1 2021-08-23T12:20:53.566325+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7468"] 404:imm/immd/immd_proc.c:1001 T5Pid:416 Epoch:7 syncR:0 
syncS:0 onCtrlr:0 isCoord:0
<143>1 2021-08-23T12:20:53.56634+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7469"] 404:imm/immd/immd_proc.c:990 T5
---
<143>1 2021-08-23T12:20:53.566353+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7470"] 404:imm/immd/immd_proc.c:993 T5MDS Node ID:  = 2050f
<143>1 2021-08-23T12:20:53.566366+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7471"] 404:imm/immd/immd_proc.c:1001 T5Pid:416 Epoch:7 syncR:0 
syncS:0 onCtrlr:0 isCoord:0
<143>1 2021-08-23T12:20:53.566382+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7472"] 404:imm/immd/immd_proc.c:1006 T5  End of IMMND Info
<143>1 2021-08-23T12:20:53.566396+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7473"] 404:imm/immd/immd_proc.c:1008 T5  End of IMMND info nodes
<143>1 2021-08-23T12:20:53.566409+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7474"] 404:imm/immd/immd_proc.c:1011 T5 *End of 
IMMD CB Dump**

Thus, standby SC cannot promote to be a new immnd coordinator for itself. That 
mean it didn't become active SC and all IMMNDs will restart:

<141>1 2021-08-23T12:20:54.316317+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7513"] 404:imm/immd/immd_evt.c:3085 NO ellect_coord invoke from 
rda_callback ACTIVE
<143>1 2021-08-23T12:20:54.31632+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7514"] 404:imm/immd/immd_proc.c:236 >> immd_proc_elect_coord 
<139>1 2021-08-23T12:20:54.31634+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7515"] 404:imm/immd/immd_proc.c:400 ER Failed to find candidate for 
new IMMND coordinator (ScAbsenceAllowed:0 RulingEpoch:7
<143>1 2021-08-23T12:20:54.316345+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7516"] 404:imm/immd/immd_proc.c:402 << immd_proc_elect_coord 
<143>1 2021-08-23T12:20:54.316348+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7517"] 404:imm/immd/immd_proc.c:70 >> immd_proc_immd_reset 
<139>1 2021-08-23T12:20:54.316365+02:00 SC-5 osafimmd 404 osafimmd [meta 
sequenceId="7518"] 404:imm/immd/immd_proc.c:74 ER Active IMMD has to restart 
the IMMSv. All IMMNDs will restart
<143>1 

[tickets] [opensaf:tickets] #3272 ais: Update documentation for "saAisStrError"

2021-09-24 Thread Thien Minh Huynh via Opensaf-tickets
commit 34e68cd836ad0e7b3bc10151285192f5ff352648
Author: thien.m.huynh 
Date:   Tue Sep 21 10:16:36 2021 +0700

doc: correct OpenSAF version for ticket #3272


---

** [tickets:#3272] ais: Update documentation for "saAisStrError"**

**Status:** fixed
**Milestone:** 5.21.09
**Created:** Mon Jul 12, 2021 02:43 AM UTC by Surbhi Tripathi
**Last Updated:** Tue Sep 14, 2021 05:53 AM UTC
**Owner:** Surbhi Tripathi
**Attachments:**

- 
[OpenSAF_Extensions_PR.odt](https://sourceforge.net/p/opensaf/tickets/3272/attachment/OpenSAF_Extensions_PR.odt)
 (67.0 kB; application/vnd.oasis.opendocument.text)


Update the documentation for the newly added API 
SaConstStringT saAisStrError(SaAisErrorT error_number)

   Added ars part of [#2143]


---

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


[tickets] [opensaf:tickets] #3278 imm: update PR documentation for configurable IMMA synchronize timeout

2021-09-24 Thread Thien Minh Huynh via Opensaf-tickets
commit c867096242ccd339eb1a723276b79134186f5d57 (HEAD -> master, origin/master, 
origin/HEAD)
Author: thien.m.huynh 
Date:   Tue Sep 21 10:21:44 2021 +0700

imm: correct OpenSAF version for ticket #3278


---

** [tickets:#3278] imm: update PR documentation for configurable IMMA 
synchronize timeout**

**Status:** fixed
**Milestone:** 5.21.09
**Created:** Fri Aug 13, 2021 09:15 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Sep 14, 2021 05:53 AM UTC
**Owner:** Thien Minh Huynh


The OpenSAF IMMSv PR documention should be updated according to changes in 
[#3268]


---

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


[tickets] [opensaf:tickets] #3283 base: sysf_ipc_test compile fail when using gcc version 4.8.5

2021-09-17 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit ea2a3c604286a300cdab9d999da6d78cfa114b38 (HEAD -> develop, 
origin/develop, ticket-3283)
Author: thien.m.huynh 
Date:   Fri Sep 17 08:34:26 2021 +0700

base: using mutex for test case sysf_ipc_test instead of atomic [#3283]

gcc/g++ version 4.8.x does not support atomic. So that leading to failure
when compiling.
This fix is change the sysf_ipc_test using mutex instead of atomic.



---

** [tickets:#3283] base: sysf_ipc_test compile fail when using gcc version 
4.8.5**

**Status:** fixed
**Milestone:** 5.21.12
**Created:** Thu Sep 16, 2021 08:35 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Sep 17, 2021 02:48 AM UTC
**Owner:** Thien Minh Huynh


gcc/g++ 4.8.x does not support atomic.
~~~
src/base/apitest/sysf_ipc_test.c:24:23: fatal error: stdatomic.h: No such file 
or directory
 #include 
   ^
compilation terminated.
Makefile:13999: recipe for target 
'src/base/apitest/bin_basetest-sysf_ipc_test.o' failed
make[4]: *** [src/base/apitest/bin_basetest-sysf_ipc_test.o] Error 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.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3283 base: sysf_ipc_test compile fail when using gcc version 4.8.5

2021-09-16 Thread Thien Minh Huynh via Opensaf-tickets
- **Part**: tests --> -



---

** [tickets:#3283] base: sysf_ipc_test compile fail when using gcc version 
4.8.5**

**Status:** review
**Milestone:** 5.21.12
**Created:** Thu Sep 16, 2021 08:35 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Sep 17, 2021 02:47 AM UTC
**Owner:** Thien Minh Huynh


gcc/g++ 4.8.x does not support atomic.
~~~
src/base/apitest/sysf_ipc_test.c:24:23: fatal error: stdatomic.h: No such file 
or directory
 #include 
   ^
compilation terminated.
Makefile:13999: recipe for target 
'src/base/apitest/bin_basetest-sysf_ipc_test.o' failed
make[4]: *** [src/base/apitest/bin_basetest-sysf_ipc_test.o] Error 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.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3283 base: sysf_ipc_test compile fail when using gcc version 4.8.5

2021-09-16 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3283] base: sysf_ipc_test compile fail when using gcc version 
4.8.5**

**Status:** review
**Milestone:** 5.21.12
**Created:** Thu Sep 16, 2021 08:35 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Sep 16, 2021 08:35 AM UTC
**Owner:** Thien Minh Huynh


gcc/g++ 4.8.x does not support atomic.
~~~
src/base/apitest/sysf_ipc_test.c:24:23: fatal error: stdatomic.h: No such file 
or directory
 #include 
   ^
compilation terminated.
Makefile:13999: recipe for target 
'src/base/apitest/bin_basetest-sysf_ipc_test.o' failed
make[4]: *** [src/base/apitest/bin_basetest-sysf_ipc_test.o] Error 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.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3283 base: sysf_ipc_test compile fail when using gcc version 4.8.5

2021-09-16 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3283] base: sysf_ipc_test compile fail when using gcc version 
4.8.5**

**Status:** accepted
**Milestone:** 5.21.12
**Created:** Thu Sep 16, 2021 08:35 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Sep 16, 2021 08:35 AM UTC
**Owner:** Thien Minh Huynh


gcc/g++ 4.8.x does not support atomic.
~~~
src/base/apitest/sysf_ipc_test.c:24:23: fatal error: stdatomic.h: No such file 
or directory
 #include 
   ^
compilation terminated.
Makefile:13999: recipe for target 
'src/base/apitest/bin_basetest-sysf_ipc_test.o' failed
make[4]: *** [src/base/apitest/bin_basetest-sysf_ipc_test.o] Error 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.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3270 build: make rpm got unversioned python

2021-09-14 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 822c70a20c86cbe41718a4634281aa73f64f6b5b (HEAD -> develop, 
origin/develop, ticket-3270)
Author: thien.m.huynh 
Date:   Mon Aug 16 17:18:29 2021 +0700

build: adaptive python version for rpm build [#3270]

The unversioned macros, %{__python}, %{python_sitelib} are deprecated.
This patch make specific version python during byte compilation.



---

** [tickets:#3270] build: make rpm got unversioned python**

**Status:** fixed
**Milestone:** 5.21.12
**Created:** Mon Jun 28, 2021 07:10 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Sep 14, 2021 06:24 AM UTC
**Owner:** Thien Minh Huynh


%{__python} is no longer pointed to python2.
~~~
rpmbuild -bb --clean --rmspec --rmsource \
--define "_topdir `pwd`/rpms" --define "_tmppath `pwd`/rpms/tmp" \
`pwd`/rpms/SPECS/opensaf.spec
error: attempt to use unversioned python, define %__python to /usr/bin/python2 
or /usr/bin/python3 explicitly
error: line 1556: %{python_sitelib}/pyosaf/*.py

make[1]: *** [Makefile:26843: rpm] Error 1
make[1]: Leaving directory '/root/osaf-build/opensaf-5.21.06'
make: *** [makefile:8: all] Error 2
~~~


---

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


[tickets] [opensaf:tickets] #3278 imm: update PR documentation for configurable IMMA synchronize timeout

2021-09-06 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit a00bfc6976506975916a9f2c968a9a7b124a3c70 (HEAD -> master, origin/master, 
origin/HEAD)
Author: thien.m.huynh 
Date:   Mon Sep 6 14:00:05 2021 +0700

imm: update PR documentation for configurable IMMA synchronize timeout 
[#3278]




---

** [tickets:#3278] imm: update PR documentation for configurable IMMA 
synchronize timeout**

**Status:** fixed
**Milestone:** 5.21.10
**Created:** Fri Aug 13, 2021 09:15 AM UTC by Thien Minh Huynh
**Last Updated:** Mon Aug 16, 2021 10:15 AM UTC
**Owner:** Thien Minh Huynh


The OpenSAF IMMSv PR documention should be updated according to changes in 
[#3268]


---

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


[tickets] [opensaf:tickets] #3270 build: make rpm got unversioned python

2021-08-17 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3270] build: make rpm got unversioned python**

**Status:** review
**Milestone:** 5.21.10
**Created:** Mon Jun 28, 2021 07:10 AM UTC by Thien Minh Huynh
**Last Updated:** Mon Aug 09, 2021 03:45 AM UTC
**Owner:** Thien Minh Huynh


%{__python} is no longer pointed to python2.
~~~
rpmbuild -bb --clean --rmspec --rmsource \
--define "_topdir `pwd`/rpms" --define "_tmppath `pwd`/rpms/tmp" \
`pwd`/rpms/SPECS/opensaf.spec
error: attempt to use unversioned python, define %__python to /usr/bin/python2 
or /usr/bin/python3 explicitly
error: line 1556: %{python_sitelib}/pyosaf/*.py

make[1]: *** [Makefile:26843: rpm] Error 1
make[1]: Leaving directory '/root/osaf-build/opensaf-5.21.06'
make: *** [makefile:8: all] Error 2
~~~


---

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


[tickets] [opensaf:tickets] #3278 imm: update PR documentation for configurable IMMA synchronize timeout

2021-08-16 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3278] imm: update PR documentation for configurable IMMA 
synchronize timeout**

**Status:** review
**Milestone:** 5.21.10
**Created:** Fri Aug 13, 2021 09:15 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Aug 13, 2021 09:22 AM UTC
**Owner:** Thien Minh Huynh


The OpenSAF IMMSv PR documention should be updated according to changes in 
[#3268]


---

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


[tickets] [opensaf:tickets] #3278 imm: update PR documentation for configurable IMMA synchronize timeout

2021-08-13 Thread Thien Minh Huynh via Opensaf-tickets
- **summary**: imm: update PR documentation for configurable 3.5.15.1 IMMA 
synchronize timeout --> imm: update PR documentation for configurable IMMA 
synchronize timeout



---

** [tickets:#3278] imm: update PR documentation for configurable IMMA 
synchronize timeout**

**Status:** accepted
**Milestone:** 5.21.10
**Created:** Fri Aug 13, 2021 09:15 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Aug 13, 2021 09:15 AM UTC
**Owner:** Thien Minh Huynh


The OpenSAF IMMSv PR documention should be updated according to changes in 
[#3268]


---

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


[tickets] [opensaf:tickets] #3278 imm: update PR documentation for configurable 3.5.15.1 IMMA synchronize timeout

2021-08-13 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3278] imm: update PR documentation for configurable 3.5.15.1 IMMA 
synchronize timeout**

**Status:** accepted
**Milestone:** 5.21.10
**Created:** Fri Aug 13, 2021 09:15 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Aug 13, 2021 09:15 AM UTC
**Owner:** Thien Minh Huynh


The OpenSAF IMMSv PR documention should be updated according to changes in 
[#3268]


---

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


[tickets] [opensaf:tickets] #3268 imm: New admin op to force IMM Agent using new timeout value

2021-08-12 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 07cf0d60d28cf0282cdcb1bba8c231bc1f683c42 (HEAD -> develop, 
origin/develop, ticket-3268)
Author: thien.m.huynh 
Date:   Wed Jul 28 16:18:01 2021 +0700

imm: update README file for a new attribute [#3268]

commit 52d314be58be0543ff635fe39e805f6367085b61
Author: thien.m.huynh 
Date:   Wed Jul 28 10:31:38 2021 +0700

imm: add test case of saImmSyncrTimeout attribute [#3268]

Adding 5 new test case into a testsuite 6

commit a86cb14de9a263a23d7caef5c9483ca570f363ba
Author: thien.m.huynh 
Date:   Sat Jul 24 14:26:13 2021 +0700

imm: Introduce a configurable attribute saImmSyncrTimeout [#3268]

In a large cluster size, it is impossible to adjust MDS wait time for all
clients in cluster by change IMMA_SYNC_TIMEOUT environment variable.
Because technique environment variable needs to restart to apply the changed
variable and it is a time-consuming.

This ticket introduce a configurable attribute `saImmSyncrTimeout`
to `SaImmMngt` class, that distribute the new timeout to all IMM clients
and force them to use the new timeout. If user deletes value of attribute
`saImmSyncrTimeout`, it will go back to default value (0). And it is will
keep backward compatible with IMMA_SYNC_TIMEOUT technique.
In default, this feature is disabled.

Correct value of variable environment IMMA_SYNCR_TIMEOUT when set a value
less than 10 will only be interpreted as the value 10.




---

** [tickets:#3268] imm: New admin op to force IMM Agent using new timeout 
value**

**Status:** fixed
**Milestone:** 5.21.10
**Created:** Mon Jun 21, 2021 01:02 AM UTC by Minh Hon Chau
**Last Updated:** Fri Jul 30, 2021 01:58 AM UTC
**Owner:** Thien Minh Huynh


This ticket is created in conjunction with #3260, in which the single step 
upgrade fails due to a lot of component timeout.

The IMMA_SYNC_TIMEOUT technically environment variable can be exported with 
appropriate value in each components on every nodes; however, if the cluster 
has several nodes, each of which has hundreds of components, that make 
IMMA_SYNC_TIMEOUT update difficult in live site.

This ticket introduces  a configurable attribute to  distribute the new timeout 
to all IMM clients and force them to use the new timeout.



---

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


[tickets] [opensaf:tickets] #3270 build: make rpm got unversioned python

2021-08-08 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: assigned --> accepted



---

** [tickets:#3270] build: make rpm got unversioned python**

**Status:** accepted
**Milestone:** 5.21.10
**Created:** Mon Jun 28, 2021 07:10 AM UTC by Thien Minh Huynh
**Last Updated:** Mon Jun 28, 2021 07:10 AM UTC
**Owner:** Thien Minh Huynh


%{__python} is no longer pointed to python2.
~~~
rpmbuild -bb --clean --rmspec --rmsource \
--define "_topdir `pwd`/rpms" --define "_tmppath `pwd`/rpms/tmp" \
`pwd`/rpms/SPECS/opensaf.spec
error: attempt to use unversioned python, define %__python to /usr/bin/python2 
or /usr/bin/python3 explicitly
error: line 1556: %{python_sitelib}/pyosaf/*.py

make[1]: *** [Makefile:26843: rpm] Error 1
make[1]: Leaving directory '/root/osaf-build/opensaf-5.21.06'
make: *** [makefile:8: all] Error 2
~~~


---

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


[tickets] [opensaf:tickets] #3268 imm: New admin op to force IMM Agent using new timeout value

2021-07-29 Thread Thien Minh Huynh via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -2,7 +2,4 @@
 
 The IMMA_SYNC_TIMEOUT technically environment variable can be exported with 
appropriate value in each components on every nodes; however, if the cluster 
has several nodes, each of which has hundreds of components, that make 
IMMA_SYNC_TIMEOUT update difficult in live site.
 
-This ticket introduces:
-
--  an IMM admin operation to possibly distribute the new timeout to all IMM 
agents and force them to use the new timeout.
-- an IMM admin operation to restore the timeout to old value.
+This ticket introduces  a configurable attribute to  distribute the new 
timeout to all IMM clients and force them to use the new timeout.



- **status**: accepted --> review



---

** [tickets:#3268] imm: New admin op to force IMM Agent using new timeout 
value**

**Status:** review
**Milestone:** 5.21.10
**Created:** Mon Jun 21, 2021 01:02 AM UTC by Minh Hon Chau
**Last Updated:** Mon Jun 28, 2021 04:30 AM UTC
**Owner:** Thien Minh Huynh


This ticket is created in conjunction with #3260, in which the single step 
upgrade fails due to a lot of component timeout.

The IMMA_SYNC_TIMEOUT technically environment variable can be exported with 
appropriate value in each components on every nodes; however, if the cluster 
has several nodes, each of which has hundreds of components, that make 
IMMA_SYNC_TIMEOUT update difficult in live site.

This ticket introduces  a configurable attribute to  distribute the new timeout 
to all IMM clients and force them to use the new timeout.



---

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


[tickets] [opensaf:tickets] #3274 build: make install failure when disable test

2021-07-26 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit a683961aaddf585b10631d2ff5dcd607499daefa (HEAD -> develop, 
origin/develop)
Author: thien.m.huynh 
Date:   Wed Jul 21 15:00:01 2021 +0700

build: checking test is enable before compile basetest [#3274]

make install command will failure when disable test.
This fix just checking disable/enable test to avoid
failure during compile.



---

** [tickets:#3274] build: make install failure when disable test**

**Status:** fixed
**Milestone:** 5.21.10
**Created:** Wed Jul 21, 2021 07:30 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Jul 21, 2021 08:56 AM UTC
**Owner:** Thien Minh Huynh


**step reproduce:** execute command in order in opensaf repo
mkdir ~/tmp
./bootstrap.sh
./configure
make install DESTDIR="~/tmp"
~~~
  CCLD bin/basetest
gcc: error: lib/.libs/libapitest.a: No such file or directory
make[2]: *** [Makefile:9676: bin/basetest] Error 1
make[2]: Leaving directory '/home/thien/opensaf-code'
make[1]: *** [Makefile:24077: install-recursive] Error 1
make[1]: Leaving directory '/home/thien/opensaf-code'
make: *** [Makefile:24594: install] Error 2
~~~
The issue occur due to missing checking apitest is enable in make file.


---

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


[tickets] [opensaf:tickets] #3274 build: make install failure when disable test

2021-07-21 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3274] build: make install failure when disable test**

**Status:** review
**Milestone:** 5.21.10
**Created:** Wed Jul 21, 2021 07:30 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Jul 21, 2021 07:36 AM UTC
**Owner:** Thien Minh Huynh


**step reproduce:** execute command in order in opensaf repo
mkdir ~/tmp
./bootstrap.sh
./configure
make install DESTDIR="~/tmp"
~~~
  CCLD bin/basetest
gcc: error: lib/.libs/libapitest.a: No such file or directory
make[2]: *** [Makefile:9676: bin/basetest] Error 1
make[2]: Leaving directory '/home/thien/opensaf-code'
make[1]: *** [Makefile:24077: install-recursive] Error 1
make[1]: Leaving directory '/home/thien/opensaf-code'
make: *** [Makefile:24594: install] Error 2
~~~
The issue occur due to missing checking apitest is enable in make file.


---

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


[tickets] [opensaf:tickets] #3274 build: make install failure when disable test

2021-07-21 Thread Thien Minh Huynh via Opensaf-tickets
- **Part**: tests --> -



---

** [tickets:#3274] build: make install failure when disable test**

**Status:** accepted
**Milestone:** 5.21.10
**Created:** Wed Jul 21, 2021 07:30 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Jul 21, 2021 07:30 AM UTC
**Owner:** Thien Minh Huynh


**step reproduce:** execute command in order in opensaf repo
mkdir ~/tmp
./bootstrap.sh
./configure
make install DESTDIR="~/tmp"
~~~
  CCLD bin/basetest
gcc: error: lib/.libs/libapitest.a: No such file or directory
make[2]: *** [Makefile:9676: bin/basetest] Error 1
make[2]: Leaving directory '/home/thien/opensaf-code'
make[1]: *** [Makefile:24077: install-recursive] Error 1
make[1]: Leaving directory '/home/thien/opensaf-code'
make: *** [Makefile:24594: install] Error 2
~~~
The issue occur due to missing checking apitest is enable in make file.


---

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


[tickets] [opensaf:tickets] #3274 build: make install failure when disable test

2021-07-21 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3274] build: make install failure when disable test**

**Status:** accepted
**Milestone:** 5.21.10
**Created:** Wed Jul 21, 2021 07:30 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Jul 21, 2021 07:30 AM UTC
**Owner:** Thien Minh Huynh


**step reproduce:** execute command in order in opensaf repo
mkdir ~/tmp
./bootstrap.sh
./configure
make install DESTDIR="~/tmp"
~~~
  CCLD bin/basetest
gcc: error: lib/.libs/libapitest.a: No such file or directory
make[2]: *** [Makefile:9676: bin/basetest] Error 1
make[2]: Leaving directory '/home/thien/opensaf-code'
make[1]: *** [Makefile:24077: install-recursive] Error 1
make[1]: Leaving directory '/home/thien/opensaf-code'
make: *** [Makefile:24594: install] Error 2
~~~
The issue occur due to missing checking apitest is enable in make file.


---

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


[tickets] [opensaf:tickets] #3270 build: make rpm got unversioned python

2021-06-28 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3270] build: make rpm got unversioned python**

**Status:** assigned
**Milestone:** 5.21.10
**Created:** Mon Jun 28, 2021 07:10 AM UTC by Thien Minh Huynh
**Last Updated:** Mon Jun 28, 2021 07:10 AM UTC
**Owner:** Thien Minh Huynh


%{__python} is no longer pointed to python2.
~~~
rpmbuild -bb --clean --rmspec --rmsource \
--define "_topdir `pwd`/rpms" --define "_tmppath `pwd`/rpms/tmp" \
`pwd`/rpms/SPECS/opensaf.spec
error: attempt to use unversioned python, define %__python to /usr/bin/python2 
or /usr/bin/python3 explicitly
error: line 1556: %{python_sitelib}/pyosaf/*.py

make[1]: *** [Makefile:26843: rpm] Error 1
make[1]: Leaving directory '/root/osaf-build/opensaf-5.21.06'
make: *** [makefile:8: all] Error 2
~~~


---

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


[tickets] [opensaf:tickets] #3268 imm: New admin op to force IMM Agent using new timeout value

2021-06-27 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: unassigned --> accepted
- **assigned_to**: Thien Minh Huynh



---

** [tickets:#3268] imm: New admin op to force IMM Agent using new timeout 
value**

**Status:** accepted
**Milestone:** 5.21.10
**Created:** Mon Jun 21, 2021 01:02 AM UTC by Minh Hon Chau
**Last Updated:** Mon Jun 21, 2021 01:02 AM UTC
**Owner:** Thien Minh Huynh


This ticket is created in conjunction with #3260, in which the single step 
upgrade fails due to a lot of component timeout.

The IMMA_SYNC_TIMEOUT technically environment variable can be exported with 
appropriate value in each components on every nodes; however, if the cluster 
has several nodes, each of which has hundreds of components, that make 
IMMA_SYNC_TIMEOUT update difficult in live site.

This ticket introduces:

-  an IMM admin operation to possibly distribute the new timeout to all IMM 
agents and force them to use the new timeout.
- an IMM admin operation to restore the timeout to old value.



---

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


[tickets] [opensaf:tickets] #3267 base: unit tests failed for "bin/testleap"

2021-06-22 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 51239d4d3c9916b203ccde203f5c4213f631ca0c (HEAD -> develop, 
origin/develop, ticket-3267)
Author: thien.m.huynh 
Date:   Thu Jun 17 15:50:08 2021 +0700

base: move the testcase sysf_ipc_test to the apitest [#3267]

ncs_leap_startup return error code if the node_id file is missing.
The return error code is expected. But in the ticket-3266 support
for running agent before opensafd. So the test case SysfIpcTest
need to running under opensaf cluster.

In this ticket, move the unit test run as google-test to the apitest



---

** [tickets:#3267] base: unit tests failed for "bin/testleap"**

**Status:** fixed
**Milestone:** 5.21.10
**Created:** Thu Jun 17, 2021 10:19 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Jun 18, 2021 03:10 AM UTC
**Owner:** Thien Minh Huynh


Ticket [#1623] returns error code if the node_id file is missing but ncs seems 
to be partially initialized. In the case where no node_id file exists and the 
return code from ncs_leap_startup.
In the fixed [#3266] has already call leap_env_destroy. That leading the unit 
test fail.
~~~
[--] 2 tests from SysfIpcTest
[ RUN  ] SysfIpcTest.TestSendReceiveMessage
testleap: src/base/os_defs.c:364: ncs_os_atomic_inc: Assertion 
`gl_ncs_atomic_mtx_initialise' failed.
FAIL bin/testleap (exit status: 134)
~~~


---

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


[tickets] [opensaf:tickets] #3267 base: unit tests failed for "bin/testleap"

2021-06-17 Thread Thien Minh Huynh via Opensaf-tickets
- **summary**: base: testleap failed --> base: unit tests failed for 
"bin/testleap"
- **status**: accepted --> review



---

** [tickets:#3267] base: unit tests failed for "bin/testleap"**

**Status:** review
**Milestone:** 5.21.10
**Created:** Thu Jun 17, 2021 10:19 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Jun 17, 2021 10:20 AM UTC
**Owner:** Thien Minh Huynh


Ticket [#1623] returns error code if the node_id file is missing but ncs seems 
to be partially initialized. In the case where no node_id file exists and the 
return code from ncs_leap_startup.
In the fixed [#3266] has already call leap_env_destroy. That leading the unit 
test fail.
~~~
[--] 2 tests from SysfIpcTest
[ RUN  ] SysfIpcTest.TestSendReceiveMessage
testleap: src/base/os_defs.c:364: ncs_os_atomic_inc: Assertion 
`gl_ncs_atomic_mtx_initialise' failed.
FAIL bin/testleap (exit status: 134)
~~~


---

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


[tickets] [opensaf:tickets] #3267 base: testleap failed

2021-06-17 Thread Thien Minh Huynh via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -1,12 +1,8 @@
 Ticket [#1623] returns error code if the node_id file is missing but ncs seems 
to be partially initialized. In the case where no node_id file exists and the 
return code from ncs_leap_startup.
-In the fixed ticket-3266 has already call leap_env_destroy. That leading the 
unit test fail.
+In the fixed [#3266] has already call leap_env_destroy. That leading the unit 
test fail.
 ~~~
 [--] 2 tests from SysfIpcTest
 [ RUN  ] SysfIpcTest.TestSendReceiveMessage
 testleap: src/base/os_defs.c:364: ncs_os_atomic_inc: Assertion 
`gl_ncs_atomic_mtx_initialise' failed.
 FAIL bin/testleap (exit status: 134)
 ~~~
-
-**Related:**
-[ticket-1629](https://sourceforge.net/p/opensaf/tickets/1629/)
-[ticket-3266](https://sourceforge.net/p/opensaf/tickets/3266/)






---

** [tickets:#3267] base: testleap failed**

**Status:** accepted
**Milestone:** 5.21.10
**Created:** Thu Jun 17, 2021 10:19 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Jun 17, 2021 10:19 AM UTC
**Owner:** Thien Minh Huynh


Ticket [#1623] returns error code if the node_id file is missing but ncs seems 
to be partially initialized. In the case where no node_id file exists and the 
return code from ncs_leap_startup.
In the fixed [#3266] has already call leap_env_destroy. That leading the unit 
test fail.
~~~
[--] 2 tests from SysfIpcTest
[ RUN  ] SysfIpcTest.TestSendReceiveMessage
testleap: src/base/os_defs.c:364: ncs_os_atomic_inc: Assertion 
`gl_ncs_atomic_mtx_initialise' failed.
FAIL bin/testleap (exit status: 134)
~~~


---

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


[tickets] [opensaf:tickets] #3267 base: testleap failed

2021-06-17 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3267] base: testleap failed**

**Status:** accepted
**Milestone:** 5.21.10
**Created:** Thu Jun 17, 2021 10:19 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Jun 17, 2021 10:19 AM UTC
**Owner:** Thien Minh Huynh


Ticket [#1623] returns error code if the node_id file is missing but ncs seems 
to be partially initialized. In the case where no node_id file exists and the 
return code from ncs_leap_startup.
In the fixed ticket-3266 has already call leap_env_destroy. That leading the 
unit test fail.
~~~
[--] 2 tests from SysfIpcTest
[ RUN  ] SysfIpcTest.TestSendReceiveMessage
testleap: src/base/os_defs.c:364: ncs_os_atomic_inc: Assertion 
`gl_ncs_atomic_mtx_initialise' failed.
FAIL bin/testleap (exit status: 134)
~~~

**Related:**
[ticket-1629](https://sourceforge.net/p/opensaf/tickets/1629/)
[ticket-3266](https://sourceforge.net/p/opensaf/tickets/3266/)


---

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


[tickets] [opensaf:tickets] #3266 imm: saImmOmInitialize_o2 always returns SA_AIS_ERR_LIBRARY

2021-06-10 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 1a6388901665627725464c1996d0b06ca67c8b6a (HEAD -> develop, 
origin/develop, ticket-3266)
Author: thien.m.huynh 
Date:   Wed Jun 2 13:53:51 2021 +0700

base: destroy sprr when leap startup fail [#3266]

This ticket address the issue in IMM agent init.
IMM agent alway got the SA_AIS_ERR_LIBRARY even
if IMM has started successfully.

This fix is destroy sprr when leap startup fail



---

** [tickets:#3266] imm: saImmOmInitialize_o2 always returns SA_AIS_ERR_LIBRARY**

**Status:** fixed
**Milestone:** 5.21.10
**Created:** Wed Jun 02, 2021 06:49 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Jun 04, 2021 01:43 AM UTC
**Owner:** Thien Minh Huynh


we got a problem, first function - saImmOmInitialize_o2 is called too early, 
before IMM service start working.
And as a result we are receiving SA_AIS_ERR_LIBRARY.
~~~
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
~~~
IMM client still gets **SA_AIS_ERR_LIBRARY** even if IMM has started 
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.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3266 imm: saImmOmInitialize_o2 always returns SA_AIS_ERR_LIBRARY

2021-06-03 Thread Thien Minh Huynh via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -8,4 +8,4 @@
 error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
 error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
 ~~~
-IMM client still gets **SA_AIS_ERR_LIBRARY** event if IMM has started 
successfully.
+IMM client still gets **SA_AIS_ERR_LIBRARY** even if IMM has started 
successfully.






---

** [tickets:#3266] imm: saImmOmInitialize_o2 always returns SA_AIS_ERR_LIBRARY**

**Status:** review
**Milestone:** 5.21.10
**Created:** Wed Jun 02, 2021 06:49 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Jun 02, 2021 07:30 AM UTC
**Owner:** Thien Minh Huynh


we got a problem, first function - saImmOmInitialize_o2 is called too early, 
before IMM service start working.
And as a result we are receiving SA_AIS_ERR_LIBRARY.
~~~
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
~~~
IMM client still gets **SA_AIS_ERR_LIBRARY** even if IMM has started 
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.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3266 imm: saImmOmInitialize_o2 always returns SA_AIS_ERR_LIBRARY

2021-06-02 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3266] imm: saImmOmInitialize_o2 always returns SA_AIS_ERR_LIBRARY**

**Status:** review
**Milestone:** 5.21.10
**Created:** Wed Jun 02, 2021 06:49 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Jun 02, 2021 07:04 AM UTC
**Owner:** Thien Minh Huynh


we got a problem, first function - saImmOmInitialize_o2 is called too early, 
before IMM service start working.
And as a result we are receiving SA_AIS_ERR_LIBRARY.
~~~
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
~~~
IMM client still gets **SA_AIS_ERR_LIBRARY** event if IMM has started 
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.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3266 imm: saImmOmInitialize_o2 always returns SA_AIS_ERR_LIBRARY

2021-06-02 Thread Thien Minh Huynh via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -1,4 +1,4 @@
-But we got a problem, first function - saImmOmInitialize_o2 is called too 
early, before IMM service start working.
+we got a problem, first function - saImmOmInitialize_o2 is called too early, 
before IMM service start working.
 And as a result we are receiving SA_AIS_ERR_LIBRARY.
 ~~~
 error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)






---

** [tickets:#3266] imm: saImmOmInitialize_o2 always returns SA_AIS_ERR_LIBRARY**

**Status:** accepted
**Milestone:** 5.21.10
**Created:** Wed Jun 02, 2021 06:49 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Jun 02, 2021 06:49 AM UTC
**Owner:** Thien Minh Huynh


we got a problem, first function - saImmOmInitialize_o2 is called too early, 
before IMM service start working.
And as a result we are receiving SA_AIS_ERR_LIBRARY.
~~~
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
~~~
IMM client still gets **SA_AIS_ERR_LIBRARY** event if IMM has started 
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.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3266 imm: saImmOmInitialize_o2 always returns SA_AIS_ERR_LIBRARY

2021-06-02 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3266] imm: saImmOmInitialize_o2 always returns SA_AIS_ERR_LIBRARY**

**Status:** accepted
**Milestone:** 5.21.10
**Created:** Wed Jun 02, 2021 06:49 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Jun 02, 2021 06:49 AM UTC
**Owner:** Thien Minh Huynh


But we got a problem, first function - saImmOmInitialize_o2 is called too 
early, before IMM service start working.
And as a result we are receiving SA_AIS_ERR_LIBRARY.
~~~
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
error - saImmOmInitialize FAILED: SA_AIS_ERR_LIBRARY (2)
error - saImmOmFinalize FAILED: SA_AIS_ERR_BAD_HANDLE (9)
~~~
IMM client still gets **SA_AIS_ERR_LIBRARY** event if IMM has started 
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.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2767 pyosaf: Fix invoke_admin_operation() method of ImmOmAgent

2021-05-19 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit f938c0c375bbd77c4343d4bf3bed57abd45b58aa (HEAD -> develop, 
origin/develop)
Author: thien.m.huynh 
Date:   Tue May 11 09:50:58 2021 +0700

pyosaf: Correct input for eSaAisErrorT.whatis() [#2767]

There is a problem in process return code:
operation_rc return type as object (cint) but
eSaAisErrorT.whatis require input type interger.
This fix is Correct input for eSaAisErrorT.whatis()

In addition, this ticket allow immadm python tool can run
without argument params.



---

** [tickets:#2767] pyosaf: Fix  invoke_admin_operation() method of ImmOmAgent**

**Status:** fixed
**Milestone:** 5.21.06
**Created:** Mon Jan 22, 2018 10:04 AM UTC by Danh Vo
**Last Updated:** Tue May 11, 2021 04:28 AM UTC
**Owner:** Thien Minh Huynh


An error occurs when  using the invoke_admin_operation() method to perform an 
admin operation which resturns operation_rc that is not SA_AIS_OK. 

line: 292
log_err("Administrative operation(%s) on %s FAILED - %s" %
(op_id, object_dn, eSaAisErrorT.whatis(operation_rc)))



---

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


[tickets] [opensaf:tickets] #2767 pyosaf: Fix invoke_admin_operation() method of ImmOmAgent

2021-05-10 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review
- **Milestone**: future --> 5.21.06



---

** [tickets:#2767] pyosaf: Fix  invoke_admin_operation() method of ImmOmAgent**

**Status:** review
**Milestone:** 5.21.06
**Created:** Mon Jan 22, 2018 10:04 AM UTC by Danh Vo
**Last Updated:** Mon May 10, 2021 09:16 AM UTC
**Owner:** Thien Minh Huynh


An error occurs when  using the invoke_admin_operation() method to perform an 
admin operation which resturns operation_rc that is not SA_AIS_OK. 

line: 292
log_err("Administrative operation(%s) on %s FAILED - %s" %
(op_id, object_dn, eSaAisErrorT.whatis(operation_rc)))



---

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


[tickets] [opensaf:tickets] #2767 pyosaf: Fix invoke_admin_operation() method of ImmOmAgent

2021-05-10 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: unassigned --> accepted
- **assigned_to**: Thien Minh Huynh



---

** [tickets:#2767] pyosaf: Fix  invoke_admin_operation() method of ImmOmAgent**

**Status:** accepted
**Milestone:** future
**Created:** Mon Jan 22, 2018 10:04 AM UTC by Danh Vo
**Last Updated:** Wed Jan 09, 2019 09:35 PM UTC
**Owner:** Thien Minh Huynh


An error occurs when  using the invoke_admin_operation() method to perform an 
admin operation which resturns operation_rc that is not SA_AIS_OK. 

line: 292
log_err("Administrative operation(%s) on %s FAILED - %s" %
(op_id, object_dn, eSaAisErrorT.whatis(operation_rc)))



---

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


[tickets] [opensaf:tickets] #2714 dtm: Add osaflog options for printing log entries between a range of dates

2021-05-07 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 8259816e20e83658f04f0264af19cafa0cdd2755 (HEAD -> develop, 
origin/develop, ticket-2714)
Author: thien.m.huynh 
Date:   Thu Apr 1 09:27:17 2021 +0700

dtm: Add osaflog options for print log entries between a range of dates 
[#2714]

Add new options, e.g. --from and --to, that specify a range of dates.
Only log messages between those dates shall be printed by the command.



---

** [tickets:#2714] dtm: Add osaflog options for printing log entries between a 
range of dates**

**Status:** fixed
**Milestone:** 5.21.06
**Created:** Fri Dec 01, 2017 01:22 PM UTC by Anders Widell
**Last Updated:** Thu Apr 01, 2021 03:11 AM UTC
**Owner:** Thien Minh Huynh


Add new options, e.g. --from and --to, that specify a range of dates. Only log 
messages between those dates shall be printed by the command.


---

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


[tickets] [opensaf:tickets] #2911 ntf: Alarm notifications queued for logging may not be logged

2021-04-19 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: unassigned --> review
- **assigned_to**: Thien Minh Huynh
- **Part**: - --> d



---

** [tickets:#2911] ntf: Alarm notifications queued for logging may not be 
logged**

**Status:** review
**Milestone:** future
**Created:** Thu Aug 16, 2018 08:17 AM UTC by elunlen
**Last Updated:** Sat Sep 29, 2018 09:11 AM UTC
**Owner:** Thien Minh Huynh


The NTF service uses the OpenSAF log service for logging alarm notifications. 
When an alarm notification is created it is added to a buffer (queue) and 
logging this notification and eventual others in the queue is done.
A problem is that creating an alarm notification (any notification?) is the 
only trigger for logging. This means that notifications queued for logging may 
remain in the queue for a long time. It is also possible they will be lost.
Note: The queue is checkpointed to standby.


---

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


[tickets] [opensaf:tickets] #3018 log: logd crash due to well known stream has numOpeners = 0

2021-04-07 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> not-reproducible



---

** [tickets:#3018] log: logd crash due to well known stream has numOpeners = 0**

**Status:** not-reproducible
**Milestone:** 5.21.06
**Created:** Thu Mar 14, 2019 09:37 AM UTC by Canh Truong
**Last Updated:** Mon Mar 15, 2021 07:29 AM UTC
**Owner:** Thien Minh Huynh


osaflogd[14677]: src/log/logd/lgs_stream.cc:852: log_stream_close: Assertion 
'stream->streamType >= STREAM_TYPE_APPLICATION_RT' failed.

osafamfnd[14733]: Rebooting OpenSAF NodeId = 131599 EE Name = , Reason: 
Component faulted: recovery is node failfast, OwnNodeId = 131599, 
SupervisionTime = 60
opensaf_reboot: Rebooting local node; timeout=60
opensaf_reboot: daemonize_job opensaf_kill returned=0
opensaf_reboot: opensaf_kill  child process SUBPID=17690


(gdb) bt full
#0  0x7f8938eeef67 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x7f8938ef033a in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x7f8939c6646e in __osafassert_fail (__file=, 
__line=, __func=, __assertion=) at 
src/base/sysf_def.c:296
No locals.
#3  0x558ff611c304 in log_stream_close (s=s@entry=0x7ffdf2741a78, 
close_time_ptr=close_time_ptr@entry=0x7ffdf2741a48) at 
src/log/logd/lgs_stream.cc:852
file_to_rename = {
  static npos = , 
  _M_dataplus = {
> = {
  <__gnu_cxx::new_allocator> = {}, }, 
members of std::basic_string, 
std::allocator >::_Alloc_hider: 
_M_p = 0x7f8939a1dd58  
""
  }
}
trace_num_openers = 0
closetime_tspec = {
  tv_sec = 140728671148672, 
  tv_nsec = 140728671148560
}
root_path = {
  static npos = , 
  _M_dataplus = {
> = {
  <__gnu_cxx::new_allocator> = {}, }, 
members of std::basic_string, 
std::allocator >::_Alloc_hider: 
_M_p = 0x558ff7867c28 "/storage/no-backup/opensaf/var/log/saflog"
  }
}
t_ = {
  trace_leave_called = false, 
  file_ = 0x558ff61337ad "src/log/logd/lgs_stream.cc", 
  function_ = 0x558ff6134240  "log_stream_close"
}
errno_ret = 0
stream = 0x558ff78689d0
__FUNCTION__ = "log_stream_close"
rc = 0
timeString = 0x0
emptyStr = {
  static npos = , 
  _M_dataplus = {
> = {
  <__gnu_cxx::new_allocator> = {}, }, 
members of std::basic_string, 
std::allocator >::_Alloc_hider: 
_M_p = 0x7f8939a1dd58  
""
  }
}
#4  0x558ff60f2628 in lgs_client_delete (client_id=16, 
closetime_ptr=closetime_ptr@entry=0x7ffdf2741b88) at src/log/logd/lgs_evt.cc:213
tmp_rec = 
stream = 0x558ff78689d0
status = 0
cur_rec = 0x558ff786ab20
closetime = 1552070466
closetime_tspec = {
  tv_sec = 2048, 
  tv_nsec = 140227354156352
}
client_rec = 
__FUNCTION__ = "lgs_client_delete"
clientMap = 0x558ff7854490
client = 0x558ff786aa20
t_ = {
  trace_leave_called = false, 
  file_ = 0x558ff612c49f "src/log/logd/lgs_evt.cc", 
  function_ = 0x558ff612d030  "lgs_client_delete"
}
#5  0x558ff60f2874 in lgs_client_delete_by_mds_dest 
(mds_dest=586104137566712, closetime_ptr=closetime_ptr@entry=0x7ffdf2741b88) at 
src/log/logd/lgs_evt.cc:343
it = {
  _M_node = 0x558ff786aae0
}
rp = 0x558ff786aa20
__FUNCTION__ = "lgs_client_delete_by_mds_dest"
clientMap = 0x558ff7854490
rc = 0
t_ = {
  trace_leave_called = false, 
  file_ = 0x558ff612c49f "src/log/logd/lgs_evt.cc", 
  function_ = 0x558ff612cfd0  "lgs_client_delete_by_mds_dest"
}
#6  0x558ff60f3020 in lgs_process_lga_down_list () at 
src/log/logd/lgs_evt.cc:534
temp_lga_down_rec = 0x558ff786b0e0
closetime = 1552070466
lga_down_rec = 0x558ff786b0e0
closetime_tspec = {
  tv_sec = 1552070466, 
  tv_nsec = 152364897
}
#7  proc_rda_cb_msg (evt=0x7f892c0008c0) at src/log/logd/lgs_evt.cc:577
count = 
stream = 
endloop = (unknown: 1552070466)
jstart = 
rc = 
t_ = {
  trace_leave_called = false, 
  file_ = 0x558ff612c49f "src/log/logd/lgs_evt.cc", 
  function_ = 0x558ff612ce60 
 "proc_rda_cb_msg"
}
#8  lgs_process_mbx (mbx=) at src/log/logd/lgs_evt.cc:1568
msg = 0x7f892c0008c0
#9  0x558ff60e72ec in main (argc=, argv=) at 
src/log/logd/lgs_main.cc:620
oi_handle = 0
oi_selection_object = 
ret = 
mbx_fd = 
term_fd = 19
__FUNCTION__ = "main"
ais_rc = 
rc = 
cltimer_fd = -1
t_ = {
  trace_leave_called = false, 
  file_ = 0x558ff6130a67 "src/log/logd/lgs_main.cc", 
  

[tickets] [opensaf:tickets] #2714 dtm: Add osaflog options for printing log entries between a range of dates

2021-03-31 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review
- **Part**: - --> tools
- **Milestone**: future --> 5.21.06



---

** [tickets:#2714] dtm: Add osaflog options for printing log entries between a 
range of dates**

**Status:** review
**Milestone:** 5.21.06
**Created:** Fri Dec 01, 2017 01:22 PM UTC by Anders Widell
**Last Updated:** Fri Mar 26, 2021 03:33 AM UTC
**Owner:** Thien Minh Huynh


Add new options, e.g. --from and --to, that specify a range of dates. Only log 
messages between those dates shall be printed by the command.


---

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


[tickets] [opensaf:tickets] #2725 fm: log Hexadecimal number for node id instead of Decimal

2021-03-28 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit e950938bfe98ab6b897c3f03ca73f3bbaca2be9e (HEAD -> develop, 
origin/develop, ticket-2725)
Author: thien.m.huynh 
Date:   Thu Mar 25 11:46:33 2021 +0700

dtm: Using log Hexadecimal number for node id instead of Decimal [#2725]

commit 2be26088793be7ffba090607fdd77f236d23bbdd
Author: thien.m.huynh 
Date:   Thu Mar 25 11:46:13 2021 +0700

amf: Using log Hexadecimal number for node id instead of Decimal [#2725]

commit 3110bcab1c14aa13859f2c0656b4a3582ff64ed4
Author: thien.m.huynh 
Date:   Thu Mar 25 11:45:29 2021 +0700

clm: Using log Hexadecimal number for node id instead of Decimal [#2725]

commit 13635ddc243e8882ce49e22d12f7a37c35478f5b
Author: thien.m.huynh 
Date:   Thu Mar 25 09:14:30 2021 +0700

fm: Using log Hexadecimal number for node id instead of Decimal [#2725]



---

** [tickets:#2725] fm: log Hexadecimal number for node id instead of Decimal**

**Status:** fixed
**Milestone:** 5.21.06
**Created:** Mon Dec 04, 2017 10:43 AM UTC by Vu Minh Nguyen
**Last Updated:** Thu Mar 25, 2021 02:40 AM UTC
**Owner:** Thien Minh Huynh


Here is the syslog:

> osaffmd[1861]: Rebooting OpenSAF **NodeId = 132111** EE Name = , Reason: 
> Received Node Down for Active peer, **OwnNodeId = 132623**, SupervisionTime = 
> 60

In AMF, IMM or CLM service, they use hex output format for node ID. So, it 
could be better to output `2040f` or `2060f` instead of `132111` or `132623` to 
keep nodeid format logged consistency and easier for tracing/debugging.


---

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


[tickets] [opensaf:tickets] #3253 log: logtest 22 5 get failure when verify PRI

2021-03-26 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 462ad77459791ecf7c3b0eb5ed16483aa2c83d5b (HEAD -> develop, 
origin/develop)
Author: thien.m.huynh 
Date:   Wed Mar 17 16:15:39 2021 +0700

log: improve logtest testsuite 22 [#3253]

- retry more to reveive another message if not same the sent message
- prevent ignore test case when role is unexpected.



---

** [tickets:#3253] log: logtest 22 5 get failure when verify PRI**

**Status:** fixed
**Milestone:** 5.21.06
**Created:** Wed Mar 17, 2021 09:10 AM UTC by Thien Minh Huynh
**Last Updated:** Thu Mar 18, 2021 03:14 AM UTC
**Owner:** Thien Minh Huynh


The failure happens in switch-over case.
Severity = 5  notice from safApp=safAmfService - saLogSystemC
Expected 6 (Informational)

test 5: Trigger switch-over then verify PRI field in package RFC5424 format

> <37>1 2021-03-17T07:30:23.101632+01:00 SC-2 safApp=safAmfService - 
> saLogSystemC - 64 07:30:23 03/17/2021 NO safApp=safAmfService "Admin 
> op done for invocation: 214748364802, result 1"
5   [1;31mFAILED [0mTrigger switch-over then verify PRI field in 
package RFC5424 format  [1;31m(expected SA_AIS_OK (1), got OUT_OF_RANGE) [0m



---

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


[tickets] [opensaf:tickets] #2714 dtm: Add osaflog options for printing log entries between a range of dates

2021-03-25 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: unassigned --> accepted
- **assigned_to**: Thien Minh Huynh



---

** [tickets:#2714] dtm: Add osaflog options for printing log entries between a 
range of dates**

**Status:** accepted
**Milestone:** future
**Created:** Fri Dec 01, 2017 01:22 PM UTC by Anders Widell
**Last Updated:** Sat Sep 29, 2018 09:15 AM UTC
**Owner:** Thien Minh Huynh


Add new options, e.g. --from and --to, that specify a range of dates. Only log 
messages between those dates shall be printed by the command.


---

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


[tickets] [opensaf:tickets] #2725 fm: log Hexadecimal number for node id instead of Decimal

2021-03-24 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#2725] fm: log Hexadecimal number for node id instead of Decimal**

**Status:** review
**Milestone:** 5.21.06
**Created:** Mon Dec 04, 2017 10:43 AM UTC by Vu Minh Nguyen
**Last Updated:** Wed Mar 24, 2021 09:38 AM UTC
**Owner:** Thien Minh Huynh


Here is the syslog:

> osaffmd[1861]: Rebooting OpenSAF **NodeId = 132111** EE Name = , Reason: 
> Received Node Down for Active peer, **OwnNodeId = 132623**, SupervisionTime = 
> 60

In AMF, IMM or CLM service, they use hex output format for node ID. So, it 
could be better to output `2040f` or `2060f` instead of `132111` or `132623` to 
keep nodeid format logged consistency and easier for tracing/debugging.


---

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


[tickets] [opensaf:tickets] #2725 fm: log Hexadecimal number for node id instead of Decimal

2021-03-24 Thread Thien Minh Huynh via Opensaf-tickets
- **Milestone**: future --> 5.21.06



---

** [tickets:#2725] fm: log Hexadecimal number for node id instead of Decimal**

**Status:** accepted
**Milestone:** 5.21.06
**Created:** Mon Dec 04, 2017 10:43 AM UTC by Vu Minh Nguyen
**Last Updated:** Wed Mar 24, 2021 09:37 AM UTC
**Owner:** Thien Minh Huynh


Here is the syslog:

> osaffmd[1861]: Rebooting OpenSAF **NodeId = 132111** EE Name = , Reason: 
> Received Node Down for Active peer, **OwnNodeId = 132623**, SupervisionTime = 
> 60

In AMF, IMM or CLM service, they use hex output format for node ID. So, it 
could be better to output `2040f` or `2060f` instead of `132111` or `132623` to 
keep nodeid format logged consistency and easier for tracing/debugging.


---

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


[tickets] [opensaf:tickets] #2725 fm: log Hexadecimal number for node id instead of Decimal

2021-03-24 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: unassigned --> accepted
- **assigned_to**: Thien Minh Huynh



---

** [tickets:#2725] fm: log Hexadecimal number for node id instead of Decimal**

**Status:** accepted
**Milestone:** future
**Created:** Mon Dec 04, 2017 10:43 AM UTC by Vu Minh Nguyen
**Last Updated:** Sat Sep 29, 2018 09:17 AM UTC
**Owner:** Thien Minh Huynh


Here is the syslog:

> osaffmd[1861]: Rebooting OpenSAF **NodeId = 132111** EE Name = , Reason: 
> Received Node Down for Active peer, **OwnNodeId = 132623**, SupervisionTime = 
> 60

In AMF, IMM or CLM service, they use hex output format for node ID. So, it 
could be better to output `2040f` or `2060f` instead of `132111` or `132623` to 
keep nodeid format logged consistency and easier for tracing/debugging.


---

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


[tickets] [opensaf:tickets] #3253 log: logtest 22 5 get failure when verify PRI

2021-03-17 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#3253] log: logtest 22 5 get failure when verify PRI**

**Status:** review
**Milestone:** 5.21.06
**Created:** Wed Mar 17, 2021 09:10 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Mar 17, 2021 09:10 AM UTC
**Owner:** Thien Minh Huynh


The failure happens in switch-over case.
Severity = 5  notice from safApp=safAmfService - saLogSystemC
Expected 6 (Informational)

test 5: Trigger switch-over then verify PRI field in package RFC5424 format

> <37>1 2021-03-17T07:30:23.101632+01:00 SC-2 safApp=safAmfService - 
> saLogSystemC - 64 07:30:23 03/17/2021 NO safApp=safAmfService "Admin 
> op done for invocation: 214748364802, result 1"
5   [1;31mFAILED [0mTrigger switch-over then verify PRI field in 
package RFC5424 format  [1;31m(expected SA_AIS_OK (1), got OUT_OF_RANGE) [0m



---

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


[tickets] [opensaf:tickets] #3253 log: logtest 22 5 get failure when verify PRI

2021-03-17 Thread Thien Minh Huynh via Opensaf-tickets



---

** [tickets:#3253] log: logtest 22 5 get failure when verify PRI**

**Status:** accepted
**Milestone:** 5.21.06
**Created:** Wed Mar 17, 2021 09:10 AM UTC by Thien Minh Huynh
**Last Updated:** Wed Mar 17, 2021 09:10 AM UTC
**Owner:** Thien Minh Huynh


The failure happens in switch-over case.
Severity = 5  notice from safApp=safAmfService - saLogSystemC
Expected 6 (Informational)

test 5: Trigger switch-over then verify PRI field in package RFC5424 format

> <37>1 2021-03-17T07:30:23.101632+01:00 SC-2 safApp=safAmfService - 
> saLogSystemC - 64 07:30:23 03/17/2021 NO safApp=safAmfService "Admin 
> op done for invocation: 214748364802, result 1"
5   [1;31mFAILED [0mTrigger switch-over then verify PRI field in 
package RFC5424 format  [1;31m(expected SA_AIS_OK (1), got OUT_OF_RANGE) [0m



---

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


[tickets] [opensaf:tickets] #3018 log: logd crash due to well known stream has numOpeners = 0

2021-03-15 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: unassigned --> accepted
- **assigned_to**: Thien Minh Huynh



---

** [tickets:#3018] log: logd crash due to well known stream has numOpeners = 0**

**Status:** accepted
**Milestone:** 5.21.06
**Created:** Thu Mar 14, 2019 09:37 AM UTC by Canh Truong
**Last Updated:** Mon Mar 01, 2021 02:43 AM UTC
**Owner:** Thien Minh Huynh


osaflogd[14677]: src/log/logd/lgs_stream.cc:852: log_stream_close: Assertion 
'stream->streamType >= STREAM_TYPE_APPLICATION_RT' failed.

osafamfnd[14733]: Rebooting OpenSAF NodeId = 131599 EE Name = , Reason: 
Component faulted: recovery is node failfast, OwnNodeId = 131599, 
SupervisionTime = 60
opensaf_reboot: Rebooting local node; timeout=60
opensaf_reboot: daemonize_job opensaf_kill returned=0
opensaf_reboot: opensaf_kill  child process SUBPID=17690


(gdb) bt full
#0  0x7f8938eeef67 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x7f8938ef033a in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x7f8939c6646e in __osafassert_fail (__file=, 
__line=, __func=, __assertion=) at 
src/base/sysf_def.c:296
No locals.
#3  0x558ff611c304 in log_stream_close (s=s@entry=0x7ffdf2741a78, 
close_time_ptr=close_time_ptr@entry=0x7ffdf2741a48) at 
src/log/logd/lgs_stream.cc:852
file_to_rename = {
  static npos = , 
  _M_dataplus = {
> = {
  <__gnu_cxx::new_allocator> = {}, }, 
members of std::basic_string, 
std::allocator >::_Alloc_hider: 
_M_p = 0x7f8939a1dd58  
""
  }
}
trace_num_openers = 0
closetime_tspec = {
  tv_sec = 140728671148672, 
  tv_nsec = 140728671148560
}
root_path = {
  static npos = , 
  _M_dataplus = {
> = {
  <__gnu_cxx::new_allocator> = {}, }, 
members of std::basic_string, 
std::allocator >::_Alloc_hider: 
_M_p = 0x558ff7867c28 "/storage/no-backup/opensaf/var/log/saflog"
  }
}
t_ = {
  trace_leave_called = false, 
  file_ = 0x558ff61337ad "src/log/logd/lgs_stream.cc", 
  function_ = 0x558ff6134240  "log_stream_close"
}
errno_ret = 0
stream = 0x558ff78689d0
__FUNCTION__ = "log_stream_close"
rc = 0
timeString = 0x0
emptyStr = {
  static npos = , 
  _M_dataplus = {
> = {
  <__gnu_cxx::new_allocator> = {}, }, 
members of std::basic_string, 
std::allocator >::_Alloc_hider: 
_M_p = 0x7f8939a1dd58  
""
  }
}
#4  0x558ff60f2628 in lgs_client_delete (client_id=16, 
closetime_ptr=closetime_ptr@entry=0x7ffdf2741b88) at src/log/logd/lgs_evt.cc:213
tmp_rec = 
stream = 0x558ff78689d0
status = 0
cur_rec = 0x558ff786ab20
closetime = 1552070466
closetime_tspec = {
  tv_sec = 2048, 
  tv_nsec = 140227354156352
}
client_rec = 
__FUNCTION__ = "lgs_client_delete"
clientMap = 0x558ff7854490
client = 0x558ff786aa20
t_ = {
  trace_leave_called = false, 
  file_ = 0x558ff612c49f "src/log/logd/lgs_evt.cc", 
  function_ = 0x558ff612d030  "lgs_client_delete"
}
#5  0x558ff60f2874 in lgs_client_delete_by_mds_dest 
(mds_dest=586104137566712, closetime_ptr=closetime_ptr@entry=0x7ffdf2741b88) at 
src/log/logd/lgs_evt.cc:343
it = {
  _M_node = 0x558ff786aae0
}
rp = 0x558ff786aa20
__FUNCTION__ = "lgs_client_delete_by_mds_dest"
clientMap = 0x558ff7854490
rc = 0
t_ = {
  trace_leave_called = false, 
  file_ = 0x558ff612c49f "src/log/logd/lgs_evt.cc", 
  function_ = 0x558ff612cfd0  "lgs_client_delete_by_mds_dest"
}
#6  0x558ff60f3020 in lgs_process_lga_down_list () at 
src/log/logd/lgs_evt.cc:534
temp_lga_down_rec = 0x558ff786b0e0
closetime = 1552070466
lga_down_rec = 0x558ff786b0e0
closetime_tspec = {
  tv_sec = 1552070466, 
  tv_nsec = 152364897
}
#7  proc_rda_cb_msg (evt=0x7f892c0008c0) at src/log/logd/lgs_evt.cc:577
count = 
stream = 
endloop = (unknown: 1552070466)
jstart = 
rc = 
t_ = {
  trace_leave_called = false, 
  file_ = 0x558ff612c49f "src/log/logd/lgs_evt.cc", 
  function_ = 0x558ff612ce60 
 "proc_rda_cb_msg"
}
#8  lgs_process_mbx (mbx=) at src/log/logd/lgs_evt.cc:1568
msg = 0x7f892c0008c0
#9  0x558ff60e72ec in main (argc=, argv=) at 
src/log/logd/lgs_main.cc:620
oi_handle = 0
oi_selection_object = 
ret = 
mbx_fd = 
term_fd = 19
__FUNCTION__ = "main"
ais_rc = 
rc = 
cltimer_fd = -1
t_ = {
  trace_leave_called = false, 
  file_ = 0x558ff6130a67 

[tickets] [opensaf:tickets] #2890 dtm: memory leak when using command osaflog --delete STREAM

2021-03-15 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: unassigned --> fixed
- **Comment**:

This issue was fixed in ticket 
[#3085](https://sourceforge.net/p/opensaf/tickets/3085/)



---

** [tickets:#2890] dtm: memory leak when using command  osaflog --delete 
STREAM**

**Status:** fixed
**Milestone:** future
**Created:** Wed Jul 04, 2018 10:59 AM UTC by Canh Truong
**Last Updated:** Wed Jan 09, 2019 09:38 PM UTC
**Owner:** nobody


When using command osaflog --delete STREAM,  the stream is just removed from 
the map but it has not be freed the alocated memory.

 } else if (command == "?delete") {
if (!ValidateLogName(argument.c_str(), argument.size()) ||
argument == kMdsLogStreamName) {
  return std::string{"Invalid stream name"};
}
auto iter = log_streams_.find(argument);
if (iter == log_streams_.end()) {
  return std::string{"Stream not found"};
}
LogStream* stream = iter->second;
log_streams_.erase(iter);
if (current_stream_ == stream) {
  current_stream_ = log_streams_.begin()->second;
}
return std::string{"!delete " + argument};
  } 


---

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


[tickets] [opensaf:tickets] #3250 imm: immnd dectect headless state wrong

2021-02-08 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: review --> fixed
- **Comment**:

commit 76b7a650effce95575add26d5b25d500b5a441fd (HEAD -> develop, 
origin/develop)
Author: thien.m.huynh 
Date:   Fri Feb 5 13:26:57 2021 +0700

imm: ignore enter headless if already entered [#3250]

immnd going to headless twice when receive event NCSMDS_DOWN, 
NCSMDS_RED_DOWN
in the same time.

The fix is prevent go to headless many time.



---

** [tickets:#3250] imm: immnd dectect headless state wrong**

**Status:** fixed
**Milestone:** 5.20.11
**Created:** Thu Jan 28, 2021 10:06 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Feb 05, 2021 06:46 AM UTC
**Owner:** Thien Minh Huynh


from MDS thread, that receive in order event : **IMMD RED_DOWN** from standby , 
**NCSMDS_DOWN**, **IMMD RED_DOWN** from active. All event from MDS thread will 
be going to IMMND mail box. In event **NCSMDS_DOWN** was mark active node down. 

IMMND receive  **IMMD RED_DOWN** (standby) from MDS thread, then enter the 
headless state. IMMND enter the headless state due to ACTIVE and STANDBY is 
down. So the entering headless state is unexpected.

> <143>1 2021-01-25T21:49:35.467747+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
> sequenceId="115"] 4916:imm/common/immsv_evt.c:6569 T8 Received: 
> IMMND_EVT_MDS_INFO (1) from 0
<143>1 2021-01-25T21:49:35.467758+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="116"] 4916:imm/immnd/immnd_evt.c:12290 T2 **IMMD RED_DOWN EVENT 
2010f role=2 ==> ACT:0 SBY:0**
<140>1 2021-01-25T21:49:35.468554+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="117"] 4916:imm/immnd/immnd_evt.c:12292 WA Both Active & Standby 
DOWN, going to headless
<140>1 2021-01-25T21:49:35.468578+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="118"] 4916:imm/immnd/immnd_evt.c:12315 WA SC Absence IS allowed:900 
IMMD service is DOWN ex_immd_node_id=2020f
<141>1 2021-01-25T21:49:35.468595+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="119"] 4916:imm/immnd/immnd_evt.c:12395 NO IMMD SERVICE IS DOWN, 
HYDRA IS CONFIGURED => UNREGISTERING IMMND form MDS
<143>1 2021-01-25T21:49:35.468602+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="120"] 4916:imm/immnd/immnd_mds.c:256 >> immnd_mds_unregister 
...
<143>1 2021-01-25T21:49:36.495445+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="237"] 4916:imm/common/immsv_evt.c:6569 T8 Received: 
IMMND_EVT_MDS_INFO (1) from 0
<143>1 2021-01-25T21:49:36.49548+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="238"] 4916:imm/immnd/immnd_evt.c:12252 T2 **NCSMDS_DOWN 0**
<140>1 2021-01-25T21:49:36.495548+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="239"] 4916:imm/immnd/immnd_evt.c:12315 WA SC Absence IS allowed:900 
IMMD service is DOWN ex_immd_node_id=2020f
<141>1 2021-01-25T21:49:36.495582+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="240"] 4916:imm/immnd/immnd_evt.c:12395 NO IMMD SERVICE IS DOWN, 
HYDRA IS CONFIGURED => UNREGISTERING IMMND form MDS
<143>1 2021-01-25T21:49:36.495595+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="241"] 4916:imm/immnd/immnd_mds.c:256 >> immnd_mds_unregister 
...
<143>1 2021-01-25T21:49:37.49666+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="275"] 4916:imm/common/immsv_evt.c:6569 T8 Received: 
IMMND_EVT_MDS_INFO (1) from 0
<143>1 2021-01-25T21:49:37.496675+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="276"] 4916:imm/immnd/immnd_evt.c:12290 T2 **IMMD RED_DOWN EVENT 
2020f role=1 ==> ACT:0 SBY:0**
<140>1 2021-01-25T21:49:37.496744+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="277"] 4916:imm/immnd/immnd_evt.c:12292 WA Both Active & Standby 
DOWN, going to headless
<140>1 2021-01-25T21:49:37.496786+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="278"] 4916:imm/immnd/immnd_evt.c:12315 WA SC Absence IS allowed:900 
IMMD service is DOWN ex_immd_node_id=2020f
<141>1 2021-01-25T21:49:37.496809+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="279"] 4916:imm/immnd/immnd_evt.c:12395 NO IMMD SERVICE IS DOWN, 
HYDRA IS CONFIGURED => UNREGISTERING IMMND form MDS
<143>1 2021-01-25T21:49:37.496819+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="280"] 4916:imm/immnd/immnd_mds.c:256 >> immnd_mds_unregister 


---

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


[tickets] [opensaf:tickets] #3250 imm: immnd dectect headless state wrong

2021-02-04 Thread Thien Minh Huynh via Opensaf-tickets
- **status**: fixed --> review



---

** [tickets:#3250] imm: immnd dectect headless state wrong**

**Status:** review
**Milestone:** 5.20.11
**Created:** Thu Jan 28, 2021 10:06 AM UTC by Thien Minh Huynh
**Last Updated:** Mon Feb 01, 2021 06:30 AM UTC
**Owner:** Thien Minh Huynh


from MDS thread, that receive in order event : **IMMD RED_DOWN** from standby , 
**NCSMDS_DOWN**, **IMMD RED_DOWN** from active. All event from MDS thread will 
be going to IMMND mail box. In event **NCSMDS_DOWN** was mark active node down. 

IMMND receive  **IMMD RED_DOWN** (standby) from MDS thread, then enter the 
headless state. IMMND enter the headless state due to ACTIVE and STANDBY is 
down. So the entering headless state is unexpected.

> <143>1 2021-01-25T21:49:35.467747+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
> sequenceId="115"] 4916:imm/common/immsv_evt.c:6569 T8 Received: 
> IMMND_EVT_MDS_INFO (1) from 0
<143>1 2021-01-25T21:49:35.467758+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="116"] 4916:imm/immnd/immnd_evt.c:12290 T2 **IMMD RED_DOWN EVENT 
2010f role=2 ==> ACT:0 SBY:0**
<140>1 2021-01-25T21:49:35.468554+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="117"] 4916:imm/immnd/immnd_evt.c:12292 WA Both Active & Standby 
DOWN, going to headless
<140>1 2021-01-25T21:49:35.468578+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="118"] 4916:imm/immnd/immnd_evt.c:12315 WA SC Absence IS allowed:900 
IMMD service is DOWN ex_immd_node_id=2020f
<141>1 2021-01-25T21:49:35.468595+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="119"] 4916:imm/immnd/immnd_evt.c:12395 NO IMMD SERVICE IS DOWN, 
HYDRA IS CONFIGURED => UNREGISTERING IMMND form MDS
<143>1 2021-01-25T21:49:35.468602+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="120"] 4916:imm/immnd/immnd_mds.c:256 >> immnd_mds_unregister 
...
<143>1 2021-01-25T21:49:36.495445+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="237"] 4916:imm/common/immsv_evt.c:6569 T8 Received: 
IMMND_EVT_MDS_INFO (1) from 0
<143>1 2021-01-25T21:49:36.49548+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="238"] 4916:imm/immnd/immnd_evt.c:12252 T2 **NCSMDS_DOWN 0**
<140>1 2021-01-25T21:49:36.495548+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="239"] 4916:imm/immnd/immnd_evt.c:12315 WA SC Absence IS allowed:900 
IMMD service is DOWN ex_immd_node_id=2020f
<141>1 2021-01-25T21:49:36.495582+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="240"] 4916:imm/immnd/immnd_evt.c:12395 NO IMMD SERVICE IS DOWN, 
HYDRA IS CONFIGURED => UNREGISTERING IMMND form MDS
<143>1 2021-01-25T21:49:36.495595+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="241"] 4916:imm/immnd/immnd_mds.c:256 >> immnd_mds_unregister 
...
<143>1 2021-01-25T21:49:37.49666+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="275"] 4916:imm/common/immsv_evt.c:6569 T8 Received: 
IMMND_EVT_MDS_INFO (1) from 0
<143>1 2021-01-25T21:49:37.496675+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="276"] 4916:imm/immnd/immnd_evt.c:12290 T2 **IMMD RED_DOWN EVENT 
2020f role=1 ==> ACT:0 SBY:0**
<140>1 2021-01-25T21:49:37.496744+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="277"] 4916:imm/immnd/immnd_evt.c:12292 WA Both Active & Standby 
DOWN, going to headless
<140>1 2021-01-25T21:49:37.496786+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="278"] 4916:imm/immnd/immnd_evt.c:12315 WA SC Absence IS allowed:900 
IMMD service is DOWN ex_immd_node_id=2020f
<141>1 2021-01-25T21:49:37.496809+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="279"] 4916:imm/immnd/immnd_evt.c:12395 NO IMMD SERVICE IS DOWN, 
HYDRA IS CONFIGURED => UNREGISTERING IMMND form MDS
<143>1 2021-01-25T21:49:37.496819+11:00 PL-2-4 osafimmnd 4916 osafimmnd [meta 
sequenceId="280"] 4916:imm/immnd/immnd_mds.c:256 >> immnd_mds_unregister 


---

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


  1   2   >