[tickets] [opensaf:tickets] #2699 clm: Remove the CLM standby

2017-11-21 Thread Anders Widell via Opensaf-tickets



---

** [tickets:#2699] clm: Remove the CLM standby**

**Status:** unassigned
**Milestone:** 5.18.01
**Created:** Tue Nov 21, 2017 06:25 PM UTC by Anders Widell
**Last Updated:** Tue Nov 21, 2017 06:25 PM UTC
**Owner:** nobody


After implementing ticket [#2698], it should be possible to remove the CLM 
standby, since all needed information is broadcast to all nodes in the cluster 
(including the standby). Checkpointing of data between active and standby will 
thus be unnecessary and the CLM service can be simplified by removing this 
functionality.


---

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] #2698 clm: Handle client requests locally on each node

2017-11-21 Thread Anders Widell via Opensaf-tickets



---

** [tickets:#2698] clm: Handle client requests locally on each node**

**Status:** unassigned
**Milestone:** 5.18.01
**Created:** Tue Nov 21, 2017 06:23 PM UTC by Anders Widell
**Last Updated:** Tue Nov 21, 2017 06:23 PM UTC
**Owner:** nobody


Improve the availability of the CLM service by handling all client requests 
locally on each node, instead of asking the server. This will in particular 
improve the situation during and after headless, where clients could be 
unaffected by a temporary loss of all OpenSAF system controller nodes.

To implement this, the CLM server should broadcast cluster membership 
information to all CLM node agents, so that all needed information is available 
locally on each node. The CLM node agent will handle track subscriptions etc 
locally.

In-service upgrade of this feature ought to be possible. The CLM node agent can 
detect that CLM server is running an old version of OpenSAF, and use the old 
protocol to retrieve the same information as the new version would broadcast 
out to all nodes.


---

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] #2697 clm: Use base::Process to execute scripts from admin-ops

2017-11-21 Thread Anders Widell via Opensaf-tickets



---

** [tickets:#2697] clm: Use base::Process to execute scripts from admin-ops**

**Status:** unassigned
**Milestone:** 5.18.01
**Created:** Tue Nov 21, 2017 05:15 PM UTC by Anders Widell
**Last Updated:** Tue Nov 21, 2017 05:15 PM UTC
**Owner:** nobody


Refer to this mailing list post: 
[opensaf-devel](https://sourceforge.net/p/opensaf/mailman/message/36092893/)

Instead of executing the custom script by calling system(), we should use the 
functionality provided in base/process.h. This is preferred because it executes 
the script with a well defined environment (only the PATH environment variable 
is set, with a fixed value). Otherwise, all environment variables from clmna 
will leak into the script. Any change in environment variables in clmna could 
then be a non-backwards compatible change, if the user defined script depends 
on the value of that variable. Another benefit of the base/process.h code is 
that it lets us specify a time-out. We ought to have a time-out for the script 
execution, and execute the script in a separate thread to avoid blocking the 
main thread in clmna. This could be implemented in a similar way as for 
executing the scale-out script in CLM.


---

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] #2696 clm: Update the clm-adm command-line tool to support new admin-ops

2017-11-21 Thread Anders Widell via Opensaf-tickets



---

** [tickets:#2696] clm: Update the clm-adm command-line tool to support new 
admin-ops**

**Status:** unassigned
**Milestone:** 5.18.01
**Created:** Tue Nov 21, 2017 05:11 PM UTC by Anders Widell
**Last Updated:** Tue Nov 21, 2017 05:11 PM UTC
**Owner:** nobody


Refer to this mailing list post: 
[opensaf-devel](https://sourceforge.net/p/opensaf/mailman/message/36092893/)

The clm-adm command-line tool should be updated to support the new admin-ops 
added in ticket [#2649].


---

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] #2695 clm: Use unicast instead of broadcast for CLM node actions

2017-11-21 Thread Anders Widell via Opensaf-tickets



---

** [tickets:#2695] clm: Use unicast instead of broadcast for CLM node actions**

**Status:** unassigned
**Milestone:** 5.18.01
**Created:** Tue Nov 21, 2017 05:09 PM UTC by Anders Widell
**Last Updated:** Tue Nov 21, 2017 05:09 PM UTC
**Owner:** nobody


Refer to this mailing list post: 
[opensaf-devel](https://sourceforge.net/p/opensaf/mailman/message/36092893/)

When using an admin-op to execute a script on a node, CLM should use MDS 
unicast instead of broadcast to address only the affected node.


---

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] #2694 clm: Use base::Process for starting the scale-out script

2017-11-21 Thread Anders Widell via Opensaf-tickets



---

** [tickets:#2694] clm: Use base::Process for starting the scale-out script**

**Status:** unassigned
**Milestone:** 5.18.01
**Created:** Tue Nov 21, 2017 05:00 PM UTC by Anders Widell
**Last Updated:** Tue Nov 21, 2017 05:00 PM UTC
**Owner:** nobody


Use the class base::Process for starting the scale-out script. Also, use the 
functionality of this class to set a time-out for the maximum allowed script 
execution time. This time should be configurable, but a reasonable default 
could be fifteen minutes.


---

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] #2693 clm: Use longer election delay time on isolated nodes

2017-11-21 Thread Anders Widell via Opensaf-tickets



---

** [tickets:#2693] clm: Use longer election delay time on isolated nodes**

**Status:** assigned
**Milestone:** 5.18.01
**Created:** Tue Nov 21, 2017 04:52 PM UTC by Anders Widell
**Last Updated:** Tue Nov 21, 2017 04:52 PM UTC
**Owner:** Anders Widell


In addition to the CLMNA_ELECTION_DELAY_TIME configuration, allow configuration 
of a separate (longer) election delay time to be used on isolated nodes, i.e. 
nodes that cannot see any other node on the network. This will decrease the 
possibility of split-brain in situations where a node is temporarily 
disconnected from the rest of the cluster.


---

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] #2692 dtm: Implement health check between osafdtmd and osaftransportd

2017-11-21 Thread Anders Widell via Opensaf-tickets



---

** [tickets:#2692] dtm: Implement health check between osafdtmd and 
osaftransportd**

**Status:** unassigned
**Milestone:** 5.18.01
**Created:** Tue Nov 21, 2017 01:24 PM UTC by Anders Widell
**Last Updated:** Tue Nov 21, 2017 01:24 PM UTC
**Owner:** nobody


Use the new command interface implemented in ticket [#2646] to send health 
check messages from osafdtmd to osaftransportd, say once per minute. If 
osafdtmd has not received any reply from osaftransportd within another minute, 
it shall be considered hung. osaftransportd can also use the same health check 
messages to detect a hanging osafdtmd process; if no health check message has 
been received from osafdtmd within two minutes, osafdtmd shall be considered 
hung.


---

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] #2690 base: Add thread class similar to std::thread

2017-11-21 Thread Anders Widell via Opensaf-tickets



---

** [tickets:#2690] base: Add thread class similar to std::thread**

**Status:** unassigned
**Milestone:** 5.18.01
**Created:** Tue Nov 21, 2017 01:11 PM UTC by Anders Widell
**Last Updated:** Tue Nov 21, 2017 01:11 PM UTC
**Owner:** nobody


Add a base::thread class similar to the one found in the C++ standard library. 
One reason for adding our own variant is that Google C++ style guide forbids 
inclusion of the  header file with the following message:

~~~
 is an unapproved C++11 header.  [build/c++11] [5]
~~~

Another reason is that we can add our own functionality and eventually replace 
the old ncssysf_tsk.h interface.


---

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] #2560 dtm: Use SOCK_SEQPACKET for intra-node communication

2017-11-21 Thread Anders Widell via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -1 +1,3 @@
 DTM currently uses SOCK_STREAM for intra-node communication, which means that 
it needs logic to be able to receive partial messages. By using SOCK_SEQPACKET, 
we can remove this logic since only full messages can be sent and received.
+
+Also investigate the possibility to use base::UnixSocket.






---

** [tickets:#2560] dtm: Use SOCK_SEQPACKET for intra-node communication**

**Status:** unassigned
**Milestone:** 5.18.01
**Created:** Thu Aug 17, 2017 01:29 PM UTC by Anders Widell
**Last Updated:** Mon Oct 30, 2017 05:42 PM UTC
**Owner:** nobody


DTM currently uses SOCK_STREAM for intra-node communication, which means that 
it needs logic to be able to receive partial messages. By using SOCK_SEQPACKET, 
we can remove this logic since only full messages can be sent and received.

Also investigate the possibility to use base::UnixSocket.


---

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] #2684 clm: clm_user_data gets truncated if newline is added

2017-11-21 Thread Hans Nordebäck
- **status**: review --> fixed
- **Comment**:

commit f2415570f1df9178ea725d0c79d36d6974118eb3
Author: Hans Nordeback 
Date:   Tue Nov 21 08:42:40 2017 +0100

clm: Fix clm_user_data to not truncate data V2 [#2684]

commit 952de4b3b00c6270d09ed0b6eb0c26b9973d6df1
Author: Hans Nordeback 
Date:   Tue Nov 21 08:42:40 2017 +0100

clm: Fix clm_user_data to not truncate data V2 [#2684]





---

** [tickets:#2684] clm: clm_user_data gets truncated if newline is added**

**Status:** fixed
**Milestone:** 5.18.01
**Created:** Thu Nov 16, 2017 02:22 PM UTC by Hans Nordebäck
**Last Updated:** Thu Nov 16, 2017 02:22 PM UTC
**Owner:** Hans Nordebäck





---

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] #2686 base: Make pylint output format selectable

2017-11-21 Thread Hans Nordebäck
- **status**: review --> fixed
- **Comment**:

commit 0b7da232fecd03dbb3cf71ff7e51f5460a0d20a5
Author: Hans Nordeback 
Date:   Mon Nov 20 14:45:40 2017 +0100

base: Make pylint output format selectable V2 [#2686]

commit 6d5de3c94139a05c7977ab20ef98b52d89ad238b
Author: Hans Nordeback 
Date:   Mon Nov 20 14:45:40 2017 +0100

base: Make pylint output format selectable V2 [#2686]




---

** [tickets:#2686] base: Make pylint output format selectable**

**Status:** fixed
**Milestone:** 5.18.01
**Created:** Fri Nov 17, 2017 07:12 AM UTC by Hans Nordebäck
**Last Updated:** Fri Nov 17, 2017 08:35 AM UTC
**Owner:** Hans Nordebäck


make pylint (defaults to text)
make pylint FORMAT=html
make pylint FORMAT=parseable
make pylint FORMAT=json


---

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