[tickets] [opensaf:tickets] #2412 log: refactor handling log client database in log agent

2017-04-05 Thread Vu Minh Nguyen
**Created:** Tue Apr 04, 2017 12:08 PM UTC by Canh Truong **Last Updated:** Wed Apr 05, 2017 01:36 PM UTC **Owner:** Vu Minh Nguyen In log agent, there is a link list holding all log clients of an application process. Also, in each log client, there is an additional link list holding all log streams

[tickets] [opensaf:tickets] #2412 log: refactor handling log client database in log agent

2017-04-05 Thread Vu Minh Nguyen
* Tue Apr 04, 2017 12:08 PM UTC by Canh Truong **Last Updated:** Wed Apr 05, 2017 01:33 PM UTC **Owner:** Vu Minh Nguyen In log agent, there is a link list holding all log clients of an application process. Also, in each log client, there is an additional link list holding all log streams

[tickets] [opensaf:tickets] #2412 log: refactor handling log client database in log agent

2017-04-05 Thread Vu Minh Nguyen
ad/write accesses to the database to one place with its private mutex +2) Use C++ containters to contain and handle databases - **assigned_to**: Canh Truong --> Vu Minh Nguyen - **Type**: defect --> enhancement - **Milestone**: 5.2.0 --> future --- ** [tickets:#2412] log: refactor ha

[tickets] [opensaf:tickets] #2411 log: agent gets TIMEOUT during failover

2017-04-04 Thread Vu Minh Nguyen
- **Milestone**: 5.0.2 --> next --- ** [tickets:#2411] log: agent gets TIMEOUT during failover** **Status:** assigned **Milestone:** next **Created:** Tue Apr 04, 2017 07:44 AM UTC by Vu Minh Nguyen **Last Updated:** Tue Apr 04, 2017 07:44 AM UTC **Owner:** Vu Minh Nguyen During test

[tickets] [opensaf:tickets] #2406 log: not finalize accessor handle when getting scAbsenceAllowed

2017-04-04 Thread Vu Minh Nguyen
- **status**: review --> invalid - **assigned_to**: Vu Minh Nguyen --> nobody - **Milestone**: next --> never - **Comment**: saImmOmFinalize() function implicitly invokes saImmOmAccessorFinalize() on all accessor handles initialized with immHandle and not yet finalized --- **

[tickets] [opensaf:tickets] #2411 log: agent gets TIMEOUT during failover

2017-04-04 Thread Vu Minh Nguyen
--- ** [tickets:#2411] log: agent gets TIMEOUT during failover** **Status:** assigned **Milestone:** 5.0.2 **Created:** Tue Apr 04, 2017 07:44 AM UTC by Vu Minh Nguyen **Last Updated:** Tue Apr 04, 2017 07:44 AM UTC **Owner:** Vu Minh Nguyen During testing, e.g: use saflogger in loop to

[tickets] [opensaf:tickets] #2406 log: not finalize accessor handle when getting scAbsenceAllowed

2017-03-31 Thread Vu Minh Nguyen
- **status**: assigned --> review --- ** [tickets:#2406] log: not finalize accessor handle when getting scAbsenceAllowed** **Status:** review **Milestone:** 5.0.2 **Created:** Fri Mar 31, 2017 07:36 AM UTC by Vu Minh Nguyen **Last Updated:** Fri Mar 31, 2017 07:36 AM UTC **Owner:** Vu M

[tickets] [opensaf:tickets] #2406 log: not finalize accessor handle when getting scAbsenceAllowed

2017-03-31 Thread Vu Minh Nguyen
--- ** [tickets:#2406] log: not finalize accessor handle when getting scAbsenceAllowed** **Status:** assigned **Milestone:** 5.0.2 **Created:** Fri Mar 31, 2017 07:36 AM UTC by Vu Minh Nguyen **Last Updated:** Fri Mar 31, 2017 07:36 AM UTC **Owner:** Vu Minh Nguyen In

[tickets] [opensaf:tickets] #2399 log: unit test failed due to not updating new rfc5424 msgid handling

2017-03-28 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8731:52f7fab7b8a7 tag: tip user: Vu Minh Nguyen date:Mon Mar 27 21:24:56 2017 +0700 summary: log: unit test failed due to not updating new rfc5424 msgid ha

[tickets] [opensaf:tickets] #2399 log: unit test failed due to not updating new rfc5424 msgid handling

2017-03-27 Thread Vu Minh Nguyen
- **status**: accepted --> review --- ** [tickets:#2399] log: unit test failed due to not updating new rfc5424 msgid handling** **Status:** review **Milestone:** 5.2.RC2 **Created:** Mon Mar 27, 2017 02:22 PM UTC by Vu Minh Nguyen **Last Updated:** Mon Mar 27, 2017 02:22 PM UTC **Owner:**

[tickets] [opensaf:tickets] #2399 log: unit test failed due to not updating new rfc5424 msgid handling

2017-03-27 Thread Vu Minh Nguyen
--- ** [tickets:#2399] log: unit test failed due to not updating new rfc5424 msgid handling** **Status:** accepted **Milestone:** 5.2.RC2 **Created:** Mon Mar 27, 2017 02:22 PM UTC by Vu Minh Nguyen **Last Updated:** Mon Mar 27, 2017 02:22 PM UTC **Owner:** Vu Minh Nguyen The RFC5424 msgid

[tickets] [opensaf:tickets] #2397 log: cache RFC5424 msgid when log stream is created

2017-03-26 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8726:cad103f14b48 tag: tip user: Vu Minh Nguyen date:Fri Mar 24 15:33:30 2017 +0700 summary: log: cache RFC5424 msgid when log stream is created

[tickets] [opensaf:tickets] #2312 logtest: Log test Segmentation faults if System controller name is other that SC-1 /SC-2

2017-03-24 Thread Vu Minh Nguyen
- **Milestone**: 5.2.RC2 --> future --- ** [tickets:#2312] logtest: Log test Segmentation faults if System controller name is other that SC-1 /SC-2 ** **Status:** unassigned **Milestone:** future **Created:** Fri Feb 17, 2017 06:41 AM UTC by A V Mahesh (AVM) **Last Updated:** Fri Feb 17,

[tickets] [opensaf:tickets] #2397 log: cache RFC5424 msgid when log stream is created

2017-03-24 Thread Vu Minh Nguyen
one:** 5.2.RC2 **Created:** Thu Mar 23, 2017 03:47 PM UTC by Vu Minh Nguyen **Last Updated:** Thu Mar 23, 2017 03:47 PM UTC **Owner:** Vu Minh Nguyen MSGID currently is calculated whenever sending log record to UNIX_SOCKET type, it may impact more or less on performance. It is better to cache the va

[tickets] [opensaf:tickets] #2397 log: cache RFC5424 msgid when log stream is created

2017-03-23 Thread Vu Minh Nguyen
--- ** [tickets:#2397] log: cache RFC5424 msgid when log stream is created** **Status:** accepted **Milestone:** 5.2.RC2 **Created:** Thu Mar 23, 2017 03:47 PM UTC by Vu Minh Nguyen **Last Updated:** Thu Mar 23, 2017 03:47 PM UTC **Owner:** Vu Minh Nguyen MSGID currently is calculated

[tickets] [opensaf:tickets] #2149 log: refactor handling IMM in log service

2017-03-16 Thread Vu Minh Nguyen
tus:** assigned **Milestone:** future **Created:** Fri Oct 28, 2016 12:25 PM UTC by elunlen **Last Updated:** Wed Mar 15, 2017 01:54 PM UTC **Owner:** Vu Minh Nguyen This ticket intends to do refactor stuffs related to IMM handling in log service. More details will come later. With first look, we

[tickets] [opensaf:tickets] #2149 log: Create a C++ wrapper for handling IMM api

2017-03-15 Thread Vu Minh Nguyen
- **status**: unassigned --> assigned - **assigned_to**: Vu Minh Nguyen --- ** [tickets:#2149] log: Create a C++ wrapper for handling IMM api** **Status:** assigned **Milestone:** future **Created:** Fri Oct 28, 2016 12:25 PM UTC by elunlen **Last Updated:** Fri Oct 28, 2016 12:25 PM

[tickets] [opensaf:tickets] #2362 logd got crashed on Active controller during saLogStreamOpen_2

2017-03-14 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Canh Truong --> nobody - **Comment**: changeset: 8699:6c3291973c8e tag: tip user:Canh Van Truong date:Mon Mar 13 12:10:19 2017 +0100 summary: log: fix logd crash on Active side [#2362] --- ** [tickets:#2362] lo

[tickets] [opensaf:tickets] #1463 log: output a redundant quotation mark in log fileWhe

2017-03-13 Thread Vu Minh Nguyen
Aug 28, 2015 09:57 AM UTC by Vu Minh Nguyen **Last Updated:** Tue Mar 07, 2017 12:13 PM UTC **Owner:** nobody When sending a log record which is longer than `saLogStreamFixedLogRecordSize` value, there will be a redundant double quotation mark in log file. Only happens in case of using toke

[tickets] [opensaf:tickets] #2358 log: saflogger tool does not handle timeout for write call

2017-03-09 Thread Vu Minh Nguyen
- **status**: review --> invalid - **assigned_to**: Vu Minh Nguyen --> nobody - **Milestone**: 5.0.2 --> never --- ** [tickets:#2358] log: saflogger tool does not handle timeout for write call** **Status:** invalid **Milestone:** never **Created:** Thu Mar 09, 2017 11:59 AM UTC b

[tickets] [opensaf:tickets] #2285 LOG: Check size of logBufSize could be non backward compatible

2017-03-09 Thread Vu Minh Nguyen
- **status**: unassigned --> invalid - **Milestone**: 5.0.2 --> never --- ** [tickets:#2285] LOG: Check size of logBufSize could be non backward compatible** **Status:** invalid **Milestone:** never **Created:** Thu Feb 02, 2017 01:44 AM UTC by Minh Hon Chau **Last Updated:** Thu Feb 02, 2017

[tickets] [opensaf:tickets] #2358 log: saflogger tool does not handle timeout for write call

2017-03-09 Thread Vu Minh Nguyen
does not handle timeout for write call** **Status:** review **Milestone:** 5.0.2 **Created:** Thu Mar 09, 2017 11:59 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Mar 09, 2017 12:12 PM UTC **Owner:** Vu Minh Nguyen Handle `SA_AIS_ERR_TIMEOUT` for `saLogWriteLogAsync()`, and other LOG API too

[tickets] [opensaf:tickets] #2358 log: saflogger tool does not handle timeout for write call

2017-03-09 Thread Vu Minh Nguyen
- **status**: accepted --> review - **Priority**: major --> minor --- ** [tickets:#2358] log: saflogger tool does not handle timeout for write call** **Status:** review **Milestone:** 5.0.2 **Created:** Thu Mar 09, 2017 11:59 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Mar 09, 2017

[tickets] [opensaf:tickets] #2358 log: saflogger tool does not handle timeout for write call

2017-03-09 Thread Vu Minh Nguyen
--- ** [tickets:#2358] log: saflogger tool does not handle timeout for write call** **Status:** accepted **Milestone:** 5.0.2 **Created:** Thu Mar 09, 2017 11:59 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Mar 09, 2017 11:59 AM UTC **Owner:** Vu Minh Nguyen Handle `SA_AIS_ERR_TIMEOUT

[tickets] [opensaf:tickets] #2356 log: fail to compile the log unit test

2017-03-09 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: hangeset: 8677:fa76e2b0d64c tag: tip parent: 8675:4887e2a6d8a2 user: Vu Minh Nguyen date:Wed Mar 08 20:12:50 2017 +0700 summary: log: fix compiling the log uni

[tickets] [opensaf:tickets] #2356 log: fail to compile the log unit test

2017-03-08 Thread Vu Minh Nguyen
- **status**: assigned --> review --- ** [tickets:#2356] log: fail to compile the log unit test** **Status:** review **Milestone:** 5.2.RC1 **Created:** Wed Mar 08, 2017 01:10 PM UTC by Vu Minh Nguyen **Last Updated:** Wed Mar 08, 2017 01:10 PM UTC **Owner:** Vu Minh Nguyen The prototype

[tickets] [opensaf:tickets] #2356 log: fail to compile the log unit test

2017-03-08 Thread Vu Minh Nguyen
--- ** [tickets:#2356] log: fail to compile the log unit test** **Status:** assigned **Milestone:** 5.2.RC1 **Created:** Wed Mar 08, 2017 01:10 PM UTC by Vu Minh Nguyen **Last Updated:** Wed Mar 08, 2017 01:10 PM UTC **Owner:** Vu Minh Nguyen The prototype of function

[tickets] [opensaf:tickets] #2355 log: correct the LOG_NO message in unix socket destination handler

2017-03-08 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8674:51fb123e6502 tag: tip user: Vu Minh Nguyen date:Wed Mar 08 16:33:40 2017 +0700 summary: log: correct the LOG_NO message in unix socket destination h

[tickets] [opensaf:tickets] #2355 log: correct the LOG_NO message in unix socket destination handler

2017-03-08 Thread Vu Minh Nguyen
- **status**: assigned --> review --- ** [tickets:#2355] log: correct the LOG_NO message in unix socket destination handler** **Status:** review **Milestone:** 5.2.RC1 **Created:** Wed Mar 08, 2017 09:30 AM UTC by Vu Minh Nguyen **Last Updated:** Wed Mar 08, 2017 09:30 AM UTC **Owner:**

[tickets] [opensaf:tickets] #2355 log: correct the LOG_NO message in unix socket destination handler

2017-03-08 Thread Vu Minh Nguyen
--- ** [tickets:#2355] log: correct the LOG_NO message in unix socket destination handler** **Status:** assigned **Milestone:** 5.2.RC1 **Created:** Wed Mar 08, 2017 09:30 AM UTC by Vu Minh Nguyen **Last Updated:** Wed Mar 08, 2017 09:30 AM UTC **Owner:** Vu Minh Nguyen When receiver is

[tickets] [opensaf:tickets] #2344 log: leak memory in unix domain socket destination handler

2017-03-06 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8654:bdc938d5787e tag: tip user: Vu Minh Nguyen date:Mon Mar 06 16:38:37 2017 +0700 summary: log: fix leak memory in socket destination handler

[tickets] [opensaf:tickets] #2072 log: examples is not correct in OpenSAF_LOGSv_PR.odt document

2017-03-06 Thread Vu Minh Nguyen
- **status**: unassigned --> duplicate - **assigned_to**: Canh Truong --> nobody - **Comment**: The info will be updated in [#2200]. Change the status to duplicated to avoid confusion. --- ** [tickets:#2072] log: examples is not correct in OpenSAF_LOGSv_PR.odt document** **Status:** dupl

[tickets] [opensaf:tickets] #2200 log: Update the PR documentation for 5.2 release

2017-03-06 Thread Vu Minh Nguyen
ckT [#2146] log: add alternative destinations of log records [#2258] + log: examples is not correct [#2072] --- ** [tickets:#2200] log: Update the PR documentation for 5.2 release** **Status:** review **Milestone:** 5.2.RC1 **Created:** Wed Nov 23, 2016 07:23 AM UTC by Vu Minh Ngu

[tickets] [opensaf:tickets] #2200 log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize

2017-03-06 Thread Vu Minh Nguyen
- **status**: accepted --> review --- ** [tickets:#2200] log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize** **Status:** review **Milestone:** 5.2.RC1 **Created:** Wed Nov 23, 2016 07:23 AM UTC by Vu Minh Nguyen **Last Updated:** Mon Mar 06, 2017 12:18 PM

[tickets] [opensaf:tickets] #2200 log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize

2017-03-06 Thread Vu Minh Nguyen
egards, Vu --- ** [tickets:#2200] log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize** **Status:** accepted **Milestone:** 5.2.RC1 **Created:** Wed Nov 23, 2016 07:23 AM UTC by Vu Minh Nguyen **Last Updated:** Mon Mar 06, 2017 11:44 AM UTC **Owner:** elunlen The

[tickets] [opensaf:tickets] #2344 log: leak memory in unix domain socket destination handler

2017-03-06 Thread Vu Minh Nguyen
- **status**: assigned --> review --- ** [tickets:#2344] log: leak memory in unix domain socket destination handler** **Status:** review **Milestone:** 5.2.RC1 **Created:** Sun Mar 05, 2017 05:41 PM UTC by Vu Minh Nguyen **Last Updated:** Sun Mar 05, 2017 05:41 PM UTC **Owner:** Vu M

[tickets] [opensaf:tickets] #2328 log: logtest 5 17 fail

2017-03-06 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Canh Truong --> nobody - **Part**: - --> tests - **Comment**: changeset: 8646:6ae9d544b25e tag: tip user:Canh Van Truong date:Fri Mar 03 08:43:22 2017 +0700 summary: log: fix the problem cause the logtest 5 17 faile

[tickets] [opensaf:tickets] #2344 log: leak memory in unix domain socket destination handler

2017-03-05 Thread Vu Minh Nguyen
--- ** [tickets:#2344] log: leak memory in unix domain socket destination handler** **Status:** assigned **Milestone:** 5.2.RC1 **Created:** Sun Mar 05, 2017 05:41 PM UTC by Vu Minh Nguyen **Last Updated:** Sun Mar 05, 2017 05:41 PM UTC **Owner:** Vu Minh Nguyen When updating the data store

[tickets] [opensaf:tickets] #2313 osaf: saflog function does not handle long record

2017-03-02 Thread Vu Minh Nguyen
** Fri Feb 17, 2017 06:45 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Feb 23, 2017 04:04 AM UTC **Owner:** nobody `saflog` is a utility function provided for other OpenSAF services to write an log record to OpenSAF LOG. The `logBuf` in that function is only limited to 255 bytes. So, if writing

[tickets] [opensaf:tickets] #2258 log: add alternative destinations of log records

2017-02-28 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8631:5e2c0a0cfdba tag: tip user: Vu Minh Nguyen date:Thu Feb 16 17:22:13 2017 +0700 summary: log: add unit tests to verify outer interfaces [#2258] cha

[tickets] [opensaf:tickets] #2146 log: implement SaLogFilterSetCallbackT

2017-02-22 Thread Vu Minh Nguyen
[#2146] --- ** [tickets:#2146] log: implement SaLogFilterSetCallbackT** **Status:** fixed **Milestone:** 5.2.FC **Created:** Fri Oct 28, 2016 09:01 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Jan 19, 2017 11:35 AM UTC **Owner:** nobody This ticket is to implement SaLogFilterSetCallbackT wh

[tickets] [opensaf:tickets] #2313 osaf: saflog function does not handle long record

2017-02-17 Thread Vu Minh Nguyen
- **status**: assigned --> unassigned - **assigned_to**: Vu Minh Nguyen --> nobody --- ** [tickets:#2313] osaf: saflog function does not handle long record** **Status:** unassigned **Milestone:** 5.0.2 **Created:** Fri Feb 17, 2017 06:45 AM UTC by Vu Minh Nguyen **Last Updated:** Fri

[tickets] [opensaf:tickets] #2313 osaf: saflog function does not handle long record

2017-02-16 Thread Vu Minh Nguyen
truncation. --- ** [tickets:#2313] osaf: saflog function does not handle long record** **Status:** assigned **Milestone:** 5.0.2 **Created:** Fri Feb 17, 2017 06:45 AM UTC by Vu Minh Nguyen **Last Updated:** Fri Feb 17, 2017 06:51 AM UTC **Owner:** Vu Minh Nguyen `saflog` is a utility

[tickets] [opensaf:tickets] #2313 osaf: saflog function does not handle long record

2017-02-16 Thread Vu Minh Nguyen
- **Milestone**: 5.1.1 --> 5.0.2 --- ** [tickets:#2313] osaf: saflog function does not handle long record** **Status:** assigned **Milestone:** 5.0.2 **Created:** Fri Feb 17, 2017 06:45 AM UTC by Vu Minh Nguyen **Last Updated:** Fri Feb 17, 2017 06:51 AM UTC **Owner:** Vu Minh Ngu

[tickets] [opensaf:tickets] #2313 osaf: saflog function does not handle long record

2017-02-16 Thread Vu Minh Nguyen
one:** 5.1.1 **Created:** Fri Feb 17, 2017 06:45 AM UTC by Vu Minh Nguyen **Last Updated:** Fri Feb 17, 2017 06:45 AM UTC **Owner:** Vu Minh Nguyen `saflog` is a utility function provided for other OpenSAF services to write an log record to OpenSAF LOG. The `logBuf` in that function is only limited to

[tickets] [opensaf:tickets] #2313 osaf: saflog function does not update to handle long dn

2017-02-16 Thread Vu Minh Nguyen
--- ** [tickets:#2313] osaf: saflog function does not update to handle long dn** **Status:** assigned **Milestone:** 5.1.1 **Created:** Fri Feb 17, 2017 06:45 AM UTC by Vu Minh Nguyen **Last Updated:** Fri Feb 17, 2017 06:45 AM UTC **Owner:** Vu Minh Nguyen `saflog` is a ulitity function

[tickets] [opensaf:tickets] #2311 log: isRtStrteam is not correctly updated on standby

2017-02-16 Thread Vu Minh Nguyen
--- ** [tickets:#2311] log: isRtStrteam is not correctly updated on standby** **Status:** assigned **Milestone:** 5.1.1 **Created:** Fri Feb 17, 2017 02:47 AM UTC by Vu Minh Nguyen **Last Updated:** Fri Feb 17, 2017 02:47 AM UTC **Owner:** Canh Truong `isRtStrteam` flag is used to mark

[tickets] [opensaf:tickets] #2258 log: add alternative destinations of log records

2017-02-16 Thread Vu Minh Nguyen
Has just summited Unit tests. --- ** [tickets:#2258] log: add alternative destinations of log records** **Status:** review **Milestone:** 5.2.FC **Created:** Wed Jan 11, 2017 02:33 AM UTC by Vu Minh Nguyen **Last Updated:** Wed Feb 15, 2017 08:51 AM UTC **Owner:** Vu Minh Nguyen **Attachments

[tickets] [opensaf:tickets] #2300 ntf: workaround to pass upgrade failed due to #2006

2017-02-15 Thread Vu Minh Nguyen
Feb 13, 2017 03:17 AM UTC by Vu Minh Nguyen **Last Updated:** Tue Feb 14, 2017 06:25 AM UTC **Owner:** nobody During cluster upgrade from an old OpenSAF version which have not included the fix #2006 to one that have the fix in, if there is an code fault related to inconsistent in `additionalTex

[tickets] [opensaf:tickets] #2258 log: add alternative destinations of log records

2017-02-15 Thread Vu Minh Nguyen
- **status**: accepted --> review - **Comment**: I will submit Unit test & updated PR soon. --- ** [tickets:#2258] log: add alternative destinations of log records** **Status:** review **Milestone:** 5.2.FC **Created:** Wed Jan 11, 2017 02:33 AM UTC by Vu Minh Nguyen **Last Updated

[tickets] [opensaf:tickets] #2300 ntf: workaround to pass upgrade failed due to #2006

2017-02-12 Thread Vu Minh Nguyen
--- ** [tickets:#2300] ntf: workaround to pass upgrade failed due to #2006** **Status:** accepted **Milestone:** 5.0.2 **Created:** Mon Feb 13, 2017 03:17 AM UTC by Vu Minh Nguyen **Last Updated:** Mon Feb 13, 2017 03:17 AM UTC **Owner:** Vu Minh Nguyen During cluster upgrade from an old

[tickets] [opensaf:tickets] #2247 log: Log stream file is not reserved during si-swap

2017-02-06 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Canh Truong --> nobody - **Milestone**: 5.2.FC --> 5.0.2 - **Comment**: changeset: 8559:cf55b10ad97d tag: tip parent: 8554:282c0a6e6d8f user:Canh Van Truong date:Mon Jan 09 18:25:23 2017 +0700 summary: log: fix

[tickets] [opensaf:tickets] #2285 LOG: Check size of logBufSize could be non backward compatible

2017-02-01 Thread Vu Minh Nguyen
Hi Minh, I think, the applications encountered this case have to fix the wrong code from their side as they have not followed the NTF AIS spec correctly. Here is the statement from the AIS spec. > additionalText optional – length must be consistent with lengthAdditionalText Also, I remember the

[tickets] [opensaf:tickets] #2200 log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize

2017-01-25 Thread Vu Minh Nguyen
- **status**: assigned --> accepted --- ** [tickets:#2200] log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize** **Status:** accepted **Milestone:** 5.2.FC **Created:** Wed Nov 23, 2016 07:23 AM UTC by Vu Minh Nguyen **Last Updated:** Mon Jan 16, 2017 08:54 AM

[tickets] [opensaf:tickets] #2258 log: add alternative destinations of log records

2017-01-16 Thread Vu Minh Nguyen
- **status**: assigned --> accepted --- ** [tickets:#2258] log: add alternative destinations of log records** **Status:** accepted **Milestone:** 5.2.FC **Created:** Wed Jan 11, 2017 02:33 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Jan 12, 2017 08:58 AM UTC **Owner:** Vu Minh Ngu

[tickets] [opensaf:tickets] #2200 log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize

2017-01-13 Thread Vu Minh Nguyen
`OpenSafLogConfig` class. `saLogStreamFixedLogRecordSize` value is limited by `logMaxLogrecsize`. This info should be described in PR documentation. + +Also update the PR due to tickets [#2146], [#2250] and [#2258] - **status**: unassigned --> assigned - **assigned_to**: Vu Minh Ngu

[tickets] [opensaf:tickets] #2254 log: reuse of deleted resources leads to agent coredump

2017-01-10 Thread Vu Minh Nguyen
- **Milestone**: 5.2.FC --> 5.0.2 --- ** [tickets:#2254] log: reuse of deleted resources leads to agent coredump** **Status:** unassigned **Milestone:** 5.0.2 **Created:** Mon Jan 09, 2017 07:30 AM UTC by Tai Dinh **Last Updated:** Mon Jan 09, 2017 07:30 AM UTC **Owner:** nobody Below part o

[tickets] [opensaf:tickets] #2258 log: add alternative destinations of log records

2017-01-10 Thread Vu Minh Nguyen
--- ** [tickets:#2258] log: add alternative destinations of log records** **Status:** assigned **Milestone:** 5.2.FC **Created:** Wed Jan 11, 2017 02:33 AM UTC by Vu Minh Nguyen **Last Updated:** Wed Jan 11, 2017 02:33 AM UTC **Owner:** Vu Minh Nguyen **Attachments

[tickets] [opensaf:tickets] #2235 ntf: standby osafntfimcnd process is useless

2017-01-10 Thread Vu Minh Nguyen
2016 10:00 AM UTC by Vu Minh Nguyen **Last Updated:** Tue Jan 10, 2017 09:18 AM UTC **Owner:** nobody osafntfimcnd process at the moment is run on both node controllers. One is active instance, the other is standby. The standby process is there but do nothing. So, it is better to remove that use

[tickets] [opensaf:tickets] #2239 log: no housekeeping for cfg files

2016-12-21 Thread Vu Minh Nguyen
--- ** [tickets:#2239] log: no housekeeping for cfg files** **Status:** unassigned **Milestone:** 5.2.FC **Created:** Wed Dec 21, 2016 08:19 AM UTC by Vu Minh Nguyen **Last Updated:** Wed Dec 21, 2016 08:19 AM UTC **Owner:** nobody At the moment, LOGsv takes care of the housekeeping of the

[tickets] [opensaf:tickets] #2219 ntfd: circular dependency with osafntfimcnd

2016-12-20 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Praveen --> nobody - **Comment**: changeset: 8467:549487bc358f tag: tip parent: 8464:d7b94dc7cbf6 user: Vu Minh Nguyen date:Tue Dec 20 10:35:24 2016 +0700 summary: ntfd: fix circular dependenc

[tickets] [opensaf:tickets] #2235 ntf: standby osafntfimcnd process is useless

2016-12-20 Thread Vu Minh Nguyen
--- ** [tickets:#2235] ntf: standby osafntfimcnd process is useless** **Status:** unassigned **Milestone:** 5.2.FC **Created:** Tue Dec 20, 2016 10:00 AM UTC by Vu Minh Nguyen **Last Updated:** Tue Dec 20, 2016 10:00 AM UTC **Owner:** nobody osafntfimcnd process at the moment is run on both

[tickets] [opensaf:tickets] #2234 ntf: standby osafntfimcnd process is useless

2016-12-20 Thread Vu Minh Nguyen
--- ** [tickets:#2234] ntf: standby osafntfimcnd process is useless** **Status:** unassigned **Milestone:** 5.2.FC **Created:** Tue Dec 20, 2016 09:59 AM UTC by Vu Minh Nguyen **Last Updated:** Tue Dec 20, 2016 09:59 AM UTC **Owner:** nobody osafntfimcnd process at the moment is run on both

[tickets] [opensaf:tickets] #2219 ntfd: circular dependency with osafntfimcnd

2016-12-19 Thread Vu Minh Nguyen
- **status**: assigned --> review --- ** [tickets:#2219] ntfd: circular dependency with osafntfimcnd** **Status:** review **Milestone:** 5.0.2 **Created:** Thu Dec 08, 2016 05:14 AM UTC by Gary Lee **Last Updated:** Tue Dec 20, 2016 05:36 AM UTC **Owner:** Praveen A circular dependency can b

[tickets] [opensaf:tickets] #2219 ntfd: circular dependency with osafntfimcnd

2016-12-19 Thread Vu Minh Nguyen
I has created the patch regarding Lenanrt's proposal. /Vu Attachments: - [imcn_coredump_v5.patch](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/327b0222/8654/attachment/imcn_coredump_v5.patch) (2.6 kB; application/octet-stream) --- ** [tickets:#2219] ntfd: circular dependency w

[tickets] [opensaf:tickets] #2219 ntfd: circular dependency with osafntfimcnd

2016-12-19 Thread Vu Minh Nguyen
Agree with Lennart. That could be easiest way to fix the issue. /Vu --- ** [tickets:#2219] ntfd: circular dependency with osafntfimcnd** **Status:** assigned **Milestone:** 5.0.2 **Created:** Thu Dec 08, 2016 05:14 AM UTC by Gary Lee **Last Updated:** Fri Dec 16, 2016 08:01 AM UTC **Owner:** P

[tickets] [opensaf:tickets] #2215 log: write_log_record_hdl, fileclose_hdl get bad file descriptor

2016-12-15 Thread Vu Minh Nguyen
se_hdl get bad file descriptor** **Status:** fixed **Milestone:** 5.0.2 **Created:** Fri Dec 02, 2016 10:52 AM UTC by Vu Minh Nguyen **Last Updated:** Wed Dec 07, 2016 09:21 AM UTC **Owner:** nobody Steps to procedure: 1) Modify `saLogstreamLogFileFormat` attribute value 2)

[tickets] [opensaf:tickets] #2219 ntfd: circular dependency with osafntfimcnd

2016-12-14 Thread Vu Minh Nguyen
Hi Praveen, Other concern is that, regarding roaming SC. I am not sure how RDE callback works in case of roaming for IMCN. With V4, NTFD will activate IMCN when getting RDE callback. Then IMCN will register itself to RDE. So, my point is IMCN could get notification for his late registration?

[tickets] [opensaf:tickets] #2219 ntfd: circular dependency with osafntfimcnd

2016-12-14 Thread Vu Minh Nguyen
Hi Praveen, With the V4 patch looks good, but wondering below case is valid. When the active IMCN on SC-2 is blocking at saImmOiDispatch(), then do si-swap. On SC-2, standby IMCN will take active role while there's still other active instance running on SC-2. If any change on IMM attributes, w

[tickets] [opensaf:tickets] #2219 ntfd: circular dependency with osafntfimcnd

2016-12-12 Thread Vu Minh Nguyen
Hi Lennart, Seems the global flag `fully_initialized` in control block is used to ensure that `initialize_for_assignment` is called once. Another thing I would like to bring up here, that is TIMEOUT for all NTF API is set to 10 seconds (`#define NTFS_WAIT_TIME 1000`). Then, if calling to one o

[tickets] [opensaf:tickets] #2219 ntfd: circular dependency with osafntfimcnd

2016-12-12 Thread Vu Minh Nguyen
Hi Praveen, Below is my understanding regarding your concerns: > We need gaurantee that thread will surely terminated IMCN IMCN component after getting unblocked, i think, it will go to `handle_sigterm_event()` for SIGTERM signal handling and exit gracefully. Other thing is, when IMCN is blocki

[tickets] [opensaf:tickets] #2219 ntfd: circular dependency with osafntfimcnd

2016-12-11 Thread Vu Minh Nguyen
I attached the patch here for your ref. Attachments: - [ntfsv_imcn_coredump_v3.patch](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/327b0222/a42d/attachment/ntfsv_imcn_coredump_v3.patch) (5.5 kB; application/octet-stream) --- ** [tickets:#2219] ntfd: circular dependency with osa

[tickets] [opensaf:tickets] #2219 ntfd: circular dependency with osafntfimcnd

2016-12-11 Thread Vu Minh Nguyen
Hi Praveen, I think, with your V1's patch, there is possiblity of ntf message lost as the IMCN main poll is non-blocking, then SIGTERM could be proceed while ntf msg not yet come to active NTFD. Other thing, regarding your concern on handling IMCN terminating on a seperated thread, you stated

[tickets] [opensaf:tickets] #2215 log: write_log_record_hdl, fileclose_hdl get bad file descriptor

2016-12-02 Thread Vu Minh Nguyen
--- ** [tickets:#2215] log: write_log_record_hdl, fileclose_hdl get bad file descriptor** **Status:** unassigned **Milestone:** 5.0.2 **Created:** Fri Dec 02, 2016 10:52 AM UTC by Vu Minh Nguyen **Last Updated:** Fri Dec 02, 2016 10:52 AM UTC **Owner:** nobody Steps to procedure: 1) Modify

[tickets] [opensaf:tickets] #2192 logsv: not handle TRY_AGAIN of saClmInitialize_4()

2016-11-25 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8368:54fdaa21d557 tag: tip parent: 8366:8584b74dd7ac user: Vu Minh Nguyen date:Fri Nov 25 13:37:54 2016 +0700 summary: log: handle TRY_AGAIN error c

[tickets] [opensaf:tickets] #2191 ntf: not handle TRY_AGAIN of saClmInitialize_4()

2016-11-23 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8357:2f1901bd5e3f tag: tip parent: 8354:288991466a47 user: Vu Minh Nguyen date:Thu Nov 17 13:10:24 2016 +0700 summary: ntf: handle error code TRY_AG

[tickets] [opensaf:tickets] #2200 log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize

2016-11-22 Thread Vu Minh Nguyen
--- ** [tickets:#2200] log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize** **Status:** unassigned **Milestone:** 5.2.FC **Created:** Wed Nov 23, 2016 07:23 AM UTC by Vu Minh Nguyen **Last Updated:** Wed Nov 23, 2016 07:23 AM UTC **Owner:** nobody The attribute

[tickets] [opensaf:tickets] #2191 ntf: not handle TRY_AGAIN of saClmInitialize_4()

2016-11-16 Thread Vu Minh Nguyen
- **status**: assigned --> review - **Milestone**: 5.1.1 --> 5.0.2 --- ** [tickets:#2191] ntf: not handle TRY_AGAIN of saClmInitialize_4()** **Status:** review **Milestone:** 5.0.2 **Created:** Thu Nov 17, 2016 03:12 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Nov 17, 2016 03:12

[tickets] [opensaf:tickets] #2192 logsv: not handle TRY_AGAIN of saClmInitialize_4()

2016-11-16 Thread Vu Minh Nguyen
- **status**: assigned --> review --- ** [tickets:#2192] logsv: not handle TRY_AGAIN of saClmInitialize_4() ** **Status:** review **Milestone:** 5.1.1 **Created:** Thu Nov 17, 2016 03:14 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Nov 17, 2016 03:14 AM UTC **Owner:** Vu Minh Nguyen Re

[tickets] [opensaf:tickets] #2168 log: test case logtest 5 3 failed

2016-11-16 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8325:2d8270c920d9 branch: opensaf-5.1.x tag: tip parent: 8322:72406571f704 user: Vu Minh Nguyen date:Thu Nov 17 10:45:56 2016 +0700 summary: lo

[tickets] [opensaf:tickets] #2168 log: test case logtest 5 3 failed

2016-11-16 Thread Vu Minh Nguyen
- **status**: unassigned --> review - **assigned_to**: Vu Minh Nguyen --- ** [tickets:#2168] log: test case logtest 5 3 failed** **Status:** review **Milestone:** 5.0.2 **Created:** Fri Nov 04, 2016 07:52 AM UTC by Canh Truong **Last Updated:** Fri Nov 04, 2016 07:54 AM UTC **Owner:** Vu M

[tickets] [opensaf:tickets] #2192 logsv: not handle TRY_AGAIN of saClmInitialize_4()

2016-11-16 Thread Vu Minh Nguyen
--- ** [tickets:#2192] logsv: not handle TRY_AGAIN of saClmInitialize_4() ** **Status:** assigned **Milestone:** 5.1.1 **Created:** Thu Nov 17, 2016 03:14 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Nov 17, 2016 03:14 AM UTC **Owner:** Vu Minh Nguyen Refer to ticket [#2191]. --- Sent

[tickets] [opensaf:tickets] #2191 ntf: not handle TRY_AGAIN of saClmInitialize_4()

2016-11-16 Thread Vu Minh Nguyen
--- ** [tickets:#2191] ntf: not handle TRY_AGAIN of saClmInitialize_4()** **Status:** assigned **Milestone:** 5.1.1 **Created:** Thu Nov 17, 2016 03:12 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Nov 17, 2016 03:12 AM UTC **Owner:** Vu Minh Nguyen In current implementation, ntfsv does

[tickets] [opensaf:tickets] #2146 log: implement SaLogFilterSetCallbackT

2016-11-10 Thread Vu Minh Nguyen
- **status**: assigned --> accepted --- ** [tickets:#2146] log: implement SaLogFilterSetCallbackT** **Status:** accepted **Milestone:** 5.2.FC **Created:** Fri Oct 28, 2016 09:01 AM UTC by Vu Minh Nguyen **Last Updated:** Mon Nov 07, 2016 07:22 AM UTC **Owner:** Canh Truong This ticket

[tickets] [opensaf:tickets] #2146 log: implement SaLogFilterSetCallbackT

2016-11-06 Thread Vu Minh Nguyen
- **assigned_to**: Vu Minh Nguyen --> Canh Truong --- ** [tickets:#2146] log: implement SaLogFilterSetCallbackT** **Status:** assigned **Milestone:** 5.2.FC **Created:** Fri Oct 28, 2016 09:01 AM UTC by Vu Minh Nguyen **Last Updated:** Fri Oct 28, 2016 09:01 AM UTC **Owner:** Canh Tru

[tickets] [opensaf:tickets] #2172 mbc: trace logs of OpenSAF services are flooded after si-swap

2016-11-06 Thread Vu Minh Nguyen
016 07:19 AM UTC by Vu Minh Nguyen **Last Updated:** Mon Nov 07, 2016 07:19 AM UTC **Owner:** nobody After performing si-swap, OpenSAF service TRACE are flooded by MBCSV TRACE log. Following TRACE are dumped at every second, and seems non-stop: > Nov 7 10:48:42.136763 osaflogd [453:mbcsv

[tickets] [opensaf:tickets] #2172 mbc: service TRACE logs are flooded after si-swap

2016-11-06 Thread Vu Minh Nguyen
--- ** [tickets:#2172] mbc: service TRACE logs are flooded after si-swap** **Status:** unassigned **Milestone:** 5.0.2 **Created:** Mon Nov 07, 2016 07:19 AM UTC by Vu Minh Nguyen **Last Updated:** Mon Nov 07, 2016 07:19 AM UTC **Owner:** nobody After performing si-swap, OpenSAF service

[tickets] [opensaf:tickets] #1913 log: improve test cases for log service

2016-11-02 Thread Vu Minh Nguyen
ickets:#1913] log: improve test cases for log service** **Status:** fixed **Milestone:** 5.2.FC **Created:** Thu Jul 14, 2016 03:30 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Oct 20, 2016 08:33 AM UTC **Owner:** nobody Most test cases for the log service are made in a simplified way compared t

[tickets] [opensaf:tickets] #2146 log: implement SaLogFilterSetCallbackT

2016-10-28 Thread Vu Minh Nguyen
--- ** [tickets:#2146] log: implement SaLogFilterSetCallbackT** **Status:** assigned **Milestone:** 5.2.FC **Created:** Fri Oct 28, 2016 09:01 AM UTC by Vu Minh Nguyen **Last Updated:** Fri Oct 28, 2016 09:01 AM UTC **Owner:** Vu Minh Nguyen This ticket is to implement

[tickets] [opensaf:tickets] #1913 log: improve test cases for log service

2016-10-20 Thread Vu Minh Nguyen
- **status**: accepted --> review --- ** [tickets:#1913] log: improve test cases for log service** **Status:** review **Milestone:** 5.2.FC **Created:** Thu Jul 14, 2016 03:30 AM UTC by Vu Minh Nguyen **Last Updated:** Tue Sep 20, 2016 02:28 AM UTC **Owner:** Canh Truong Most test cases

[tickets] [opensaf:tickets] #2073 log: the usage of command saflogger is not correct

2016-10-19 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Canh Truong --> nobody - **Milestone**: 4.7.2 --> 5.0.2 - **Comment**: changeset: 8241:8aecb97e47c7 tag: tip parent: 8238:40a1fbe6bff2 user:Canh Van Truong date:Thu Oct 20 10:15:41 2016 +0700 summary: log: corr

[tickets] [opensaf:tickets] #2093 saLogStreamOpen_2 api returns SA_AIS_ERR_BAD_OPERATION during si-swap operation

2016-10-12 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8216:90192f4b8e98 tag: tip parent: 8213:32824c74a736 user: Vu Minh Nguyen date:Wed Oct 12 16:03:09 2016 +0700 summary: log: fix saLogStreamOpen_2 r

[tickets] [opensaf:tickets] #2054 log: fail to create directory when changing logRootDirectory

2016-10-12 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8213:32824c74a736 tag: tip parent: 8209:1eceec883b6c user: Vu Minh Nguyen date:Wed Oct 12 15:47:24 2016 +0700 summary: log: fix failure to create dir

[tickets] [opensaf:tickets] #1975 log: cppcheck with performance severity

2016-10-11 Thread Vu Minh Nguyen
ickets:#1975] log: cppcheck with performance severity ** **Status:** fixed **Milestone:** 5.2.FC **Created:** Mon Aug 29, 2016 02:33 AM UTC by Vu Minh Nguyen **Last Updated:** Thu Sep 01, 2016 02:34 AM UTC **Owner:** nobody [osaf/services/saf/logsv/lgs/lgs_config.cc:149]: (performance) Va

[tickets] [opensaf:tickets] #2028 log: write_log_record_hdl get bad file descriptor

2016-10-11 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8203:8cda6d0f80fe tag: tip parent: 8200:721e05de1401 user: Vu Minh Nguyen date:Wed Oct 12 11:25:52 2016 +0700 summary: log: write_log_record_hdl get ba

[tickets] [opensaf:tickets] #2093 saLogStreamOpen_2 api returns SA_AIS_ERR_BAD_OPERATION during si-swap operation

2016-10-05 Thread Vu Minh Nguyen
0.2 **Created:** Wed Oct 05, 2016 06:48 AM UTC by Ritu Raj **Last Updated:** Wed Oct 05, 2016 10:44 AM UTC **Owner:** Vu Minh Nguyen **Attachments:** - [log_agent.trace](https://sourceforge.net/p/opensaf/tickets/2093/attachment/log_agent.trace) (52.7 kB; application/octet-stream) # Environment details

[tickets] [opensaf:tickets] #2093 saLogStreamOpen_2 api returns SA_AIS_ERR_BAD_OPERATION during si-swap operation

2016-10-05 Thread Vu Minh Nguyen
- **status**: unassigned --> accepted - **assigned_to**: Vu Minh Nguyen - **Milestone**: 5.2.FC --> 5.0.2 --- ** [tickets:#2093] saLogStreamOpen_2 api returns SA_AIS_ERR_BAD_OPERATION during si-swap operation** **Status:** accepted **Milestone:** 5.0.2 **Created:** Wed Oct 05, 2016 06

[tickets] [opensaf:tickets] #2093 saLogStreamOpen_2 api returns SA_AIS_ERR_BAD_OPERATION during si-swap operation

2016-10-05 Thread Vu Minh Nguyen
Can you provide syslog or osaflogd trace? Thanks. --- ** [tickets:#2093] saLogStreamOpen_2 api returns SA_AIS_ERR_BAD_OPERATION during si-swap operation** **Status:** unassigned **Milestone:** 5.2.FC **Created:** Wed Oct 05, 2016 06:48 AM UTC by Ritu Raj **Last Updated:** Wed Oct 05, 2016 06:4

[tickets] [opensaf:tickets] #2071 log: runtime log stream is deleted after restarting from headless

2016-10-03 Thread Vu Minh Nguyen
- **status**: review --> fixed - **assigned_to**: Vu Minh Nguyen --> nobody - **Comment**: changeset: 8185:fc64038af947 tag: tip parent: 8183:f0b59b8c475c user: Vu Minh Nguyen date:Tue Oct 04 13:06:50 2016 +0700 summary: log: fix runtime log stream is d

[tickets] [opensaf:tickets] #2071 log: runtime log stream is deleted after restarting from headless

2016-09-27 Thread Vu Minh Nguyen
- **status**: accepted --> review --- ** [tickets:#2071] log: runtime log stream is deleted after restarting from headless** **Status:** review **Milestone:** 5.1.1 **Created:** Tue Sep 27, 2016 10:27 AM UTC by Vu Minh Nguyen **Last Updated:** Tue Sep 27, 2016 12:29 PM UTC **Owner:** Vu M

<    1   2   3   4   5   6   7   >