<html><header></header><body><div style="font-family: Tahoma; font-size: 14px; color: #000000;">Working great! IP addresses configured, now I go for the ZFS pools ;)</div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;"> </div>
<div style="font-family: Tahoma; font-size: 14px; color: #000000;">Thanks!<br />Gabriele<br /><br />
<div id="wt-mailcard">
<div> </div>
<div> </div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Sonicle S.r.l. </strong>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Music: </strong><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></span></div>
<div><span style="font-size: 14px; font-family: Helvetica;"><strong>Quantum Mechanics : </strong><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></span></div>
</div>
<br /><hr /><br /><br /><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><strong>Da:</strong> Reid Wahl <nwahl@redhat.com><br /><strong>A:</strong> Cluster Labs - All topics related to open-source clustering welcomed <users@clusterlabs.org><br /><strong>Data:</strong> 28 luglio 2020 9.44.26 CEST<br /><strong>Oggetto:</strong> Re: [ClusterLabs] ip address configuration problem<br /></span><br /><br />
<blockquote style="border-left: #000080 2px solid; margin-left: 5px; padding-left: 5px;">Great! And it would be --force-start --verbose --verbose.<br /><br />On Tuesday, July 28, 2020, Gabriele Bulfon <<a href="mailto:gbulfon@sonicle.com">gbulfon@sonicle.com</a>> wrote:<br />> Sorry, found the reason, I have to patch all the scripts, others I missed.<br />>  <br />> Gabriele<br />><br />>  <br />>  <br />> Sonicle S.r.l. : <a href="http://www.sonicle.com">http://www.sonicle.com</a><br />> Music: <a href="http://www.gabrielebulfon.com">http://www.gabrielebulfon.com</a><br />> Quantum Mechanics : <a href="http://www.cdbaby.com/cd/gabrielebulfon">http://www.cdbaby.com/cd/gabrielebulfon</a><br />> ________________________________<br />><br />> Da: Gabriele Bulfon <<a href="mailto:gbulfon@sonicle.com">gbulfon@sonicle.com</a>><br />> A: Cluster Labs - All topics related to open-source clustering welcomed <<a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a>><br />> Data: 28 luglio 2020 9.35.49 CEST<br />> Oggetto: Re: [ClusterLabs] Antw: [EXT] Re: ip address configuration problem<br />><br />><br />>  <br />> Thanks, I patched all the scripts in build to have "#!/bin/bash" in head, and I receive no errors now.<br />> Though, the IP is not configured :( I'm looking at it...<br />><br />> Is there any easy way to debug what's doing on the IP script?<br />>  <br />> Gabriele<br />><br />>  <br />>  <br />> Sonicle S.r.l. : <a href="http://www.sonicle.com">http://www.sonicle.com</a><br />> Music: <a href="http://www.gabrielebulfon.com">http://www.gabrielebulfon.com</a><br />> Quantum Mechanics : <a href="http://www.cdbaby.com/cd/gabrielebulfon">http://www.cdbaby.com/cd/gabrielebulfon</a><br />><br />><br />> ----------------------------------------------------------------------------------<br />><br />> Da: Ulrich Windl <<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de">Ulrich.Windl@rz.uni-regensburg.de</a>><br />> A: <a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a><br />> Data: 28 luglio 2020 9.12.41 CEST<br />> Oggetto: [ClusterLabs] Antw: [EXT] Re: ip address configuration problem<br />><br />> You could try replacing "local" with "typeset", also.<br />><br />>>>> Reid Wahl <<a href="mailto:nwahl@redhat.com">nwahl@redhat.com</a>> schrieb am 28.07.2020 um 09:05 in Nachricht<br />> <<a href="mailto:CAPiuu9_WLn77dmk_%2BWO_gvQzSyb5Kxc94fztK1iQuTwi7XAEJA@mail.gmail.com">CAPiuu9_WLn77dmk_+WO_gvQzSyb5Kxc94fztK1iQuTwi7XAEJA@mail.gmail.com</a>>:<br />>> By the way, it doesn't necessarily have to be bash. Upon looking further, a<br />>> lot of shells support the `local` keyword, even though it's not required by<br />>> the POSIX standard. Plain ksh, however, does not :(<br />>><br />>> On Monday, July 27, 2020, Reid Wahl <<a href="mailto:nwahl@redhat.com">nwahl@redhat.com</a>> wrote:<br />>>> Hi, Gabriele. The `local` keyword is a bash built-in and not available in<br />>> some other shells (e.g., ksh). It's used in `have_binary()`, so it's<br />>> causing `check_binary(/usr/gnu/bin/awk)` to fail. It's also causing all the<br />>> "local: not found" errors. I just reproduced it to make sure.<br />>>><br />>>> check_binary () {<br />>>> if ! have_binary "$1"; then<br />>>> if [ "$OCF_NOT_RUNNING" = 7 ]; then<br />>>> # Chances are we have a fully setup OCF environment<br />>>> ocf_exit_reason "Setup problem: couldn't find command: $1"<br />>>> else<br />>>> echo "Setup problem: couldn't find command: $1"<br />>>> fi<br />>>> exit $OCF_ERR_INSTALLED<br />>>> fi<br />>>> }<br />>>><br />>>> have_binary () {<br />>>> if [ "$OCF_TESTER_FAIL_HAVE_BINARY" = "1" ]; then<br />>>> false<br />>>> else<br />>>> local bin=`echo $1 | sed -e 's/ -.*//'`<br />>>> test -x "`which $bin 2>/dev/null`"<br />>>> fi<br />>>> }<br />>>> Is bash available on your system?<br />>>> On Mon, Jul 27, 2020 at 8:34 AM Gabriele Bulfon <<a href="mailto:gbulfon@sonicle.com">gbulfon@sonicle.com</a>><br />>> wrote:<br />>>>><br />>>>> Hello,<br />>>>><br />>>>> after configuring crm for IP automatic configuration, I stumbled upon a<br />>> problem with the IPaddr utiliy that I don't understand:<br />>>>><br />>>>> IPaddr(xstha2_san0_IP)[10439]: 2020/07/27_17:26:17 ERROR: Setup problem:<br />>> couldn't find command: /usr/gnu/bin/awk<br />>>>> Jul 27 17:26:17 [10258] lrmd: notice: operation_finished:<br />>> xstha2_san0_IP_start_0:10439:stderr [<br />>> /usr/lib/ocf/resource.d/heartbeat/IPaddr[71]: local: not found [No such<br />>> file or directory] ]<br />>>>> Jul 27 17:26:17 [10258] lrmd: notice: operation_finished:<br />>> xstha2_san0_IP_start_0:10439:stderr [<br />>> /usr/lib/ocf/resource.d/heartbeat/IPaddr[354]: local: not found [No such<br />>> file or directory] ]<br />>>>> Jul 27 17:26:17 [10258] lrmd: notice: operation_finished:<br />>> xstha2_san0_IP_start_0:10439:stderr [<br />>> /usr/lib/ocf/resource.d/heartbeat/IPaddr[355]: local: not found [No such<br />>> file or directory] ]<br />>>>> Jul 27 17:26:17 [10258] lrmd: notice: operation_finished:<br />>> xstha2_san0_IP_start_0:10439:stderr [<br />>> /usr/lib/ocf/resource.d/heartbeat/IPaddr[356]: local: not found [No such<br />>> file or directory] ]<br />>>>> Jul 27 17:26:17 [10258] lrmd: notice: operation_finished:<br />>> xstha2_san0_IP_start_0:10439:stderr [ ocf-exit-reason:Setup problem:<br />>> couldn't find command: /usr/gnu/bin/awk ]<br />>>>> Jul 27 17:26:17 [10258] lrmd: notice: operation_finished:<br />>> xstha2_san0_IP_start_0:10439:stderr [<br />>> /usr/lib/ocf/resource.d/heartbeat/IPaddr[185]: local: not found [No such<br />>> file or directory] ]<br />>>>> Jul 27 17:26:17 [10258] lrmd: notice: operation_finished:<br />>> xstha2_san0_IP_start_0:10439:stderr [<br />>> /usr/lib/ocf/resource.d/heartbeat/IPaddr[186]: local: not found [No such<br />>> file or directory] ]<br />>>>> Jul 27 17:26:17 [10258] lrmd: info: log_finished: finished -<br />>> rsc:xstha2_san0_IP action:start call_id:22 pid:10439 exit-code:5<br />>> exec-time:91ms queue-time:0ms<br />>>>><br />>>>> It says it cannot find /usr/gnu/bin/awk but this is absolutely not true!<br />>>>><br />>>>> sonicle@xstorage1:/sonicle/home# ls -l /usr/gnu/bin/awk<br />>>>> -r-xr-xr-x 1 root bin 881864 Jun 1 12:25 /usr/gnu/bin/awk<br />>>>><br />>>>> sonicle@xstorage1:/sonicle/home# file /usr/gnu/bin/awk<br />>>>> /usr/gnu/bin/awk: ELF 64-bit LSB executable AMD64 Version 1, dynamically<br />>> linked, not stripped, no debugging information available<br />>>>><br />>>>> what may be happening??<br />>>>><br />>>>> Thanks!<br />>>>> Gabriele<br />>>>><br />>>>><br />>>>><br />>>>><br />>>>><br />>>>><br />>>>> Sonicle S.r.l. : <a href="http://www.sonicle.com">http://www.sonicle.com</a><br />>>>> Music: <a href="http://www.gabrielebulfon.com">http://www.gabrielebulfon.com</a><br />>>>> Quantum Mechanics : <a href="http://www.cdbaby.com/cd/gabrielebulfon">http://www.cdbaby.com/cd/gabrielebulfon</a><br />>>>> _______________________________________________<br />>>>> Manage your subscription:<br />>>>> <a href="https://lists.clusterlabs.org/mailman/listinfo/users">https://lists.clusterlabs.org/mailman/listinfo/users</a><br />>>>><br />>>>> ClusterLabs home: <a href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a><br />>>><br />>>><br />>>> --<br />>>> Regards,<br />>>><br />>>> Reid Wahl, RHCA<br />>>> Software Maintenance Engineer, Red Hat<br />>>> CEE - Platform Support Delivery - ClusterHA<br />>><br />>> --<br />>> Regards,<br />>><br />>> Reid Wahl, RHCA<br />>> Software Maintenance Engineer, Red Hat<br />>> CEE - Platform Support Delivery - ClusterHA<br />><br />><br />><br />> _______________________________________________<br />> Manage your subscription:<br />> <a href="https://lists.clusterlabs.org/mailman/listinfo/users">https://lists.clusterlabs.org/mailman/listinfo/users</a><br />><br />> ClusterLabs home: <a href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a><br />><br />><br />> _______________________________________________<br />> Manage your subscription:<br />> <a href="https://lists.clusterlabs.org/mailman/listinfo/users">https://lists.clusterlabs.org/mailman/listinfo/users</a><br />><br />> ClusterLabs home: <a href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a><br />><br /><br />-- <br />
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div>Regards,<br /><br /></div>
Reid Wahl, RHCA</div>
<div>Software Maintenance Engineer, Red Hat</div>
CEE - Platform Support Delivery - ClusterHA</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br />
<pre>_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/
</pre>
</blockquote>
</div></body></html>