[tickets] [opensaf:tickets] #3298 amf: change saAmfHctDefPeriod/saAmfHctDefMaxDuration not take effect immediately

2021-12-15 Thread PhanTranQuocDat via Opensaf-tickets
- **status**: unassigned --> assigned
- **assigned_to**: PhanTranQuocDat



---

** [tickets:#3298] amf: change saAmfHctDefPeriod/saAmfHctDefMaxDuration not 
take effect immediately**

**Status:** assigned
**Milestone:** 5.21.12
**Created:** Mon Nov 29, 2021 09:39 AM UTC by Thang Duc Nguyen
**Last Updated:** Mon Nov 29, 2021 09:39 AM UTC
**Owner:** PhanTranQuocDat


Change saAmfHctDefPeriod/saAmfHctDefMaxDuration not take effect immediately. It 
does not align with *Table 1 Compliance Table - Availability Management 
Framework* of PR document.


---

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-12-15 Thread Vu Minh Hoang via Opensaf-tickets
- **status**: unassigned --> assigned
- **assigned_to**: Vu Minh Hoang



---

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

**Status:** assigned
**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:** Vu Minh Hoang


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] #3301 log: Try to shutdown the log agent even if it already shutdown

2021-12-15 Thread Hieu Hong Hoang via Opensaf-tickets
- **status**: review --> fixed



---

** [tickets:#3301] log: Try to shutdown the log agent even if it already 
shutdown**

**Status:** fixed
**Milestone:** 5.21.12
**Created:** Thu Dec 09, 2021 08:50 AM UTC by Hieu Hong Hoang
**Last Updated:** Wed Dec 15, 2021 10:45 AM UTC
**Owner:** Hieu Hong Hoang


In [ticket 3291](https://sourceforge.net/p/opensaf/tickets/3291/), the 
following code was added:
~~~
done:
  if (CountClient() == 0) {
// Stop recovery thread if it's running
stop_recovery2_thread();
// Shutdown the agent
rc = lga_shutdown();
if (rc != NCSCC_RC_SUCCESS) {
  TRACE("lga_shutdown FAILED");
  ais_rc = SA_AIS_ERR_LIBRARY;
}
m_NCS_SEL_OBJ_RMV_IND(&init_clm_status_sel_, true, false);
m_NCS_SEL_OBJ_RMV_IND(&log_server_up_sel_, true, false);
atomic_data_.waiting_log_server_up = true;
  }
~~~
The shutdown function was invoked every time we call the finalize function. We 
should shutdown the log agent only if we finalize a log client 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] #3301 log: Try to shutdown the log agent even if it already shutdown

2021-12-15 Thread Hieu Hong Hoang via Opensaf-tickets
commit aec1464068db214e50dee7d66b3511c7816dc79f (HEAD -> develop, 
origin/develop, ticket-3301)
Author: hieu.h.hoang 
Date:   Fri Dec 10 07:41:08 2021 +0700

log: Correct condition to shutdown the log agent [#3301]

The shutdown function was invoked every time invoking the finalize function.
Try to shutdown the log agent only if the log client was finalized 
successfully.



---

** [tickets:#3301] log: Try to shutdown the log agent even if it already 
shutdown**

**Status:** review
**Milestone:** 5.21.12
**Created:** Thu Dec 09, 2021 08:50 AM UTC by Hieu Hong Hoang
**Last Updated:** Mon Dec 13, 2021 08:03 AM UTC
**Owner:** Hieu Hong Hoang


In [ticket 3291](https://sourceforge.net/p/opensaf/tickets/3291/), the 
following code was added:
~~~
done:
  if (CountClient() == 0) {
// Stop recovery thread if it's running
stop_recovery2_thread();
// Shutdown the agent
rc = lga_shutdown();
if (rc != NCSCC_RC_SUCCESS) {
  TRACE("lga_shutdown FAILED");
  ais_rc = SA_AIS_ERR_LIBRARY;
}
m_NCS_SEL_OBJ_RMV_IND(&init_clm_status_sel_, true, false);
m_NCS_SEL_OBJ_RMV_IND(&log_server_up_sel_, true, false);
atomic_data_.waiting_log_server_up = true;
  }
~~~
The shutdown function was invoked every time we call the finalize function. We 
should shutdown the log agent only if we finalize a log client 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