39 UI Verification #
Once you have completed your cloud deployment, these are some of the common post-installation tasks you may need to perform to verify your cloud installation.
39.1 Verifying Your Block Storage Backend #
The sections below will show you the steps to verify that your Block Storage backend was setup properly.
39.1.1 Create a Volume #
Perform the following steps to create a volume using horizon dashboard.
Log into the horizon dashboard.
Choose
› › .On the
tabs, click the button to create a volume.In the
options, enter the required details into the fields and then click the button:Volume Name - This is the name you specify for your volume.
Description (optional) - This is an optional description for the volume.
Type - Select the volume type you have created for your volumes from the drop down.
Size (GB) - Enter the size, in GB, you would like the volume to be.
Availability Zone - You can either leave this at the default option of
or select a specific zone from the drop-down box.
The dashboard will then show the volume you have just created.
39.1.2 Attach Volume to an Instance #
Perform the following steps to attach a volume to an instance:
Log into the horizon dashboard.
Choose
› › .In the
column, choose the in the drop-down box next to the instance you want to attach the volume to.In the
drop-down, select the volume that you want to attach.Edit the
if necessary.Click
to complete the action.On the
screen, verify that the volume you attached is displayed in the columns.
39.1.3 Detach Volume from Instance #
Perform the following steps to detach the volume from instance:
Log into the horizon dashboard.
Choose
› › .Click the check box next to the name of the volume you want to detach.
In the
column, choose the in the drop-down box next to the instance you want to attach the volume to.Click
. A confirmation dialog box appears.Click
to confirm the detachment of the volume from the associated instance.
39.1.4 Delete Volume #
Perform the following steps to delete a volume using horizon dashboard:
Log into the horizon dashboard.
Choose
› › .In the
column, click next to the volume you would like to delete.To confirm and delete the volume, click
again.Verify that the volume was removed from the
screen.
39.1.5 Verifying Your Object Storage (swift) #
The following procedure shows how to validate that all servers have been added to the swift rings:
Run the swift-compare-model-rings.yml playbook as follows:
cd ~/scratch/ansible/next/ardana/ansible ansible-playbook -i hosts/verb_hosts swift-compare-model-rings.yml
Search for output similar to the following. Specifically, look at the number of drives that are proposed to be added.
TASK: [swiftlm-ring-supervisor | validate-input-model | Print report] ********* ok: [ardana-cp1-c1-m1-mgmt] => { "var": { "report.stdout_lines": [ "Rings:", " ACCOUNT:", " ring exists", " no device changes", " ring will be rebalanced", " CONTAINER:", " ring exists", " no device changes", " ring will be rebalanced", " OBJECT-0:", " ring exists", " no device changes", " ring will be rebalanced" ] } }
If the text contains "no device changes" then the deploy was successful and no further action is needed.
If more drives need to be added, it indicates that the deploy failed on some nodes and that you restarted the deploy to include those nodes. However, the nodes are not in the swift rings because enough time has not elapsed to allow the rings to be rebuilt. You have two options to continue:
Repeat the deploy. There are two steps:
Delete the ring builder files as described in Section 18.6.2.8, “Restarting the Object Storage Deployment”.
Repeat the installation process starting by running the
site.yml
playbook as described in Section 24.7, “Deploying the Cloud”.
Rebalance the rings several times until all drives are incorporated in the rings. This process may take several hours to complete (because you need to wait one hour between each rebalance). The steps are as follows:
Change the min-part-hours to 1 hour. See Section 9.5.7, “Changing min-part-hours in Swift”.
Use the "First phase of ring rebalance" and "Final rebalance phase" as described in Section 9.5.5, “Applying Input Model Changes to Existing Rings”. The “Weight change phase of ring rebalance” does not apply because you have not set the weight-step attribute at this stage.
Set the min-part-hours to the recommended 16 hours as described in Section 9.5.7, “Changing min-part-hours in Swift”.
If you receive errors during the validation, see Section 18.6.2.3, “Interpreting Swift Input Model Validation Errors”.