nova compute nfs #0

Supports: bionic focal groovy

Description

Nova is the compute service for the Openstack project. . This charm provides a simple NFS backend for Nova.


Overview

This charm provides a simple NFS backend for ephemeral storage in Nova.

It will create an entry in /etc/fstab, mount the filesystem and then configure nova-compute to use the mounted filesystem as its instances_path location.

Usage

To deploy the charm:

  juju deploy nova-compute-nfs \
    --config filesystem="10.10.64.10:/mnt/rpool/nova"
    --config mountpoint="/srv/nova"
    --config type=nfs4
    --config options="rsize=131072,wsize=131072"

  juju add-relation nova-compute nova-compute-nfs

Known Limitations and Issues

This is an alpha quality charm. It does not yet gracefully handle reconfiguring any parameters, and will require manual intervention on removal to restore the original instances_path in /etc/nova/nova.conf.


Configuration

filesystem
(string) The file system to mount. (ex: 192.168.1.1:/srv/data or /dev/sdb4)
instances-path
(string) The final path that will be configured in /etc/nova/nova.conf. Must be a fully qualified path. If unspecified, the instances path will be set to the mountpoint.
mountpoint
(string) The path to mount the filesystem at. To avoid conflicts, do not mount the filesystem at /var/lib/nova/instances. If the path does not exist, it will be created.
/srv/nova
options
(string) Mount options.
type
(string) The filesystem type to be mounted. (ex: nfs4)
nfs4