QA:Testcase HekaFS

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{QA/Test_Case |description=This test case tests the functionality of the HekaFS feature. |actions= # Open web browser to server node1, port 8080 (e.g. http:/...")
 
m
Line 25: Line 25:
 
# Notice that yoyodyne is successfully added
 
# Notice that yoyodyne is successfully added
 
# Click on the Back to tenant configuration link
 
# Click on the Back to tenant configuration link
 +
# Click on the yoyodyne volumes link
 +
# Click the Enabled check-box for testsda
 +
# Press the Update button
 +
# Notice that the volume is successfully enabled for the tenant
 +
# Click the Back to tenant configuration link
 
# Press the Done button
 
# Press the Done button
 
# Click on the Manage Volumes link
 
# Click on the Manage Volumes link
Line 32: Line 37:
 
## enter `mkdir /mnt/testsda`
 
## enter `mkdir /mnt/testsda`
 
## enter `hfs_mount 192.168.122.21 yoyodyne bigboote /mnt/testsda`
 
## enter `hfs_mount 192.168.122.21 yoyodyne bigboote /mnt/testsda`
 
+
## enter `df` or `mount`
 
+
## Notice that /mnt/testsda was successfully mounted
 
+
# Perform I/O on the mounted volume, e.g. touch, cp, rm, ln, ln -s, mkdir, rmdir, ls, etc.
 
|results=
 
|results=
# abc
+
# files and directories are variously created, deleted, etc.
 
+
 
}}
 
}}

Revision as of 19:16, 17 October 2011

Description

This test case tests the functionality of the HekaFS feature.


How to test

  1. Open web browser to server node1, port 8080 (e.g. http://192.168.122.21:8080)
  2. Click on the Manage Servers link
  3. Notice that server node 1 is listed as a Cluster Node
  4. Add one or more additional nodes:
    1. Enter 192.168.122.22 and press the Add button
    2. Notice that 192.168.122.22 is successfully added
    3. Click on the Back to cluster configuration link
    4. repeat for additional server nodes
  5. Press the Done button
  6. Click on the Manage Volumes link
  7. Check the check-boxes for /bricks/sda on all server nodes
  8. Leave the Replica or Stripe count box empty.
  9. Enter testsda in the Volume ID box
  10. Press the Provision button
  11. Notice that the volume has been successfully provisioned
  12. Click the Back to volume configuration link
  13. Notice that the check-boxes for bricks/sda are insensitive (grayed out)
  14. Press the Done button
  15. Click on the Manage Tenants link
  16. Enter yoyodyne, bigboote, 10000, 10999, 10000, 10999 in the Name, Password, UID Range Low, UID Range High, GID Range Low, and GID Range High fields.
  17. Press the Add button
  18. Notice that yoyodyne is successfully added
  19. Click on the Back to tenant configuration link
  20. Click on the yoyodyne volumes link
  21. Click the Enabled check-box for testsda
  22. Press the Update button
  23. Notice that the volume is successfully enabled for the tenant
  24. Click the Back to tenant configuration link
  25. Press the Done button
  26. Click on the Manage Volumes link
  27. Click on the testsda start link
  28. Notice that testsda is successfully started
  29. In a shell on the client,
    1. enter `mkdir /mnt/testsda`
    2. enter `hfs_mount 192.168.122.21 yoyodyne bigboote /mnt/testsda`
    3. enter `df` or `mount`
    4. Notice that /mnt/testsda was successfully mounted
  30. Perform I/O on the mounted volume, e.g. touch, cp, rm, ln, ln -s, mkdir, rmdir, ls, etc.

Expected Results

  1. files and directories are variously created, deleted, etc.