From 685f3774bf100371fd8c8ffb115743e48a85b3fb Mon Sep 17 00:00:00 2001 From: Andrey Setyaev Date: Wed, 1 Jun 2016 14:01:18 +0000 Subject: [PATCH] Update test plan * add test nsxv_disabled_roles * add missed test nsxv_specified_router_type * add step to nsxv_add_delete_controller * add test nsxv_config_ok_metadata Change-Id: Ic6a829c60beb74a34c12d26a405b924dd20e202b --- doc/test/source/test_suite_scale.rst | 13 ++-- doc/test/source/test_suite_smoke.rst | 95 +++++++++++++++++++++++++-- doc/test/source/test_suite_system.rst | 57 ++++++++++++++++ 3 files changed, 152 insertions(+), 13 deletions(-) diff --git a/doc/test/source/test_suite_scale.rst b/doc/test/source/test_suite_scale.rst index c52a810..29762de 100644 --- a/doc/test/source/test_suite_scale.rst +++ b/doc/test/source/test_suite_scale.rst @@ -46,14 +46,15 @@ Steps 7. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure Nova Compute instances on conrollers and compute-vmware. 8. Deploy cluster. 9. Run OSTF. - 10. Remove node with controller role. - 11. Redeploy cluster. + 10. Launch 2 VMs. + 11. Remove node with controller role. + 12. Redeploy cluster. Check that all instances are in place. - 12. Run OSTF. - 13. Add controller. - 14. Redeploy cluster. + 13. Run OSTF. + 14. Add controller. + 15. Redeploy cluster. Check that all instances are in place. - 15. Run OSTF. + 16. Run OSTF. Expected result diff --git a/doc/test/source/test_suite_smoke.rst b/doc/test/source/test_suite_smoke.rst index 7fb28a5..0e311bf 100644 --- a/doc/test/source/test_suite_smoke.rst +++ b/doc/test/source/test_suite_smoke.rst @@ -220,7 +220,7 @@ Steps 6. Enable and configure NSXv plugin. 7. Configure settings: * Enable VMWare vCenter/ESXi datastore for images (Glance). - 8. Configure VMware vCenter Settings. Add 1 vSphere cluster and configure Nova Compute instances on conrollers. + 8. Configure VMware vCenter Settings. Add 1 vSphere cluster and configure Nova Compute instances on controllers. 9. Deploy cluster. 10. Run OSTF. @@ -232,7 +232,7 @@ Cluster should be deployed and all OSTF test cases should be passed. Deploy HA cluster with NSXv plugin. ------------------------------------- +----------------------------------- ID @@ -273,7 +273,7 @@ Steps 4. Configure interfaces on nodes. 5. Configure network settings. 6. Enable and configure NSXv plugin. - 7. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure Nova Compute instances on conrollers and compute-vmware. + 7. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure Nova Compute instances on controllers and compute-vmware. 8. Verify networks. 9. Deploy cluster. 10. Run OSTF. @@ -286,7 +286,7 @@ Cluster should be deployed and all OSTF test cases should be passed. Verify that nsxv driver configured properly after enabling NSXv plugin ------------------------------------------------------------------------ +---------------------------------------------------------------------- ID @@ -313,9 +313,8 @@ Steps 1. Install NSXv plugin. 2. Enable plugin on tab Settings -> NSXv plugin. 3. Fill the form with corresponding values. - 4. Uncheck option "Bypass NSX Manager certificate verification". - 5. Do all things that are necessary to provide interoperability of NSXv plugin and NSX Manager with certificate. - 6. Check Additional settings. Fill the form with corresponding values. Save settings by pressing the button. + 4. Do all things that are necessary to provide interoperability of NSXv plugin and NSX Manager with certificate. + 5. Check Additional settings. Fill the form with corresponding values. Save settings by pressing the button. Expected result @@ -323,3 +322,85 @@ Expected result Check that nsx.ini on controller nodes is properly configured. + +Verify disabled roles +--------------------- + + +ID +## + +nsxv_disabled_roles + + +Description +########### + +Need to check that some disabled roles are unavailable in Fuel wizard. + + +Complexity +########## + +smoke + + +Steps +##### + + 1. Create new OpenStack environment. + 2. Enable options 'QENU-KVM' and 'vCenter'. + 3. Select 'Neutron with NSXv plugin'. + 4. On tab 'Storage Backends' check that are not available: + * Ceph - Block Storage + * Ceph - Ephemeral Storage + 5. On tab 'Additional Services' check that are not available: + * Install Sahara + * Install Murano + * Install Ironic + 6. Finish creating new environment. + 7. On 'Nodes' tab press 'Add Nodes'. + 8. Check that following roles are not available: + * Compute + * Cinder + + +Expected result +############### +All described roles are unavailable or in disabled state. + + +Deploy with specified tenant_router_types option +------------------------------------------------ + + +ID +## + +nsxv_specified_router_type + + +Description +########### + +Deploy with tenant_router_types=exclusive in nsx.ini + + +Complexity +########## + +core + + +Steps +##### + + 1. Install and configure nsxv plugin. + 2. Specify additional parameter tenant_router_types with value 'exclusive'. + 3. Deploy cluster. + 4. Run OSTF. + + +Expected result +############### +All OSTF are passed. diff --git a/doc/test/source/test_suite_system.rst b/doc/test/source/test_suite_system.rst index 8827e8d..b2883b3 100644 --- a/doc/test/source/test_suite_system.rst +++ b/doc/test/source/test_suite_system.rst @@ -1059,3 +1059,60 @@ Request should return:: 2008-02-01 2008-09-01 2009-04-04 + + +Verify that nsxv driver configured properly if use certificates for access nova-metadata +---------------------------------------------------------------------------------------- + + +ID +## + +nsxv_config_ok_metadata + + +Description +########### + +Need to check that nsxv plugin can access nova-metadata with certificate. + + +Complexity +########## + +advanced + + +Steps +##### + + 1. Install NSXv plugin. + 2. Enable plugin on tab Settings -> NSXv plugin. + 3. Fill the form with corresponding values. + 4. Generate certificate and upload it into field 'Certificate for metadata proxy'. + 5. Upload key into field 'Private key'('Private key for metadata certificate'). + 6. Add to field 'Metadata allowed ports' value '443,8775'. + 7. Deploy cluster. + 8. Run OSTF. + 4. Launch instance and run command from it:: + + wget -O - 169.254.169.254 + + +Expected result +############### + +Check that nsx.ini on controller nodes is properly configured. +Connection to nova-metadata is established. +Request should return:: + + Connecting to 169.254.169.254 (169.254.169.254:80) + 1.0 + 2007-01-19 + 2007-03-01 + 2007-08-29 + 2007-10-10 + 2007-12-15 + 2008-02-01 + 2008-09-01 + 2009-04-04