[tickets] [opensaf:tickets] #2556 split-brain should be reported by a ER or CR in syslog

2017-10-16 Thread Vo Minh Hoang via Opensaf-tickets
- **status**: unassigned --> accepted
- **assigned_to**: Vo Minh Hoang



---

** [tickets:#2556] split-brain should be reported by a ER or CR in syslog**

**Status:** accepted
**Milestone:** 5.17.10
**Created:** Wed Aug 16, 2017 11:57 AM UTC by Per Rodenvall
**Last Updated:** Wed Sep 20, 2017 11:30 AM UTC
**Owner:** Vo Minh Hoang


This was seen in syslog:
2017-06-27 13:49:32 SC-1 osafrded[176]: Rebooting OpenSAF NodeId = 0 EE Name = 
No EE Mapped, Reason: Split-brain detected, OwnNodeId = 131343, SupervisionTime 
= 60

In our testing we look for ER and CR after each test. We really like 
split-brain to be a ER or CR


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2631 amfd: Handle unavailability of CLM API

2017-10-16 Thread Minh Hon Chau via Opensaf-tickets



---

** [tickets:#2631] amfd: Handle unavailability of CLM API**

**Status:** assigned
**Milestone:** 5.17.10
**Created:** Tue Oct 17, 2017 03:35 AM UTC by Minh Hon Chau
**Last Updated:** Tue Oct 17, 2017 03:35 AM UTC
**Owner:** Minh Hon Chau


CLM start/stop tracking APIs may return TIMEOUT or TRYAGAIN, AMFD shall have a 
mechanism to retry the calls. This ticket makes CLM APIs calls encapsulated in 
a job which is similar to NTF/IMM calls


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1410 pyosaf: Invalid exception used in ImmObject (object.py)

2017-10-16 Thread Hieu Nguyen via Opensaf-tickets
- **Type**: enhancement --> defect



---

** [tickets:#1410] pyosaf: Invalid exception used in ImmObject (object.py)**

**Status:** review
**Milestone:** 5.17.10
**Created:** Fri Jul 10, 2015 10:11 AM UTC by Johan MÃ¥rtensson
**Last Updated:** Tue Oct 17, 2017 02:16 AM UTC
**Owner:** Hieu Nguyen


ImmObject uses an invalid way to raise exceptions:


>>> a = ImmObject('NonExistingClass')
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/lib/python2.7/dist-packages/pyosaf/utils/immom/object.py", 
line 63, in __init__
raise
TypeError: exceptions must be old-style classes or derived from BaseException, 
not NoneType



---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1410 pyosaf: Invalid exception used in ImmObject (object.py)

2017-10-16 Thread Hieu Nguyen via Opensaf-tickets
- **Type**: defect --> enhancement



---

** [tickets:#1410] pyosaf: Invalid exception used in ImmObject (object.py)**

**Status:** review
**Milestone:** 5.17.10
**Created:** Fri Jul 10, 2015 10:11 AM UTC by Johan MÃ¥rtensson
**Last Updated:** Tue Oct 03, 2017 04:07 AM UTC
**Owner:** Hieu Nguyen


ImmObject uses an invalid way to raise exceptions:


>>> a = ImmObject('NonExistingClass')
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/lib/python2.7/dist-packages/pyosaf/utils/immom/object.py", 
line 63, in __init__
raise
TypeError: exceptions must be old-style classes or derived from BaseException, 
not NoneType



---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2630 msg: API functions write to const SaNameT

2017-10-16 Thread Alex Jones via Opensaf-tickets



---

** [tickets:#2630] msg: API functions write to const SaNameT**

**Status:** accepted
**Milestone:** 5.17.10
**Created:** Tue Oct 17, 2017 12:59 AM UTC by Alex Jones
**Last Updated:** Tue Oct 17, 2017 12:59 AM UTC
**Owner:** Alex Jones


The APIs which use "const SaNameT" as a parameter are overwriting that 
parameter to NULL terminate the value string. If a real const is passed in, 
this causes a seg fault. The API functions should not be touching a const 
parameter.


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2629 ckpt: implement checkpoint state change notifications

2017-10-16 Thread Alex Jones via Opensaf-tickets



---

** [tickets:#2629] ckpt: implement checkpoint state change notifications**

**Status:** accepted
**Milestone:** 5.17.10
**Created:** Tue Oct 17, 2017 12:49 AM UTC by Alex Jones
**Last Updated:** Tue Oct 17, 2017 12:49 AM UTC
**Owner:** Alex Jones


This ticket will implement section 6.2.2 of the B.02.02 spec: checkpoint state 
change notifications.


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2619 msg: don't create cache entry if operation is delete

2017-10-16 Thread Alex Jones via Opensaf-tickets
- **status**: review --> fixed



---

** [tickets:#2619] msg: don't create cache entry if operation is delete**

**Status:** fixed
**Milestone:** 5.17.10
**Created:** Thu Oct 05, 2017 07:48 PM UTC by Alex Jones
**Last Updated:** Mon Oct 16, 2017 04:42 PM UTC
**Owner:** Alex Jones


A race condition exists where a track notify message comes into 
asapi_msg_process. If the cache entry has already been deleted, and another 
track notify delete comes in, the cache entry will be created with wrong 
information.

Don't create a cache entry at all, if the operation is delete.


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2619 msg: don't create cache entry if operation is delete

2017-10-16 Thread Alex Jones via Opensaf-tickets
commit 3d33c10e172b69a989304cc57199e2c714ae4059
Author: Alex Jones 
Date:   Mon Oct 16 12:39:59 2017 -0400



---

** [tickets:#2619] msg: don't create cache entry if operation is delete**

**Status:** review
**Milestone:** 5.17.10
**Created:** Thu Oct 05, 2017 07:48 PM UTC by Alex Jones
**Last Updated:** Fri Oct 06, 2017 02:07 PM UTC
**Owner:** Alex Jones


A race condition exists where a track notify message comes into 
asapi_msg_process. If the cache entry has already been deleted, and another 
track notify delete comes in, the cache entry will be created with wrong 
information.

Don't create a cache entry at all, if the operation is delete.


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2622 base: double start failed

2017-10-16 Thread Rafael Odzakow via Opensaf-tickets
- **status**: review --> fixed



---

** [tickets:#2622] base: double start failed**

**Status:** fixed
**Milestone:** 5.17.10
**Created:** Tue Oct 10, 2017 11:29 AM UTC by Rafael Odzakow
**Last Updated:** Mon Oct 16, 2017 12:41 PM UTC
**Owner:** Rafael Odzakow


Previously named function "check_env" deletes pid file. Move it to after 
running pidofproc for amfnd pid.


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2622 base: double start failed

2017-10-16 Thread Rafael Odzakow via Opensaf-tickets
issue was found on ubuntu 14.04 where subsys folder is not created by default. 
Move the pid removal to be called after pidofproc.


---

** [tickets:#2622] base: double start failed**

**Status:** review
**Milestone:** 5.17.10
**Created:** Tue Oct 10, 2017 11:29 AM UTC by Rafael Odzakow
**Last Updated:** Tue Oct 10, 2017 11:31 AM UTC
**Owner:** Rafael Odzakow


Previously named function "check_env" deletes pid file. Move it to after 
running pidofproc for amfnd pid.


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2628 tools/amf: improve error checking and naming convention

2017-10-16 Thread Gary Lee via Opensaf-tickets
- **summary**: tools/amf: inconsistent node naming convention --> tools/amf: 
improve error checking and naming convention
- Description has changed:

Diff:



--- old
+++ new
@@ -10,3 +10,13 @@
 
 root@SC-1:~# amfclusterstatus -u 0x2010f
 0x2010f is up
+
+In addition, invalid input prints:
+
+root@SC-1:~# amfclusterstatus -u abc
+0 is not up
+
+Conflicting options are allowed:
+
+root@SC-1:~# amfclusterstatus -u -c -s
+At least one controller is up






---

** [tickets:#2628] tools/amf: improve error checking and naming convention**

**Status:** accepted
**Milestone:** 5.17.10
**Created:** Mon Oct 16, 2017 05:53 AM UTC by Gary Lee
**Last Updated:** Mon Oct 16, 2017 05:55 AM UTC
**Owner:** Gary Lee


amfclusterstatus expects the node ID in hex format. It should be consistent and 
prefix the node ID with 0x, in its output.

root@SC-1:~# amfclusterstatus -c 0x2010f
2010f is a Controller node

root@SC-1:~# amfclusterstatus -c 2010f
7da is not a Controller node

This is preferred:

root@SC-1:~# amfclusterstatus -u 0x2010f
0x2010f is up

In addition, invalid input prints:

root@SC-1:~# amfclusterstatus -u abc
0 is not up

Conflicting options are allowed:

root@SC-1:~# amfclusterstatus -u -c -s
At least one controller is up



---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets