Adventures of a Small Time OpenStack Sysadmin relate the experience of converting a small VMware cluster into two small OpenStack clusters, and the adventures and friends I made along the way.
Adventures of a Small Time OpenStack Sysadmin Chapter 041 - Cinder Block Storage Service
First, links to some reference docs I used:
Cinder Docs Page
https://docs.openstack.org/cinder/yoga/
Kolla-Ansible Deployment Configuration Reference for Cinder
https://docs.openstack.org/kolla-ansible/yoga/reference/storage/cinder-guide.html
Config in globals.d
The file /etc/kolla/globals.d/cinder.yml contains:
#
# On OS6 for cluster 2
#
---
enable_cinder: "yes"
The configuration is mostly standard, other than my cinder VG name is "ssd" due to historical reasons instead of the standard, and I'm enabling backups into swift.
Install the CLI for nova-client
This should be installed by default, regardless, to install or upgrade, see the installcli.sh at this link:
https://gitlab.com/SpringCitySolutionsLLC/openstack-scripts/-/blob/master/installcli/installcli.sh
Or just run:
pip install python-novaclient -c https://releases.openstack.org/constraints/upper/yoga
Cinder Quotas
See the project scripts WRT setting quotas. Here is a link to the Heat Orchestration Template that configures my IoT project:
https://gitlab.com/SpringCitySolutionsLLC/openstack-scripts/-/blob/master/projects/iot/iot/iot.yml
The relevant Heat Resource paragraph being:
type: OS::Cinder::Quota
properties:
project: iot
backup_gigabytes: -1
backups: -1
gigabytes: -1
snapshots: -1
volumes: -1
As you can see I'm not setting limits, although if I wanted to, its very easy with Heat Orchestration Templates.
Also, see ~/openstack-scripts/demos/cinder/quota-report.sh
Volume Backup
This topic will be handled tomorrow, as it uses swift and rclone.
Tomorrow I report on Swift.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.