Changing settings for OpenStack Swift accounts
To change settings for a cloud account to OpenStack Swift, you can use either the management GUI or the command-line interface.
When settings are changed on the cloud account, any snapshot versions of volumes that are stored on the cloud become unavailable. Before you change any settings that are related to the cloud account, ensure that you restore data from the cloud storage or delete the cloud snapshots from cloud storage before you proceed. After the changes are completed to the cloud account, new cloud snapshots can be created of volume data. Situations do require updating certain settings on the cloud account. For example, if a cloud service provider updates credential information, then changes to the cloud account information on the system are required. For some settings, the system restricts any updates.
- Tenant
- A tenant is a container that is used to store objects that are created for a particular account. Tenant names are defined by the cloud service provider and represent the underlying storage that is used by the account. Tenant names must remain consistent or data that is stored on the cloud cannot be accessed.
- Container prefix
- Container prefixes are added to the beginning of the tenant name to identify which tenants are associated with the system. Prefixes can also be used to identify multiple systems that use the same cloud account to store snapshots of volume data. Like with tenant names, these prefixes must remain consistent to access data on the cloud.
- Encryption
- After encryption is set for a cloud account, it cannot be changed.
Using the management GUI
To change settings for an OpenStack Swift account, complete these steps:
- In the management GUI, select .
- On the Transparent Cloud Tiering page, verify that the state of the cloud account is online. If the cloud account is not online, the connection to the cloud service provider is not available. Select to investigate the cause of the problem. You might need to access the cloud service provider to determine the connection problem.
- Expand Account information to view settings that are related to the
account. The following settings can be updated:
- User name
- Enter the new user name that is associated with the account. The user name is used to identify clients that can access content that is stored by the cloud service provider.
- Password
- Enter the new password that gives access to the cloud storage for the specified user name. To update the password, click Edit.
- Endpoint
- Enter the new URL that the system uses to access cloud storage on the cloud service provider.
- SSL Certificate
- Select the new SSL certificate that is used to authenticate the system to the cloud service provider.
- Keystone
- You can change whether Keystone authentication is used to connect to the OpenStack Swift cloud service provider. Keystone authenticates clients to cloud objects and services. Check with the administrator of the cloud service provider to verify any changes to the authentication method that is used to access OpenStack Swift interfaces.
- Click Save.
- On the Force Changes page, click Force to accept the changes or click Cancel to discard the changes and retain the original settings.
Using the command-line interface
chcloudaccountswift -keystone yes -endpoint https_endpoint_URL -username username -password 'password' -certificate certificate_path cloud_account_id_or_name
where https_endpoint_URL is the URL for the cloud service provider,
username is the new user name, and password is the
new password for the account. The cloud_account_id_or_name parameter is
either the name or the system-assigned identifier for the cloud account. In this example, a new
path is added for the certificate and Keystone authentication is enabled for the account.chcloudaccountswift -username username -password 'password' cloud_account_id_or_name
where username is the new user name and password is
the new password for the account. The cloud_account_id_or_name parameter is
either the name or the system-assigned identifier for the cloud account. chcloudaccountswift -certificate certificate_path cloud_account_id_or_namewhere
certificate_pathis the file path where the new certificate is stored on the
system and cloud_account_id_or_name is either the name or the system-assigned
identifier for the cloud account. chcloudaccountswift -nocertificate cloud_account_id_or_name -ignorefailureswhere
cloud_account_id_or_name is either the name or the system-assigned
identifier for the cloud account. The --nocertificate parameter deletes the
certificate.