openstack-manuals/doc/user-guide-admin/source/dashboard_manage_volumes.rst
chenqiaomin cd89c74c4b Add missing steps for managing volume type
Managing volume type missing choosing 'Volume Types' tab in
'Manage volumes and volume types in Admin User Guide'
in 'dashboard_manage_volumes.rst'.

Change-Id: I37759c587f05dfe340756b12e2089fc0d9c7a80e
Closes-bug: #1500326
2015-09-20 13:38:27 -04:00

7.1 KiB

Manage volumes and volume types

Volumes are the Block Storage devices that you attach to instances to enable persistent storage. Users can attach a volume to a running instance or detach a volume and attach it to another instance at any time. For information about using the dashboard to create and manage volumes as an end user, see the OpenStack End User Guide.

As an administrative user, you can manage volumes and volume types for users in various projects. You can create and delete volume types, and you can view and delete volumes. Note that a volume can be encrypted by using the steps outlined below.

Create a volume type

  1. Log in to the dashboard and choose the admin project from the drop-down list at the top of the page.
  2. On the Admin tab, open the System tab and click the Volumes category.
  3. Click the Volume Types tab, and click Create Volume Type button. In the Create Volume Type window, enter a name for the volume type.
  4. Click Create Volume Type button to confirm your changes.

Note

A message indicates whether the action succeeded.

Create an encrypted volume type

  1. Create a volume type using the steps above for create-a-volume-type.

  2. Click Create Encryption in the Actions column of the newly created volume type.

  3. Configure the encrypted volume by setting the parameters below from available options (see table):

    Provider

    Specifies the class responsible for configuring the encryption.

    Control Location

    Specifies whether the encryption is from the front end (nova) or the back end (cinder).

    Cipher

    Specifies the encryption algorithm.

    Key Size

    Specifies the encryption key size.

  4. Click Create Volume Type Encryption.

    Note

    Once a volume type is updated by the Create Encryption option, the volume type cannot be deleted.

Encryption Options

The table below provides a few alternatives available for creating encrypted volumes.

Encryption parameters Parameter options Comments

Provider

nova.volume.encryptors. luks.LuksEncryptor (Recommended) Allows easier import and migration of imported encrypted volumes, and allows access key to be changed without re-encrypting the volume

+ +-----------------------+----------------------------+ | Less disk overhead than | | LUKS | | | +--------------------+-----------------------+----------------------------+ | Control Location | front-end | | (Recommended) | | | | | | | | + +-----------------------+----------------------------+ | | back-end | | | | | | | | | | | | | | | | +--------------------+-----------------------+----------------------------+ | Cipher | aes-xts-plain64 | | (Recommended) + +-----------------------+----------------------------+ | | aes-cbc-essiv | | | | +--------------------+-----------------------+----------------------------+ | Key Size (bits)| 512 (Recommended for | | aes-xts-plain64. 256 | | should be used for | | aes-cbc-essiv) | | + +-----------------------+----------------------------+ | | 256 | | | | +--------------------+-----------------------+----------------------------+

* Source NIST SP 800-38E

Delete volume types

When you delete a volume type, volumes of that type are not deleted.

  1. Log in to the dashboard and choose the admin project from the drop-down list at the top of the page.
  2. On the Admin tab, open the System tab and click the Volumes category.
  3. Click the Volume Types tab, select the volume type or types that you want to delete.
  4. Click Delete Volume Types button.
  5. In the Confirm Delete Volume Types window, click the Delete Volume Types button to confirm the action.

Note

A message indicates whether the action succeeded.

Delete volumes

When you delete an instance, the data of its attached volumes is not destroyed.

  1. Log in to the dashboard and choose the admin project from the drop-down list at the top of the page.
  2. On the Admin tab, open the System tab and click the Volumes category.
  3. Select the volume or volumes that you want to delete.
  4. Click Delete Volumes button.
  5. In the Confirm Delete Volumes window, click the Delete Volumes button to confirm the action.

Note

A message indicates whether the action succeeded.