[tickets] [opensaf:tickets] #2708 plm: setup immutil template

2017-11-28 Thread Alex Jones via Opensaf-tickets
- **status**: accepted --> review



---

** [tickets:#2708] plm: setup immutil template**

**Status:** review
**Milestone:** 5.18.01
**Created:** Tue Nov 28, 2017 03:18 PM UTC by Alex Jones
**Last Updated:** Tue Nov 28, 2017 03:18 PM UTC
**Owner:** Alex Jones


plmd uses the immutil wrapper functions for IMM calls, and doesn't set a 
wrapper profile. Thus, any IMM API call that fails will reboot the 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] #2703 opensaf_scale_out script could not handle \n as argument

2017-11-28 Thread Hans Nordebäck
the RS regular expression is perhaps clearer if:

node_name=$(echo "$node" | awk -F "$CLM_IFS" 'BEGIN{RS="^$"} {print $2}')


---

** [tickets:#2703] opensaf_scale_out script could not handle \n as argument**

**Status:** review
**Milestone:** 5.18.01
**Created:** Fri Nov 24, 2017 11:46 AM UTC by Per Rodenvall
**Last Updated:** Mon Nov 27, 2017 03:20 PM UTC
**Owner:** Hans Nordebäck


The problem is the fourth script argument that is the optional user data field.
That field could contain a 254-long string that could include none printable 
characters as \n.

In the sample code below the script is just interested in the node name that is 
the second argument. That could not contain any non-printable characters. 
Therefore none printable characters could be removed for this loop with "tr"

Original code:

for node in "$@"; do
node_name=$(echo "$node" | cut -d"$CLM_IFS" -f2)
echo "$node_name" >> "$nodes_cfg_tmp"
done

Modified code:

//# Temporary remove non-printable characters from input argument
arg_without_newline=$(printf "%s" "$@" | tr -cd '[:print:]')
for node in "$arg_without_newline"; do
node_name=$(echo "$node" | cut -d"$CLM_IFS" -f2)
echo "$node_name" >> "$nodes_cfg_tmp" 
done


---

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] #2708 plm: setup immutil template

2017-11-28 Thread Alex Jones via Opensaf-tickets



---

** [tickets:#2708] plm: setup immutil template**

**Status:** accepted
**Milestone:** 5.18.01
**Created:** Tue Nov 28, 2017 03:18 PM UTC by Alex Jones
**Last Updated:** Tue Nov 28, 2017 03:18 PM UTC
**Owner:** Alex Jones


plmd uses the immutil wrapper functions for IMM calls, and doesn't set a 
wrapper profile. Thus, any IMM API call that fails will reboot the 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] #2709 dtm: Support pretty-printing log messages using the osaflog command

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



---

** [tickets:#2709] dtm: Support pretty-printing log messages using the osaflog 
command**

**Status:** unassigned
**Milestone:** 5.18.01
**Created:** Tue Nov 28, 2017 04:07 PM UTC by Anders Widell
**Last Updated:** Tue Nov 28, 2017 04:07 PM UTC
**Owner:** nobody


Add support to the osaflog command for parsing and pretty-printing the OpenSAF 
log messages. Initially, we can support pretty-printing to remove information 
which is not frequently needed when reading the logs. In future ticket(s), we 
can also add support for filtering log messages.


---

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] #2710 plm: remove child EE info when given standby role

2017-11-28 Thread Alex Jones via Opensaf-tickets



---

** [tickets:#2710] plm: remove child EE info when given standby role**

**Status:** accepted
**Milestone:** 5.18.01
**Created:** Tue Nov 28, 2017 07:48 PM UTC by Alex Jones
**Last Updated:** Tue Nov 28, 2017 07:48 PM UTC
**Owner:** Alex Jones


PLM does not remove VM info when given standby role. Thus, if si-swap is done 
two times, PLM will assert because it already has the VM information from when 
it was active.


---

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] #2706 base: Add KillMode=none to opensafd.service

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

commit 3e4fc29bae0858081fe990238ee0a2d8e024b7ad
Author: Hans Nordeback 
Date:   Wed Nov 29 08:50:33 2017 +0100

base: Add KillMode=none to opensafd.service [#2706]

commit 0dc1e24f4cd6cec90676786746fc1fb7046a0ed8
Author: Hans Nordeback 
Date:   Wed Nov 29 08:50:33 2017 +0100

base: Add KillMode=none to opensafd.service [#2706]




---

** [tickets:#2706] base: Add  KillMode=none to opensafd.service**

**Status:** fixed
**Milestone:** 5.18.01
**Created:** Mon Nov 27, 2017 07:39 AM UTC by Hans Nordebäck
**Last Updated:** Mon Nov 27, 2017 07:39 AM UTC
**Owner:** Hans Nordebäck


It is a problem that systemd starts sending sigterm to opensaf services at 
shutdown instead
of running opensafd stop, configuring KillMode=none solves this problem:

2017-11-24 14:50:47.302 SC-1 osafsmfnd[289]: NO Successful start of command 
execution: reboot, timeout 30
2017-11-24 14:50:47.325 SC-1 osafckptd[435]: Started
2017-11-24 14:50:47.352 SC-1 osafamfnd[267]: NO 
'safSu=SC-1,safSg=NoRed,safApp=OpenSAF' Presence State INSTANTIATING => 
INSTANTIATED
2017-11-24 14:50:47.354 SC-1 osafamfnd[267]: NO Assigning 
'safSi=NoRed1,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
2017-11-24 14:50:47.355 SC-1 osafamfnd[267]: NO Assigned 
'safSi=NoRed1,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
2017-11-24 14:50:47.507 SC-1 systemd[1]: Stopped Stop ureadahead data 
collection 45s after completed startup.
2017-11-24 14:50:47.508 SC-1 systemd[1]: Stopped target Timers.
2017-11-24 14:50:47.508 SC-1 systemd[1]: Stopped Daily Cleanup of Temporary 
Directories.
2017-11-24 14:50:47.508 SC-1 systemd[1]: Stopped Daily apt activities.
2017-11-24 14:50:47.527 SC-1 systemd[1]: Stopped target System Time 
Synchronized.
2017-11-24 14:50:47.528 SC-1 systemd[1]: Removed slice system-getty.slice.
2017-11-24 14:50:47.528 SC-1 systemd[1]: Stopped Update UTMP about System 
Runlevel Changes.
2017-11-24 14:50:47.531 SC-1 systemd[1]: Stopped target Graphical Interface.
2017-11-24 14:50:47.531 SC-1 osafimmnd[213]: exiting for shutdown, (sigterm 
from pid 1 uid 0)
2017-11-24 14:50:47.531 SC-1 systemd[1]: Stopped target Multi-User System.
2017-11-24 14:50:47.531 SC-1 osafamfwd[369]: exiting for shutdown, (sigterm 
from pid 1 uid 0)
2017-11-24 14:50:47.535 SC-1 systemd[1]: Stopping LSB: Execute rc.shared under 
$SHAREDFOLDER...
2017-11-24 14:50:47.535 SC-1 osafclmna[174]: exiting for shutdown, (sigterm 
from pid 1 uid 0)
2017-11-24 14:50:47.535 SC-1 systemd[1]: Stopped IMM-XML RPC Daemon.
2017-11-24 14:50:47.535 SC-1 opensafd[111]: Starting OpenSAF Services (Using 
TIPC):Terminated
2017-11-24 14:50:47.535 SC-1 osafclmd[247]: exiting for shutdown, (sigterm from 
pid 1 uid 0)
2017-11-24 14:50:47.536 SC-1 systemd[1]: Stopping LSB: Set the CPU Frequency 
Scaling governor to "ondemand"...
2017-11-24 14:50:47.536 SC-1 osafamfnd[267]: NO Shutdown initiated
2017-11-24 14:50:47.536 SC-1 systemd[1]: Stopping OpenBSD Secure Shell server...
2017-11-24 14:50:47.536 SC-1 osafamfnd[267]: NO Terminating all AMF components
2017-11-24 14:50:47.538 SC-1 systemd[1]: Stopped target Login Prompts.
201


---

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