Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-13557

Pacemaker::Stonith::Fence_ipmilan doesn't parse timeout value properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhos-17.1.6
    • rhos-17.1.4
    • puppet-pacemaker
    • None
    • PIDONE 18.0.5, PIDONE 18.0.6
    • 2
    • Moderate

      To Reproduce Steps to reproduce the behavior: to run deployment command with following THT parameters

      parameter_defaults:
        EnableFencing: true
        FencingConfig:
          devices:
          - agent: fence_ipmilan
            host_mac: 52:54:00:c8:49:52
            params:
              ipaddr: 172.16.0.88
              ipport: '6231'
              lanplus: true
              login: admin
              passwd: password
              timeout: 180
              interval: 120
      

      The following error is reported by deployment command:

      "<13>Jan 29 17:42:18 puppet-user: Debug: try 1/10: pcs -f /var/lib/pacemaker/cib/puppet-cib-backup20250129-327444-1n2r1k0 stonith create stonith-fence_ipmilan-525400c84952 fence_ipmilan pcmk_host_list=$(/usr/sbin/crm_node -n)  ipaddr=\"172.16.0.88\" ipport=\"6231\" passwd='password'  lanplus=\"true\" login=\"admin\"  timeout=\"180\"        op monitor interval=120 meta pcmk_monitor_retries=4 --disabled", "<13>Jan 29 17:42:19 puppet-user: Debug: Error: Error: invalid stonith option 'timeout', allowed options are: 'action', 'auth', 'cipher', 'debug', 'debug_file', 'delay', 'disable_timeout', 'hexadecimal_kg', 'ip', 'ipaddr', 'ipmitool_path', 'ipmitool_timeout', 'ipport', 'lanplus', 'login', 'login_timeout', 'method', 'passwd', 'passwd_script', 'password', 'password_script', 'pcmk_action_limit', 'pcmk_delay_base', 'pcmk_delay_max', 'pcmk_host_argument', 'pcmk_host_check', 'pcmk_host_list', 'pcmk_host_map', 'pcmk_list_action', 'pcmk_list_retries', 'pcmk_list_timeout', 'pcmk_monitor_action', 'pcmk_monitor_retries', 'pcmk_monitor_timeout', 'pcmk_off_action', 'pcmk_off_retries', 'pcmk_off_timeout', 'pcmk_on_action', 'pcmk_on_retries', 'pcmk_on_timeout', 'pcmk_reboot_action', 'pcmk_reboot_retries', 'pcmk_reboot_timeout', 'pcmk_status_action', 'pcmk_status_retries', 'pcmk_status_timeout', 'plug', 'plug_separator', 'port', 'port_as_ip', 'power_timeout', 'power_wait', 'privlvl', 'quiet', 'retry_on', 'shell_timeout', 'stonith_status_sleep', 'sudo', 'sudo", "<13>Jan 29 17:42:19 puppet-user: _path', 'target', 'use_sudo', 'username', 'verbose', 'verbose_level', use --force to override", "<13>Jan 29 17:42:19 puppet-user: Warning: stonith option 'ipaddr' is deprecated and should not be used, use 'ip' instead", "<13>Jan 29 17:42:19 puppet-user: Warning: stonith option 'login' is deprecated and should not be used, use 'username' instead", "<13>Jan 29 17:42:19 puppet-user: Warning: stonith option 'passwd' is deprecated and should not be used, use 'password' instead", "<13>Jan 29 17:42:19 puppet-user: Error: Errors have occurred, therefore pcs is unable to continue"
      

      Expected behavior
      timeout value is applied properly for monitor op

      Bug impact
      Operators are unable to manage fence_ipmilan settings via THT

      Known workaround
      To introduce modifications manually

              rhn-support-aromito Antonio Romito
              rhn-support-astupnik Aleksei Stupnikov
              rhos-dfg-pidone
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: