Token-based authentication for fence_vmware_rest

Solution Unverified - Updated

Environment

  • Red Hat Enterprise Linux Server (RHEL) with the High Availability or Resilient Storage Add-Ons
  • pacemaker cluster
  • fence-agents-vmware-rest

Issue

  • Is there token-based authentication for VMware fence devices?
  • Do I need to use a password on the fence_vmware_rest device?
  • Can we have a passwordless fence_vmware_rest device?

Resolution

At this time, the fence_vmware_rest device still requires the inclusion of password towards password or passwd_script variables.

Red Hat Enterprise Linux 10

Red Hat Enterprise Linux 9

Red Hat Enterprise Linux 8

  • It won't be backported to RHEL 8, as this major release is not in its Full Support Phase since June 1st, 2024.

Root Cause

Accordingly with Vmware documentation for “Content from techdocs.broadcom.com is not included.Authentication with vSphere APIs”, Vmware Rest API can use Token-based authentication for login.

The feature request was opened to assess whether we can introduce this authentication type on the Pacemaker VMware fence devices.

SBR
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.