Skip to content

Commit

Permalink
Add local ssd on nova compute nodes (#249)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <berendt@osism.tech>
  • Loading branch information
berendt committed Dec 18, 2023
1 parent 7fe9829 commit bb64e36
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/guides/configuration-guide/openstack/nova.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,33 @@ reserved_host_memory_mb = 32768
[DEFAULT]
reserved_host_cpus = 4
```

## Local SSD storage

In this example, a local SSD is provided for use on compute node `testbed-node-0`.

On the compute node, the local SSD to be used is formatted with a file system of
your choice and mounted to `/var/lib/nova`. When using more than one local SSD, a
software RAID 1 should be used

A `nova.conf` is created as an overlay for the compute node `testbed-node-0`.

```ini title="environments/kolla/files/overlays/testbed-node-0/nova.conf"
[libvirt]
images_type = raw

[glance]
enable_rbd_download = true
```

In the inventory, the parameters `nova_instance_datadir_volume` and `nova_backend_ceph`
are added in the section for the `kolla` environment.


```yaml title="inventory/host_vars/testbed-node-0.yml"
##########################################################
# kolla

nova_instance_datadir_volume: /var/lib/nova
nova_backend_ceph: no
```

0 comments on commit bb64e36

Please sign in to comment.