[tickets] [opensaf:tickets] #1899 imm: IMMND kills itself

2016-06-28 Thread Hung Nguyen
- **status**: accepted --> review



---

** [tickets:#1899] imm: IMMND kills itself**

**Status:** review
**Milestone:** 5.0.1
**Created:** Wed Jun 29, 2016 06:13 AM UTC by Hung Nguyen
**Last Updated:** Wed Jun 29, 2016 06:14 AM UTC
**Owner:** Hung Nguyen


If the current coordinator is on PL and the cluster goes headless, the IMMND 
will remove its coordinator role.
Killing pbe is part of that process.

/* Check if pbe process is terminated.
 * Will send SIGKILL if it's not terminated. */
int status = 0;
if (waitpid(cb->pbePid, &status, WNOHANG) > 0) {
cb->pbePid = 0;
LOG_NO("PBE has terminated due to SC absence");
} else {
cb->pbePid = 0;
LOG_WA("SC were absent and PBE appears hung, sending SIGKILL");
kill(cb->pbePid, SIGKILL);
}

In the code, pbePid is set to zero before calling kill.
That makes IMMND kill itself.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1899 imm: IMMND kills itself

2016-06-28 Thread Hung Nguyen



---

** [tickets:#1899] imm: IMMND kills itself**

**Status:** accepted
**Milestone:** 5.0.1
**Created:** Wed Jun 29, 2016 06:13 AM UTC by Hung Nguyen
**Last Updated:** Wed Jun 29, 2016 06:13 AM UTC
**Owner:** Hung Nguyen


If the current coordinator is on PL and the cluster goes headless, the IMMND 
will remove its coordinator role.
Killing pbe is part of that process.
~~~
/* Check if pbe process is terminated.
 * Will send SIGKILL if it's not terminated. */
int status = 0;
if (waitpid(cb->pbePid, &status, WNOHANG) > 0) {
cb->pbePid = 0;
LOG_NO("PBE has terminated due to SC absence");
} else {
cb->pbePid = 0;
LOG_WA("SC were absent and PBE appears hung, sending SIGKILL");
kill(cb->pbePid, SIGKILL);
}
 ~~~   

In the code, pbePid is set to zero before calling kill.
That makes IMMND kill itself.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1899 imm: IMMND kills itself

2016-06-28 Thread Hung Nguyen
- Description has changed:

Diff:



--- old
+++ new
@@ -1,6 +1,6 @@
 If the current coordinator is on PL and the cluster goes headless, the IMMND 
will remove its coordinator role.
 Killing pbe is part of that process.
-~~~
+
 /* Check if pbe process is terminated.
  * Will send SIGKILL if it's not terminated. */
 int status = 0;
@@ -12,7 +12,6 @@
 LOG_WA("SC were absent and PBE appears hung, sending SIGKILL");
 kill(cb->pbePid, SIGKILL);
 }
- ~~~   
 
 In the code, pbePid is set to zero before calling kill.
 That makes IMMND kill itself.






---

** [tickets:#1899] imm: IMMND kills itself**

**Status:** accepted
**Milestone:** 5.0.1
**Created:** Wed Jun 29, 2016 06:13 AM UTC by Hung Nguyen
**Last Updated:** Wed Jun 29, 2016 06:13 AM UTC
**Owner:** Hung Nguyen


If the current coordinator is on PL and the cluster goes headless, the IMMND 
will remove its coordinator role.
Killing pbe is part of that process.

/* Check if pbe process is terminated.
 * Will send SIGKILL if it's not terminated. */
int status = 0;
if (waitpid(cb->pbePid, &status, WNOHANG) > 0) {
cb->pbePid = 0;
LOG_NO("PBE has terminated due to SC absence");
} else {
cb->pbePid = 0;
LOG_WA("SC were absent and PBE appears hung, sending SIGKILL");
kill(cb->pbePid, SIGKILL);
}

In the code, pbePid is set to zero before calling kill.
That makes IMMND kill itself.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1656 AMFND: Use std::maps instead of Patricia trees

2016-06-28 Thread Minh Hon Chau
- **status**: assigned --> wontfix
- **assigned_to**: Minh Hon Chau -->  nobody 
- **Comment**:

the refactoring of patricia tree to maps will be included in amfnd long dn 
support (#1642)



---

** [tickets:#1656] AMFND: Use std::maps instead of Patricia trees**

**Status:** wontfix
**Milestone:** 5.1.FC
**Labels:** refactoring 
**Created:** Wed Jan 06, 2016 03:05 AM UTC by Minh Hon Chau
**Last Updated:** Wed May 04, 2016 05:00 PM UTC
**Owner:** nobody


As part of #1520 - AMF: Refactoring for 5.0
This ticket is for "Use std::maps instead of Patricia trees" for amfnd 




---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1642 AMF: Support DNs longer than 255 bytes

2016-06-28 Thread Gary Lee
- **Milestone**: future --> 5.1.FC



---

** [tickets:#1642] AMF: Support DNs longer than 255 bytes**

**Status:** unassigned
**Milestone:** 5.1.FC
**Created:** Tue Dec 15, 2015 09:52 AM UTC by Long HB Nguyen
**Last Updated:** Tue Dec 15, 2015 09:52 AM UTC
**Owner:** nobody


Ticket [#191] introduced generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. This ticket is for AMF to support this feature.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1894 AMF: Incorrect check of synced node if headless feature is enabled

2016-06-28 Thread Minh Hon Chau
- **status**: assigned --> review



---

** [tickets:#1894] AMF: Incorrect check of synced node if headless feature is 
enabled**

**Status:** review
**Milestone:** 4.7.2
**Created:** Thu Jun 23, 2016 11:33 PM UTC by Minh Hon Chau
**Last Updated:** Thu Jun 23, 2016 11:33 PM UTC
**Owner:** Minh Hon Chau


In avd_node_up_evh()
{
...
if (rc_node_up == sync_nd_size-1) {
...
}

This *if* statement will cause the pool of synchronizing nodes gets short by 1, 
thus amfd will think all nodes are synced although there's still one node being 
down.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1685 smfd: Merge rolling to singlestep procedures for several nodes

2016-06-28 Thread Rafael
- **Milestone**: future --> 5.1.FC



---

** [tickets:#1685] smfd: Merge rolling to singlestep procedures for several 
nodes**

**Status:** unassigned
**Milestone:** 5.1.FC
**Created:** Wed Mar 02, 2016 09:20 AM UTC by Rafael
**Last Updated:** Tue Jun 28, 2016 08:24 AM UTC
**Owner:** Rafael


By extending SMF configuration we allow SMF to execute procedures in a 
optimised way. Today SMF can merge rolling procedures into one single step to 
minimize reboots. This new ticket would give SMF the additional possibility to 
have multiple single steps produced from rolling upgrades. This is in order to 
keep some services up while still reducing the amount of reboots.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1685 smfd: Merge rolling to singlestep procedures for several nodes

2016-06-28 Thread Rafael
The OpenSafSmfExecControl object is extended with additional attributes to 
support grouping of nodes. These additional attributes are valid when 
procExecMode is set to a integer mapped to the BALANCED_UPGRADE function.

Additional attributes for OpenSafSmfExecControl

nodesForSingleStep 
numberOfSingleSteps

For now there are two limitations in this functionality:

SMF only supports one active OpenSafSmfExecControl object.

The list of nodes in nodesForSingleStep must be of the payload type.


---

** [tickets:#1685] smfd: Merge rolling to singlestep procedures for several 
nodes**

**Status:** unassigned
**Milestone:** future
**Created:** Wed Mar 02, 2016 09:20 AM UTC by Rafael
**Last Updated:** Wed Mar 02, 2016 09:20 AM UTC
**Owner:** Rafael


By extending SMF configuration we allow SMF to execute procedures in a 
optimised way. Today SMF can merge rolling procedures into one single step to 
minimize reboots. This new ticket would give SMF the additional possibility to 
have multiple single steps produced from rolling upgrades. This is in order to 
keep some services up while still reducing the amount of reboots.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1315 LOG: Support DNs longer than 255 bytes

2016-06-28 Thread Vu Minh Nguyen
Few update. 


Attachments:

- 
[README_LONGDN_R2](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/6ba7a0c9/8103/attachment/README_LONGDN_R2)
 (6.5 kB; application/octet-stream)


---

** [tickets:#1315] LOG: Support DNs longer than 255 bytes**

**Status:** accepted
**Milestone:** 5.1.FC
**Created:** Wed Apr 15, 2015 07:37 AM UTC by elunlen
**Last Updated:** Tue Jun 21, 2016 04:14 AM UTC
**Owner:** Vu Minh Nguyen


Ticket [#191] will add generic support in OpenSAF for DNs longer than 255 
bytes. Each individual OpenSAF service will also have to be adapted to support 
long DNs. LOG should have this feature since LOG is used by NTF and DN is part 
of a log record. Also applications may want to use long DNs in log records.


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1896 imm: IMMD fails to start 3 second delay when scAbsence enabled

2016-06-28 Thread Hung Nguyen
- **status**: accepted --> review



---

** [tickets:#1896] imm: IMMD fails to start 3 second delay when scAbsence 
enabled**

**Status:** review
**Milestone:** 5.0.1
**Created:** Mon Jun 27, 2016 07:09 AM UTC by Hung Nguyen
**Last Updated:** Mon Jun 27, 2016 07:09 AM UTC
**Owner:** Hung Nguyen


The 3 second delay was introduced in [#1698].

The ticket [#79] changed the behavior of RDE. rda_get_role() may return 
QUIESCED and the ACTIVE/STANDBY role will be assigned later in rda_cb().

That makes IMMD fail to start the 3 second delay (to wait for veterans to 
re-introduce).
if (immd_cb->ha_state == SA_AMF_HA_ACTIVE) {
LOG_NO("Waiting 3 seconds to allow IMMND MDS attachments to get 
processed.");

The ha_state is SA_AMF_HA_QUISECED and we will never see this message in syslog.




---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1898 log: update OpenSAF_LOG_PR for long DN

2016-06-28 Thread Vu Minh Nguyen



---

** [tickets:#1898] log: update OpenSAF_LOG_PR for long DN**

**Status:** unassigned
**Milestone:** 5.1.FC
**Created:** Tue Jun 28, 2016 07:51 AM UTC by Vu Minh Nguyen
**Last Updated:** Tue Jun 28, 2016 07:51 AM UTC
**Owner:** nobody


OpenSAF_LOG_PR.odt needs to be updated for Long DN & RDN support [#1315].


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1897 Incorrect ER messages in syslog

2016-06-28 Thread elunlen



---

** [tickets:#1897] Incorrect ER messages in syslog**

**Status:** unassigned
**Milestone:** 4.7.2
**Created:** Tue Jun 28, 2016 07:51 AM UTC by elunlen
**Last Updated:** Tue Jun 28, 2016 07:51 AM UTC
**Owner:** nobody


Several incorrectly prioritized syslog messages found in SG_2N::si_swap in 
sg_2n_fsm.cc
LOG_ER is used when problem is easily recoverable e.g. return value is 
SA_AIS_ERR_TRY_AGAIN


---

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.--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets