Configure the WekaFS plug-in for Manila
Configure a WEKA cluster as a Manila backend so that OpenStack can provision WEKA-backed shares.
Prepare the Manila server and add the WEKA backend to the Manila configuration. The Manila server is the Linux server that runs the manila-share service. It is not a WEKA storage server.
Before you begin
OpenStack Hibiscus (2026.2) or later is running.
A WEKA cluster is running.
The Manila server runs RHEL 8 or later, or Ubuntu 20.04 or later, with Python 3.9 or later.
The Manila server can reach the cluster on TCP port 14000 (REST API) and on the WEKA data network.
Verify network connectivity
On the Manila server, confirm that the cluster REST API responds. Replace
<weka-ip>with the cluster management IP address.
curl -k https://<weka-ip>:14000/api/v2/statusThe response returns the cluster status as JSON. If the command reports a connection error, open TCP port 14000 between the Manila server and the cluster, and then retry. Do not continue until this command succeeds.
Install the WekaFS client (WekaFS shares only)
Skip this procedure if you use only the NFS protocol.
Download and install the client package from the cluster, so the client version matches the cluster version:
curl -k -o weka-client.tar https://<weka-ip>:14000/dist/v1/install/<weka-version>
tar xf weka-client.tar
sudo ./install.shLoad the kernel module, and confirm that it is loaded:
Persist the module across reboots:
Create a dedicated API user
Create a dedicated WEKA user for Manila instead of using the admin account. This limits exposure if the credentials leak.
Create the user:
The OrgAdmin role grants permission to create and manage filesystems and organizations.
Confirm that the new credentials work:
The response contains an access_token.
Configure the backend
Create the base directory for WekaFS mounts. Assign ownership to the user that runs the Manila share service:
In
/etc/manila/manila.conf, addwekatoenabled_share_backendsin the[DEFAULT]section, and then add the[weka]backend section:
Set weka_nfs_server to the NFS interface group IP address, not the API server IP address. To find it, run weka nfs interface-group.
Restart the Manila share service, and confirm that it is running:
Confirm that the backend is registered:
The WEKA backend appears in the pool list, and the manila-share service shows State: up. If the backend does not appear within two minutes, check the share service log.
What to do next
Manage Manila shares on a WEKA cluster
Related topics
WekaFS plug-in for OpenStack Manila
Last updated