[tickets] [opensaf:tickets] #3134 build: fix compile issues with gcc 9.x

2019-12-19 Thread Alex Jones via Opensaf-tickets



---

** [tickets:#3134] build: fix compile issues with gcc 9.x**

**Status:** accepted
**Milestone:** 5.20.01
**Created:** Thu Dec 19, 2019 04:53 PM UTC by Alex Jones
**Last Updated:** Thu Dec 19, 2019 04:53 PM UTC
**Owner:** Alex Jones


Compiling OpenSAF with gcc 9.2.1 gives errors. Most of these errors are due to 
uses of strncpy, strncat, etc. The compiler is complaining about possible 
string operation overflows. Here is an example:

In file included from /usr/include/string.h:494,
 from src/imm/tools/imm_import.cc:26:
In function 'char* strncpy(char*, const char*, size_t)',
inlined from 'void charactersHandler(void*, const xmlChar*, int)' at 
src/imm/tools/imm_import.cc:1856:18:
/usr/include/bits/string_fortified.h:106:34: error: 'char* 
__builtin_strncpy(char*, const char*, long unsigned int)' specified bound 
depends on the length of the source argument [-Werror=stringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
  |  ^~
src/imm/tools/imm_import.cc: In function 'void charactersHandler(void*, const 
xmlChar*, int)':
src/imm/tools/imm_import.cc:1846:34: note: length computed here
 1846 |   size_t oldsize = strlen(state->attrValueBuffers.front());
  |~~^



---

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] #3133 dtm: add a new option '--all' to rotate all existing logtrace

2019-12-19 Thread Chau Hoang Phuc via Opensaf-tickets
- **status**: unassigned --> accepted



---

** [tickets:#3133] dtm: add a new option '--all' to rotate all existing 
logtrace**

**Status:** accepted
**Milestone:** 5.20.01
**Created:** Thu Dec 19, 2019 09:54 AM UTC by Vu Minh Nguyen
**Last Updated:** Thu Dec 19, 2019 10:48 AM UTC
**Owner:** Chau Hoang Phuc


Adding a new option '--all' that means to rotate all existing logtrace if given 
along with the '--rotate' option.


---

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] #3133 dtm: add a new option '--all' to rotate all existing logtrace

2019-12-19 Thread Chau Hoang Phuc via Opensaf-tickets
- **assigned_to**: Chau Hoang Phuc



---

** [tickets:#3133] dtm: add a new option '--all' to rotate all existing 
logtrace**

**Status:** unassigned
**Milestone:** 5.20.01
**Created:** Thu Dec 19, 2019 09:54 AM UTC by Vu Minh Nguyen
**Last Updated:** Thu Dec 19, 2019 09:55 AM UTC
**Owner:** Chau Hoang Phuc


Adding a new option '--all' that means to rotate all existing logtrace if given 
along with the '--rotate' option.


---

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] #3133 dtm: add a new option '--all' to rotate all existing logtrace

2019-12-19 Thread Vu Minh Nguyen via Opensaf-tickets
- **Type**: defect --> enhancement



---

** [tickets:#3133] dtm: add a new option '--all' to rotate all existing 
logtrace**

**Status:** unassigned
**Milestone:** 5.20.01
**Created:** Thu Dec 19, 2019 09:54 AM UTC by Vu Minh Nguyen
**Last Updated:** Thu Dec 19, 2019 09:54 AM UTC
**Owner:** nobody


Adding a new option '--all' that means to rotate all existing logtrace if given 
along with the '--rotate' option.


---

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] #3133 dtm: add a new option '--all' to rotate all existing logtrace

2019-12-19 Thread Vu Minh Nguyen via Opensaf-tickets



---

** [tickets:#3133] dtm: add a new option '--all' to rotate all existing 
logtrace**

**Status:** unassigned
**Milestone:** 5.20.01
**Created:** Thu Dec 19, 2019 09:54 AM UTC by Vu Minh Nguyen
**Last Updated:** Thu Dec 19, 2019 09:54 AM UTC
**Owner:** nobody


Adding a new option '--all' that means to rotate all existing logtrace if given 
along with the '--rotate' option.


---

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] #3132 amfd: can not do adm op on service unit

2019-12-19 Thread Thang Duc Nguyen via Opensaf-tickets
- **summary**: amfd: can not lock service unit --> amfd: can not do adm op on 
service unit
- **status**: unassigned --> assigned
- **assigned_to**: Thang Duc Nguyen
- **Comment**:

Step to reproduce.
1. Deploy 2N app, with SU1 is in locked state. SU2 is in locked-in state

2.  Invoke the following
pkill -SIGSTOP amf_demo;  amf-adm restart 
safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1 & sleep 0.5; amf-adm unlock 
safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1 & pkill -SIGCONT amf_demo

3.  SU1 is in below state, but can not do any adm op on it
safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
saAmfSUAdminState=UNLOCKED(1)
saAmfSUOperState=ENABLED(1)
saAmfSUPresenceState=INSTANTIATED(3)
saAmfSUReadinessState=IN-SERVICE(2)



---

** [tickets:#3132] amfd: can not do adm op on service unit**

**Status:** assigned
**Milestone:** 5.20.01
**Created:** Wed Dec 18, 2019 09:36 AM UTC by Thang Duc Nguyen
**Last Updated:** Wed Dec 18, 2019 09:47 AM UTC
**Owner:** Thang Duc Nguyen


SG contains 2 SU. There is a situation that can not lock service unit SU1 with 
below status

safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
saAmfSUAdminState=UNLOCKED(1)
saAmfSUOperState=ENABLED(1)
saAmfSUPresenceState=INSTANTIATED(3)
saAmfSUReadinessState=IN-SERVICE(2)

safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
saAmfSUAdminState=LOCKED-INSTANTIATION(3)
saAmfSUOperState=ENABLED(1)
saAmfSUPresenceState=UNINSTANTIATED(1)
saAmfSUReadinessState=OUT-OF-SERVICE(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