QA:Testcase create OpenStack nova network

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m
Line 6: Line 6:
  
 
  $> sudo nova-manage user admin admin
 
  $> sudo nova-manage user admin admin
  $> sudo nova-manage project create testproject $name
+
  $> sudo nova-manage project create testproject admin
 
  $> sudo nova-manage network create testnet 10.0.0.0/24 1 256 --bridge=testnetbr0
 
  $> sudo nova-manage network create testnet 10.0.0.0/24 1 256 --bridge=testnetbr0
  

Revision as of 11:31, 7 March 2012

Contents

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 admin
$> sudo nova-manage project create testproject admin
$> sudo nova-manage network create testnet 10.0.0.0/24 1 256 --bridge=testnetbr0

NB: if your local network uses the 10.0.0.0/24 range, pick another non-conflicting range for testing.

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