nova-nfs uses nfs backend to store ephemeral volumes (intances.) This plugin allow to mount a nfs volume annd use it as storage backend for Nova.
This repo contains all necessary files to build nova-nfs Fuel plugin.
Requirement | Version/Comment |
---|---|
Mirantis Openstack compatibility | 6.0 |
---------------------------------- | --------------------------------------------------------- |
NFS Server | an NFS server with volume accessible from compute nodes |
None.
Only on nfs volume can be defined. So in HA deployment compute node will share the same storage backend for instances.
-
Clone the fuel-plugin repo from: https://github.com/stackforge/fuel-plugin-nova-nfs.git
git clone
-
Install the Fuel Plugin Builder:
pip install fuel-plugin-builder
-
Build nova-nfs Fuel plugin:
fpb --build fuel-plugin-nova-nfs/
-
The nova_nfs-<x.x.x>.fp file will be created in the plugin folder (fuel-plugin-nova-nfs)
-
Move this file to the Fuel Master node with secure copy (scp):
scp nova_nfs-<x.x.x>.fp root@:<the_Fuel_Master_node_IP address>:/tmp
cd /tmp
-
Install the nova-nfs plugin:
fuel plugins --install nova_nfs-<x.x.x>.fp
-
Plugin is ready to use and can be enabled on the Settings tab of the Fuel web UI.
-
Create a new environment with the Fuel UI wizard
-
Add a node with the "Compute" role.
-
Click on the settings tab of the Fuel web UI
-
Scroll down the page, select the "Nova-nfs plugin" checkbox and fill-in the requiered fields
- the nfs volume to store instances
- the mount point for the nfs volume
Here is a screenshot of the fields
Create mountpoint directory Edit Fstab to add auto mount of NFS volume on the mountpoint Configure Nova to use it as backend for instances Restart nova services
The deployment failed if the NFS volume is not available during the deployment
1.0.0
- Initial release of the plugin