Merge "Fix tests according to new contrail roles"

This commit is contained in:
Jenkins
2016-10-05 19:35:30 +00:00
committed by Gerrit Code Review
7 changed files with 479 additions and 1014 deletions

View File

@@ -16,7 +16,7 @@ contrail_ha_dpdk
Description
###########
Check Contrail deploy on HA environment
Check Contrail deploy on HA environment with dpdk
Complexity
@@ -36,10 +36,9 @@ Steps
node-03: 'controller', 'ceph-osd';
node-04: 'compute', 'ceph-osd';
node-05: 'compute', 'ceph-osd';
node-06: 'contrail-db';
node-07: 'contrail-config';
node-08: 'contrail-control';
node-09: 'contrail-analytics', 'contrail-analytics-db';
node-06: 'contrail-controller';
node-07: 'contrail-analytics',
node-08: 'contrail-analytics-db';
node-dpdk: 'compute', dpdk';
4. Run OSTF tests
5. Run contrail health check tests
@@ -78,18 +77,18 @@ Steps
1. Create an environment with "Neutron with tunneling segmentation" as a network configuration
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Deploy cluster with following node configuration:
3. Deploy cluster with following node configuration:
node-1: 'controller', 'ceph-osd';
node-2: 'contrail-config', 'contrail-control', 'contrail-db';
node-2: 'contrail-controller';
node-3: 'compute', 'ceph-osd';
node-4: 'compute', 'ceph-osd';
node-5: 'compute', 'ceph-osd';
node-6: 'contrail-analytics', 'contrail-analytics-db';
node-dpdk: 'compute', 'dpdk';
node-7: 'contrail-analytics', 'contrail-analytics-db';
5. Run OSTF tests
4. Run OSTF tests
5. Run contrail health check tests
6. Add one node with following configuration:
node-5: "compute", "ceph-osd";
node-7: "compute", "ceph-osd";
7. Deploy changes
8. Run OSTF tests
9. Run contrail health check tests
@@ -130,11 +129,11 @@ Steps
2. Enable and configure Contrail plugin
3. Deploy cluster with following node configuration:
node-01: 'controller';
node-02: 'contrail-control', 'contrail-config', 'contrail-db', 'contrail-analytics';
node-03: 'contrail-db';
node-02: 'contrail-controller';
node-03: 'contrail-controller';
node-04: 'compute', 'cinder';
node-05: 'compute';
node-06: 'contrail-db';
node-06: 'contrail-analytics', 'contrail-analytics-db';
4. Run OSTF tests
5. Delete node-05 with "compute" role
6. Deploy changes
@@ -176,22 +175,22 @@ Steps
1. Create an environment with "Neutron with tunneling
segmentation" as a network configuration
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Deploy cluster with following node configuration:
3. Deploy cluster with following node configuration:
node-01: 'controller', 'ceph-osd';
node-02: 'contrail-config', 'contrail-control', 'contrail-db', 'contrail-analytics';
node-02: contrail-controller';
node-03: 'compute', 'ceph-osd';
node-04: 'compute', 'ceph-osd';
node-05: 'controller', 'cinder';
node-06: 'controller', 'cinder';
node-07: 'contrail-analytics-db';
5. Run OSTF tests
6. Run contrail health check tests
7. Add one node with following configuration:
node-07: 'contrail-analytics';
node-08: 'contrail-analytics-db';
4. Run OSTF tests
5. Run contrail health check tests
6. Add one node with following configuration:
node-dpdk: "compute", "dpdk";
8. Deploy changes
9. Run OSTF tests
10. Run contrail health check tests
7. Deploy changes
8. Run OSTF tests
9. Run contrail health check tests
Expected results
@@ -229,9 +228,10 @@ Steps
2. Enable and configure Contrail plugin
3. Deploy cluster with following node configuration:
node-01: 'controller', 'ceph-osd', 'cinder';
node-02: 'contrail-control', 'contrail-config', 'contrail-db', 'contrail-analytics';
node-02: 'contrail-controller';
node-03: 'compute', 'ceph-osd';
node-04: 'compute', 'ceph-osd';
node-05: 'contrail-analytics' 'contrail-analytics-db';
node-dpdk: 'compute', 'dpdk';
4. Run OSTF tests
5. Run contrail health check tests
@@ -313,16 +313,17 @@ Steps
1. Create an environment with "Neutron with tunneling
segmentation" as a network configuration
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Deploy cluster with following node configuration:
3. Deploy cluster with following node configuration:
node-1: 'controller', 'ceph-osd';
node-2: 'contrail-config', 'contrail-control', 'contrail-db', 'contrail-analytics';
node-2: 'contrail-controller';
node-3: 'compute', 'ceph-osd';
node-4: 'compute', 'ceph-osd';
node-6: 'contrail-analytics', 'contrail-analytics-db';
5. Run OSTF tests
node-5: 'contrail-analytics', 'contrail-analytics-db';
node-6: 'contrail-analytics';
4. Run OSTF tests
5. Run contrail health check tests
6. Add one node with following configuration:
node-5: 'controller', 'ceph-osd';
node-8: 'controller', 'ceph-osd';
7. Deploy changes
8. Run OSTF tests
9. Run contrail health check tests
@@ -363,10 +364,13 @@ Steps
2. Enable and configure Contrail plugin
3. Deploy cluster with following node configuration:
node-01: 'controller';
node-02: 'contrail-control', 'contrail-config', 'contrail-db', 'contrail-analytics';
node-02: 'contrail-controller;
node-03: 'controller';
node-04: 'compute', 'cinder';
node-05: 'controller';
node-06: 'contrail-analytics', 'contrail-analytics-db';
node-07: 'contrail-analytics-db';
node-08: 'contrail-analytics-db';
4. Run OSTF tests
5. Delete node-01 with "controller" role
6. Deploy changes
@@ -407,19 +411,22 @@ Steps
1. Create an environment with "Neutron with tunneling segmentation" as a network configuration
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Add dpdk+compute node
5. Deploy cluster with following node configuration:
3. Add dpdk+compute node
4. Add nodes with following node configuration:
node-1: 'controller';
node-2: 'contrail-config', 'contrail-control', 'contrail-db', 'contrail-analytics';
node-3: 'compute', 'cinder',
6. Enable sriov on interfaces of dpdk+compute node
7. Deploy cluster
8. Run OSTF
node-2: 'compute', 'cinder';
node-3: 'contrail-controller';
node-4: 'contrail-analytics', 'contrail-analytics-db';
5. Enable sriov on interfaces of dpdk+compute node
6. Deploy cluster
7. Run OSTF
8 Run contrail health check tests
9. Add nodes with configurations:
node-4: 'contrail-config', 'contrail-control', 'contrail-db', 'contrail-analytics';
node-5: 'contrail-config', 'contrail-control', 'contrail-db', 'contrail-analytics';
node-6: 'contrail-analytics-db';
node-5: 'contrail-controller';
node-6: 'contrail-controller';
node-7: 'contrail-analytics-db';
node-8: 'contrail-analytics';
node-9: 'contrail-analytics', 'contrail-analytics-db';
10. Deploy changes
11. Run OSTF
12. Run contrail health check tests

View File

@@ -30,21 +30,21 @@ Steps
1. Create an environment
2. Enable and configure Contrail plugin with Vcenter
3. Enable dedicated analytics DB
4. Add 3 controllers, a compute and a storage nodes
5. Add 3 nodes with "contrail-db", "contrail-config",
"contrail-analytics" and "contrail-control" roles on all nodes
3. Add 3 controllers, a compute and a storage nodes
4. Add a node with "contrail-controller" roles
5. Add a node with "contrail-analytics" role
6. Add a node with "contrail-analytics-db" role
7. Add a node with "compute-vmware" role
8. Add a node with "contrail-vmware" role
8. Add 2 nodes with "contrail-vmware" role
9. Deploy cluster
10. Run OSTF tests
11. Delete a Controller node and deploy changes
12. Run OSTF tests
13. Add a node with "Controller" role and deploy changes
14. Run OSTF tests. All steps must be completed successfully,
without any errors.
11. Run contrail health check tests
12. Delete a Controller node and deploy changes
13. Run OSTF tests
14. Run contrail health check tests
16. Add a node with "Controller" role and deploy changes
17. Run OSTF tests.
18. Run contrail health check tests
Expected results
################
@@ -78,18 +78,20 @@ Steps
#####
1. Create an environment
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Add a controller and 3 compute + storage nodes
5. Add a node with "contrail-db", "contarail-config",
"contrail-analytics" and "contrail-control" roles
6. Add a node with "contrail-analytics-db" role
7. Deploy cluster
8. Run OSTF tests
9. Delete a compute node and deploy changes
10. Run OSTF tests
11. Add a node with "compute" role and deploy changes
12. Run OSTF test
2. Enable and configure Contrail plugin with Vcenter
3. Add a controller and 3 compute + storage nodes
4. Add a node with "contrail-analytics" and "contrail-controller" roles
5. Add a node with "contrail-analytics-db" role
6. Add a node with "compute-vmware" role
7. Add 2 nodes with "contrail-vmware" role
8. Deploy cluster
9. Run OSTF tests
10. Run contrail health check tests
11. Delete a compute node and deploy changes
12. Run OSTF tests
13. Add a node with "compute" role and deploy changes
14. Run OSTF test
15. Run contrail health check tests
Expected results
@@ -125,19 +127,15 @@ Steps
1. Create an environment
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Add some controller, compute and storage nodes
5. Add 3 nodes with "contrail-db", "contarail-config"
"contrail-analytics",
and "contrail-control" roles
6. Add a node with "contrail-analytics-db" role
7. Deploy cluster
8. Run OSTF tests
9. Check Controller and Contrail nodes status
10. Shutdown node with 'contrail-db', "contarail-config" and
"contrail-control" roles
11. Run OSTF tests
12. Check Controller and Contrail nodes status
3. Add some controller, compute and storage nodes
4. Add 3 nodes with "contrail-controller" and "contrail-analytics" roles
5. Add a node with "contrail-analytics-db" role
6. Deploy cluster
7. Run OSTF tests
8. Check Controller and Contrail nodes status
9. Shutdown node with "contrail-controller" and "contrail-analytics" roles
10. Run OSTF tests
11. Check Controller and Contrail nodes status
Expected results
@@ -153,7 +151,7 @@ Verify that Contrail control role can be added after deploying
ID
##
contrail_add_control
contrail_add_controller
Description
@@ -174,204 +172,19 @@ Steps
1. Create an environment with "Neutron with tunneling segmentation"
as a network configuration
2. Enable and configure Contrail plugin with Vcenter
3. Enable dedicated analytics DB
4. Add a controller and a compute+cinder nodes
5. Add a node with "contrail-control",
and "contrail-db" roles
6. Add a node with "contrail-config" and "contrail-analytics" roles
5. Add 2 nodes with "contrail-controller" roles
6. Add a node with "contrail-analytics" role
7. Add a node with "contrail-analytics-db" role
8. Add a node with "compute-vmware" role
9. Add a node with "contrail-vmware" role
10. Deploy cluster
11. Run OSTF tests
12. Add one node with "contrail-control" role
13. Deploy changes
14. Run OSTF tests
Expected results
################
All steps must be completed successfully, without any errors.
Verify that Contrail config role can be added after deploying
-------------------------------------------------------------
ID
##
contrail_add_config
Description
###########
Verify that Contrail config role can be added after deploying
Complexity
##########
Core
Steps
#####
1. Create an environment with "Neutron with tunneling segmentation"
as a network configuration
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Add a controller and a compute+cinder nodes
5. Add a node with "contrail-config" and "contrail-db" roles
6. Add a "contrail-control"+"contrail-analytics"
+"contrail-analytics-db" node
7. Add a "contrail-analytics-db" node
8. Deploy cluster
9. Run OSTF tests
10. Add one node with "contrail-config" role
11. Deploy changes
12. Run OSTF tests
Expected results
################
All steps must be completed successfully, without any errors.
Verify that Contrail control role can be deleted after deploying
----------------------------------------------------------------
ID
##
contrail_delete_control
Description
###########
Verify that Contrail control role can be deleted after deploying
Complexity
##########
Core
Steps
#####
1. Create an environment with "Neutron with tunneling segmentation"
as a network configuration
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Add a controller and a compute+cinder nodes
5. Add a node with 'contrail-control'+'contrail-config'
+'contrail-db' roles
6. Add a node with 'contrail-analytics'+'contrail-analytics-db'
roles
7. Add a node with "contrail-control" role
8. Deploy cluster
9. Run OSTF tests
10. Delete one "contrail-control" role
11. Deploy changes
12. Run OSTF tests
Expected results
################
All steps must be completed successfully, without any errors.
Verify that Contrail config role can be deleted after deploying
---------------------------------------------------------------
ID
##
contrail_delete_config
Description
###########
Verify that Contrail config role can be deleted after deploying
Complexity
##########
Core
Steps
#####
1. Create an environment with "Neutron with tunneling segmentation"
as a network configuration
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Add a controller and a compute+cinder nodes
5. Add a node with all compatible contrail roles
6. Add a node with "contrail-config" role
7. Add a node with "contrail-analytics-db" role
8. Deploy cluster
9. Run OSTF tests
10. Delete one "contrail-config" role
11. Deploy changes
12. Run OSTF tests
Expected results
################
All steps must be completed successfully, without any errors.
Verify that Contrail DB role can be added after deploying
---------------------------------------------------------
ID
##
contrail_add_db
Description
###########
Verify that Contrail DB role can be added and deleted after deploying
Complexity
##########
Core
Steps
#####
1. Create an environment with "Neutron with tunneling segmentation"
as a network configuration
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Add a controller and a compute+cinder nodes
5. Add a node with all compatible contrail roles
6. Add a node with 'contrail-analytics-db' role
7. Deploy cluster
8. Add one node with "contrail-db" role
9. Deploy changes
10. Run OSTF tests
12. Run contrail health check tests
13. Add one node with "contrail-controller" role
14. Deploy changes
15. Run OSTF tests
16. Run contrail health check tests
Expected results
@@ -408,14 +221,16 @@ Steps
1. Create an environment with "Neutron with tunneling segmentation" as a network configuration
2. Enable and configure Contrail plugin
3. Add a node with "controller" + "mongo" roles and 3 nodes with "compute" + "ceph-osd" roles
4. Add a node with all contrail roles
4. Add a node with contrail-controller role
5. Add a node with contrail-analytics and contrail-analytics-db
5. Deploy cluster and run OSTF tests
6. Check Controller and Contrail nodes status
6. Run contrail health check tests
7. Add node with "compute" role
8. Deploy changes and run OSTF tests
9. Delete node with "compute" role
10. Deploy changes
11. Run OSTF tests
9. Run contrail health check tests
10. Delete node with "compute" role
11. Deploy cluster and run OSTF tests
12. Run contrail health check tests
Expected results
@@ -458,7 +273,8 @@ Steps
* contrail_external
* contrail_asnum
4. Add nodes:
1 all contrail-specified roles
1 contrail-controller
1 contrail-analytics + contrail-analytics-db
1 controller
1 compute
5. Deploy cluster.
@@ -499,18 +315,19 @@ Steps
1. Create an environment with "Neutron with tunneling segmentation"
as a network configuration
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Add a controller and a compute+cinder nodes
5. Add a node with "contrail-config" and "contrail-control" roles
6. Add a "contrail-db" node
2. Enable and configure Contrail plugin with Vceneter
3. Add a controller and a compute+cinder nodes
4. Add a node with "contrail-controller" role
5. Add a "compute-vmware" node
6. Add a "contrail-vmware" node
7. Add a "contrail-analytics-db"+"contrail-analytics" node
8. Deploy cluster
9. Run OSTF tests
10. Add one node with "contrail-analytics" role
11. Deploy changes
12. Run OSTF tests
10. Run contrail health check tests
11. Add one node with "contrail-analytics" role
12. Deploy changes
13. Run OSTF tests
14. Run contrail health check tests
Expected results
################
@@ -546,63 +363,17 @@ Steps
1. Create an environment with "Neutron with tunneling segmentation"
as a network configuration
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Add a controller and a compute+cinder nodes
5. Add a node with all compatible contrail roles
6. Add a node with 'contrail-analytics-db' roles
7. Add a node with "contrail-analytics" role
8. Deploy cluster
9. Run OSTF tests
3. Add a controller and a compute+cinder nodes
4. Add a node with "contrail-controller" role
5. Add a node with "contrail-analytics" and "contrail-analytics-db" roles
6. Add a node with "contrail-analytics" role
7. Deploy cluster
8. Run OSTF tests
9. Run contrail health check tests
10. Delete one "contrail-analytics" role
11. Deploy changes
12. Run OSTF tests
Expected results
################
All steps must be completed successfully, without any errors.
Verify that node with all Contrail roles can be added after deploying
---------------------------------------------------------------------
ID
##
contrail_add_all_contrail
Description
###########
Verify that after deploying can be added an all contrail roles node
Complexity
##########
Core
Steps
#####
1. Create an environment with "Neutron with tunneling segmentation"
as a network configuration and Ceph-OSD storage
2. Enable and configure Contrail plugin with Vcenter
3. Enable dedicated analytics DB
4. Add 3 nodes with "controller" + "ceph-osd" roles
5. Add 2 nodes with "compute" + "ceph-osd" roles
6. Add a node with 'contrail-control'+'contrail-config'+
'contrail-db' roles
7. Add a node with 'contrail-analytics'+'contrail-analytics-db'
roles
8. Add compute-vmware node
9. Add contrail-vmware node
10. Deploy cluster and run OSTF tests
11. Add a node with all compatible contrail roles
12. Deploy changes and run OSTF tests
13. Run contrail health check tests
Expected results
################
@@ -638,8 +409,8 @@ Steps
1. Create an environment with "Neutron with tunneling segmentation" as a network configuration
2. Enable and configure Contrail plugin without OSTF network provisioning
3. Add some controller, compute and cinder nodes
4. Add a node with "contrail-config" and "contrail-control" roles
5. Add a node with "contrail-db" and "contrail-analytics" roles
4. Add a node with "contrail-controller" role
5. Add a node with "contrail-analytics-db" and "contrail-analytics" roles
6. Deploy cluster
7. Run OSTF tests
8. Check Controller and Contrail nodes status
@@ -678,19 +449,18 @@ Steps
1. Create an environment
2. Enable and configure Contrail plugin
3. Enable dedicated analytics DB
4. Add a node with controller and cinder role
5. Add 2 nodes with compute role
6. Add 3 nodes with contrail-config, contrail-control,
contrail-db and contrail-analytics roles
7. Add a node with contrail-analytics-db role
8. Deploy cluster
9. Run OSTF tests
10. Run contrail health check tests
11. Add 2 nodes contrail-analytics-db role
12. Deploy cluster
13. Run OSTF tests
14. Run contrail health check tests
3. Add a node with controller and cinder role
4. Add 2 nodes with compute role
5. Add 3 nodes with contrail-controller
and contrail-analytics roles
6. Add a node with contrail-analytics-db role
7. Deploy cluster
8. Run OSTF tests
9. Run contrail health check tests
10. Add 2 nodes contrail-analytics-db role
11. Deploy cluster
12. Run OSTF tests
13. Run contrail health check tests
Expected results
@@ -748,7 +518,8 @@ Steps
* Controller
* Compute
* ComputeVMWare
* Contrail-config + contrail-db + contrail-control + contrail-analytics
* Contrail-controller
* Contrail-analytics + contrail-analytics-db
* Contrail-vmware
8. Run OSTF tests
9. Add new ESXI host.
@@ -811,7 +582,8 @@ Steps
* Controller
* Compute
* ComputeVMWare
* Contrail-config + contrail-db + contrail-control + contrail-analytics
* Contrail-controller + contrail-analytics
* Contrail-analytics-db
* Contrail-vmware
* Contrail-vmware
7. Run OSTF tests

View File

@@ -30,10 +30,11 @@ Steps
1. Create environment with "Neutron with tunneling segmentation" as a network configuration.
2. Activate and configure the Contrail plugin.
3. Add a node with contrail-config, contrail-control, contrail-db roles.
3. Add a node with contrail-controller role.
4. Add a node with controller role.
5. Add a node with compute role.
6. Deploy cluster with plugin.
6. Add a node with contrail-analytics + contrail-analytics-db roles
7. Deploy cluster with plugin.
Expected results
@@ -70,17 +71,16 @@ Steps
1. Create an environment with "Neutron with tunneling
segmentation" as a network configuration
2. Enable Contrail plugin
3. Enable dedicated analytics DB
4. Add a node with contrail-config role
5. Add a node with contrail-control role
6. Add 3 nodes with contrail-db role
7. Add a node with contrail-analytics-db role.
8. Add a node with contrail-analytics role
9. Add a node with with controller role
10. Add a node with compute + cinder role
11. Deploy cluster with plugin
12. Run contrail health check tests
13. Run OSTF tests
3. Add a 2 nodes with contrail-controller role
4. Add a 2 nodes with contrail-analytics-db role.
5. Add a node with contrail-analytics + contrail-analytics-db roles
6. Add a node with contrail-analytics + contrail-controller roles
7. Add a node with contrail-analytics role
8. Add a node with with controller role
9. Add a node with compute + cinder roles
10. Deploy cluster with plugin
11. Run contrail health check tests
12. Run OSTF tests
Expected results
################
@@ -132,9 +132,10 @@ Steps
5. Add nodes with following roles:
* Controller
* ComputeVMWare
* Contrail-vmware
* Compute
* Contrail-config + contrail-control + contrail-db + contrail-analytics
* Contrail-controller
* Contrail-analytics + contrail-analytics-db
* Contrail-vmware
6. Configure interfaces on nodes.
7. Configure network settings.
8. Configure VMware vCenter settings on VMware tab.