Uploaded image for project: 'Red Hat Workload Availability'
  1. Red Hat Workload Availability
  2. RHWA-97

Templating for the fence agent's parameters.

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      Cause: Sometimes fencing parameters for different nodes only differ by the node name in one of the parameters. But it is not possible to allow the FAR Operator to automatically place the node name in a parameter.
      Consequence: Instead of using a shared parameter, you must use node parameters for each node.
      Fix: Fencing parameters are updated to now support a "{{.NodeName}}" template for the node name, which will be replaced with the node name of the node being fenced.
      Result: You no longer have to provide many node parameters when they differ only by node name, and instead you can use a single shared parameter.
      Show
      Cause: Sometimes fencing parameters for different nodes only differ by the node name in one of the parameters. But it is not possible to allow the FAR Operator to automatically place the node name in a parameter. Consequence: Instead of using a shared parameter, you must use node parameters for each node. Fix: Fencing parameters are updated to now support a "{{.NodeName}}" template for the node name, which will be replaced with the node name of the node being fenced. Result: You no longer have to provide many node parameters when they differ only by node name, and instead you can use a single shared parameter.
    • Feature
    • Proposed

      In order to avoid hard coding node details, for some fence agents a template mechanism could eliminate the node to hard code node specifics, i.e.

      kind: FenceAgentsRemediationTemplate
      ...
      spec:
        template:
          spec:
            agent: fence_redfish
            sharedparameters:
              '--ip': "192.168.123.1"
              ...
              '--systems-uri': "/redfish/v1/Systems/{{.NodeName}}"
      

        1. far_nhc_with_node_pram_5_sept_connected.text
          21 kB
          vipin kumar
        2. far_shared_node_names_4_16_connected.text
          19 kB
          vipin kumar
        3. far_standalone_4_16_node_secret_name.connected.text
          42 kB
          vipin kumar
        4. far_standalone_4_20_connected_node_secret.txt
          17 kB
          vipin kumar
        5. share-secret-testing-for-far.txt
          13 kB
          vipin kumar

              mshitrit@redhat.com Michael Shitrit
              fdeutsch@redhat.com Fabian Deutsch
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: