Changing settings for OpenStack Swift account

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.

For a cloud account with OpenStack Swift, the following settings cannot be changed:
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 are 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 IBM SoftLayer cloud account, complete these steps:

  1. In the management GUI, select Settings > System > Transparent Cloud Tiering.
  2. 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 Monitoring > Events to investigate the cause of the problem. You might need to access the cloud service provider to determine the connection problem.
  3. 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.
  4. Click Save.
  5. 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

To change the endpoint, the user name, password, certificate, and Keystone authentication settings for the cloud account, enter the following command:
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.
To change the user name and password for the cloud account, enter the following command:
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.
To change the certificate that is used on the cloud account, enter the following command:
chcloudaccountswift -certificate certificate_path cloud_account_id_or_name
where 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.
To delete the certificate that is used on the cloud account, enter the following command:
chcloudaccountswift -nocertificate cloud_account_id_or_name -ignorefailures
where cloud_account_id_or_name is either the name or the system-assigned identifier for the cloud account. The --nocertificate parameter deletes the certificate.