From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=A brief description of the functionality being tested. |setup=Optionally include information on preparing the test environment |actions= Be as specifi...")
 
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=A brief description of the functionality being tested.
|description=Test creating an initial admin user, project and network.
|setup=Optionally include information on preparing the test environment
|setup=Follow [[QA:Testcase_start_OpenStack_Nova_services]].
|actions=
|actions=
Be as specific as required for the target audience.
To create the user, project and network do:
# Start here ...
$> sudo nova-manage user admin markmc
# Next do this ...
$> sudo nova-manage project create markmc markmc
# Finally click that
$> sudo nova-manage network create markmc 10.0.0.0/24 1 256 --bridge=br0
Obviously, replace <code>markmc</code> with your username.
|results=
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.
* The commands complete without errors
# Step #1 completes without error
* No new errors in the logs:
# The system boots into runlevel 5
$> grep -i error /var/log/nova/*.log
# Program completes wth exit code 0
* The user, project and network have been created:
$> sudo nova-manage user list
$> sudo nova-manage project list
$> sudo nova-manage network list
}}
}}


[[Category:OpenStack Test Cases]]
[[Category:OpenStack Test Cases]]
[[Category:Cloud SIG]]
[[Category:Cloud SIG]]

Revision as of 14:39, 17 October 2011

Description

Test creating an initial admin user, project and network.

Setup

Follow QA:Testcase_start_OpenStack_Nova_services.

How to test

To create the user, project and network do:

$> sudo nova-manage user admin markmc
$> sudo nova-manage project create markmc markmc
$> sudo nova-manage network create markmc 10.0.0.0/24 1 256 --bridge=br0

Obviously, replace markmc with your username.

Expected Results

  • The commands complete without errors
  • No new errors in the logs:
$> grep -i error /var/log/nova/*.log
  • The user, project and network have been created:
$> sudo nova-manage user list
$> sudo nova-manage project list
$> sudo nova-manage network list