You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GRANT ALL PRIVILEGES ON cinder.* TO 'cinder'@'localhost' identified by 'password123';
GRANT ALL PRIVILEGES ON cinder.* TO 'cinder'@'%' identified by 'password123';
exit
Source .adminrc
source .adminrc
Create cinder user and add role:
openstack user create --domain default --password password123 cinder
openstack role add --project service --user cinder admin
systemctl enable cinder-volume
service cinder-volume restart
Verify Ops
source .adminrc
openstack volume service list
openstack volume create --size 1 test-vol
openstack volume list
openstack volume delete test-vol
Configure Backup Service
Do this AFTER swift install
Install packages
apt install cinder-backup -y
Get swift url
openstack catalog show object-store
Edit /etc/cinder/cinder.conf:
[DEFAULT]# ...backup_driver = cinder.backup.drivers.swift.SwiftBackupDriverbackup_swift_url = SWIFT_URLswift_catalog_info = object-store:swift:publicURL# OR WAY SIMPLER TO USE FILE BASED BACKUPS FOR TESTINGbackup_driver = cinder.backup.drivers.posix.PosixBackupDriver
Finalize install
systemctl enable cinder-backup
service cinder-backup restart
Enable backups in horizon
Modify settings in /etc/openstack-dashboard/local_settings.py: