<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 2/7/24 09:49, Oyvind Albrigtsen
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:lewsfmjzrwwcoreqifghjbjb6lknfftnmauxknhpceqakbafx5@i34i6qlhikmm">On
      07/02/24 09:35 +0100, Adam Cecile wrote:
      <br>
      <blockquote type="cite">Hello,
        <br>
        <br>
        <br>
        Crm_mon show these errors on my cluster, while everything is
        working as expected:
        <br>
        <br>
        Failed Resource Actions:
        <br>
          * Default-Public-IPv4-Is-Default-Src probe on gw-3.domain
        returned 'error' ([findif] failed) at Wed Feb  7 08:00:22 2024
        after 49ms
        <br>
          * Default-Public-IPv4-Is-Default-Src probe on gw-1.domain
        returned 'error' ([findif] failed) at Wed Feb  7 08:00:22 2024
        after 48ms
        <br>
          * Default-Public-IPv4-Is-Default-Src probe on gw-2.domain
        returned 'error' ([findif] failed) at Wed Feb  7 08:02:31 2024
        after 64ms
        <br>
        <br>
        I think pacemaker is unable to check default source address on
        node which are not currently owning the IP addresses, which is
        expected. However Default-Public-IPv4-Is-Default-Src is +INF
        colocated with public IP addresses, so I do not understand why
        such errors are generated on inactive nodes.
        <br>
      </blockquote>
      This is the probe-action, which will check whether the resource
      has
      <br>
      the expected status (e.g. stopped for nodes where it's not
      running).
      <br>
      <br>
      You can either setup another IP on the same network on the
      interface
      <br>
      to avoid these errors, or setting cidr_netmask and interface might
      help.
      <br>
      <br>
      IPsrcaddr doesnt advertise the interface parameter, so you
      probably
      <br>
      have to do e.g. "pcs resource update -f
      <br>
      Default-Public-IPv4-Is-Default-Src nic=<interface>" to set
      it anyways,
      <br>
      so findif will be able to use it.
      <br>
      <br>
    </blockquote>
    <p>Thanks ! You got it, it was indeed related to that. I tried
      setting up "nic" but it told me the parameter did not exist so I
      guessed it was not possible.</p>
    <p>Is that normal to use "private" attribute with --force ?<br>
    </p>
    <blockquote type="cite"
cite="mid:lewsfmjzrwwcoreqifghjbjb6lknfftnmauxknhpceqakbafx5@i34i6qlhikmm">
      <br>
      Oyvind Albrigtsen
      <br>
      <blockquote type="cite">
        <br>
        Here are some config extracts:
        <br>
        <br>
        primitive Default-Public-IPv4 IPaddr2 \
        <br>
                params cidr_netmask=24 ip=1.1.1.1 nic=eth1 \
        <br>
                op monitor interval=30 \
        <br>
                op start interval=0s timeout=20s \
        <br>
                op stop interval=0s timeout=20s
        <br>
        <br>
        primitive IPSEC-Public-IPv4 IPaddr2 \
        <br>
                params cidr_netmask=24 ip=1.1.1.2 nic=eth1 \
        <br>
                op monitor interval=30 \
        <br>
                op start interval=0s timeout=20s \
        <br>
                op stop interval=0s timeout=20s \
        <br>
                meta target-role=Started
        <br>
        <br>
        primitive Public-IPv4-Gateway Route \
        <br>
                params destination="0.0.0.0/0" device=eth1
        gateway=1.1.1.254 \
        <br>
                op monitor interval=30 \
        <br>
                op reload interval=0s timeout=20s \
        <br>
                op start interval=0s timeout=20s \
        <br>
                op stop interval=0s timeout=20s
        <br>
        <br>
        primitive Default-Public-IPv4-Is-Default-Src IPsrcaddr \
        <br>
                params cidr_netmask=24 ipaddress=1.1.1.1 \
        <br>
                op monitor interval=30 \
        <br>
                op start interval=0s timeout=20s \
        <br>
                op stop interval=0s timeout=20s \
        <br>
                meta target-role=Started
        <br>
        <br>
        colocation
colocation-Default-Public-IPv4-Is-Default-Src-Default-Public-IPv4-INFINITY
        +inf: Default-Public-IPv4-Is-Default-Src Default-Public-IPv4
        <br>
        colocation
        colocation-Default-Public-IPv4-Public-IPv4-Gateway-INFINITY
        +inf: Default-Public-IPv4 Public-IPv4-Gateway
        <br>
        colocation
        colocation-IPSEC-Public-IPv4-Public-IPv4-Gateway-INFINITY +inf:
        IPSEC-Public-IPv4 Public-IPv4-Gateway
        <br>
        <br>
        order
        order-Default-Public-IPv4-Default-Public-IPv4-Is-Default-Src-mandatory
        Default-Public-IPv4:start
        Default-Public-IPv4-Is-Default-Src:start
        <br>
        order order-Default-Public-IPv4-IPSEC-Public-IPv4-mandatory
        Default-Public-IPv4:start IPSEC-Public-IPv4:start
        <br>
        order order-Default-Public-IPv4-Public-IPv4-Gateway-mandatory
        Default-Public-IPv4:start Public-IPv4-Gateway:start
        <br>
        <br>
        <br>
        Any hint would be greatly appreciated !
        <br>
        <br>
        Best regards, Adam.
        <br>
      </blockquote>
      <br>
      <blockquote type="cite">_______________________________________________
        <br>
        Manage your subscription:
        <br>
        <a class="moz-txt-link-freetext" href="https://lists.clusterlabs.org/mailman/listinfo/users">https://lists.clusterlabs.org/mailman/listinfo/users</a>
        <br>
        <br>
        ClusterLabs home: <a class="moz-txt-link-freetext" href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a>
        <br>
      </blockquote>
      <br>
      _______________________________________________
      <br>
      Manage your subscription:
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.clusterlabs.org/mailman/listinfo/users">https://lists.clusterlabs.org/mailman/listinfo/users</a>
      <br>
      <br>
      ClusterLabs home: <a class="moz-txt-link-freetext" href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a>
      <br>
    </blockquote>
    <div id="grammalecte_menu_main_button_shadow_host"
      style="width: 0px; height: 0px;"></div>
  </body>
</html>