IBM Support

Enabling Cinder Backup Services In Openstack

Troubleshooting


Problem

Cinder backup services are not started in Openstack in an HA environment.

Resolving The Problem

Cinder backup service is only in a HA environment. There are 2 options to enable this feature.

Option A


To enabled cinder backup service on single controller node:

1. Enable cinder backup service in environment file, add the following attributes:
"block-storage": {
"backup": {
"enabled": true
},
"debug": "False",
"verbose": "True",
"volume": {
"create_volume_group": false,
"volume_group_size": 40,
"iscsi_ip_address": "127.0.0.1"
}
2. Add cinder backup recipe in topology file for controller node
"runlist": [
"role[ibm-os-single-controller-node]",
"recipe[openstack-block-storage::backup]",
"role[ibm-os-prs-ego-master]",
"role[ibm-os-prs-controller-node]"
]
3. Update the topology file with knife command.

Option B
Modify the role[os-block-storage], add cinder backup role to the role.

1. Create a new role[os-block-storage-backup], prepare follow json file named os-block-storage-backup.json
{
"name": "os-block-storage-backup",
"description": "OpenStack Block Storage backup service",
"json_class": "Chef::Role",
"default_attributes": {

},
"override_attributes": {

},
"chef_type": "role",
"run_list": [
"role[os-base]",
"recipe[openstack-block-storage::backup]"
],
"env_run_lists": {

}
}
2. Run "knife role from file os-block-storage-backup.json" to update the new role
3. Edit the role[os-block-storage], add role[os-block-storage-backup] to the list.
*Run "knife role edit os-block-storage"
*Add role[os-block-storage-backup] to run list
{
"name": "os-block-storage",
"description": "Configures OpenStack block storage, configured by attributes.",
"json_class": "Chef::Role",
"default_attributes": {

},
"override_attributes": {

},
"chef_type": "role",
"run_list": [
"role[os-base]",
"role[os-block-storage-api]",
"role[os-block-storage-scheduler]",
"role[os-block-storage-volume]",
"role[os-block-storage-backup]",
"recipe[openstack-block-storage::identity_registration]"
],
"env_run_lists": {

}
}
*Save and exit.
4. Enable cinder backup in environment file and then Update the topology file with knife command.

[{"Product":{"code":"SST55W","label":"IBM Cloud Manager with OpenStack"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"Standard","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 June 2018

UID

nas8N1021470