Browse Source

Adding rst version of TestPlan

Funs Kessen 2 years ago
parent
commit
47f7033619
1 changed files with 320 additions and 0 deletions
  1. 320
    0
      doc/TestPlanForFuelPluginDateraCinder-1.0.0.rst

+ 320
- 0
doc/TestPlanForFuelPluginDateraCinder-1.0.0.rst View File

@@ -0,0 +1,320 @@
1
+Test Plan for Datara-cinder-1.0.0 Fuel Plugin
2
+=============================================
3
+
4
+`Test Plan for Datara-cinder-1.0.0 Fuel Plugin
5
+0 <#__RefHeading___Toc1620_1087484962>`__
6
+
7
+`Revision history 2 <#__RefHeading___Toc1622_1087484962>`__
8
+
9
+`Datera-Cinder Plugin 3 <#datera-cinder-plugin>`__
10
+
11
+`Developer’s specification 3 <#__RefHeading___Toc1626_1087484962>`__
12
+
13
+`Limitations 3 <#__RefHeading___Toc1628_1087484962>`__
14
+
15
+`Test strategy 3 <#__RefHeading___Toc1630_1087484962>`__
16
+
17
+`Acceptance criteria 3 <#__RefHeading___Toc1632_1087484962>`__
18
+
19
+`Test environment, infrastructure and tools
20
+3 <#__RefHeading___Toc1634_1087484962>`__
21
+
22
+`Test Environment Fuel 7.0 3 <#test-environment-fuel-7.0>`__
23
+
24
+`Test Environment Fuel 8.0 4 <#test-environment-fuel-8.0>`__
25
+
26
+`Product compatibility matrix 4 <#__RefHeading___Toc1638_1087484962>`__
27
+
28
+`System testing 4 <#__RefHeading___Toc1640_1087484962>`__
29
+
30
+`1. Install plugin and deploy environment
31
+4 <#install-plugin-and-deploy-environment>`__
32
+
33
+`2. Modifying env with an enabled plugin (removing/adding controller
34
+nodes)
35
+5 <#modifying-env-with-an-enabled-plugin-removingadding-controller-nodes>`__
36
+
37
+`3. Modifying env with an enabled plugin (removing/adding compute node)
38
+6 <#modifying-env-with-an-enabled-plugin-removingadding-compute-node>`__
39
+
40
+`4. Uninstall of the plugin with a deployed environment
41
+7 <#uninstall-of-the-plugin-with-a-deployed-environment>`__
42
+
43
+`5. Uninstall of the plugin 7 <#uninstall-of-the-plugin>`__
44
+
45
+Revision history
46
+================
47
+
48
++---------------+---------------------+--------------------------------------------------------------------------+----------------------------------------------+
49
+| **Version**   | **Revision date**   | **Editor**                                                               | **Comment**                                  |
50
++---------------+---------------------+--------------------------------------------------------------------------+----------------------------------------------+
51
+| 0.1           | 23.01.2015          | Irina Povolotskaya                                                       | Created the template structure.              |
52
+|               |                     |                                                                          |                                              |
53
+|               |                     | (`*ipovolotskaya@mirantis.com* <mailto:ipovolotskaya@mirantis.com>`__)   |                                              |
54
++---------------+---------------------+--------------------------------------------------------------------------+----------------------------------------------+
55
+| 1.0           | 28.03.2016          | Funs Kessen <`*ttk@datera.io* <mailto:ttk@datera.io>`__>                 | Fuel Plugin Datera Cinder 1.0.0 Test plan.   |
56
++---------------+---------------------+--------------------------------------------------------------------------+----------------------------------------------+
57
+
58
+Datera-Cinder Plugin
59
+====================
60
+
61
+The Datera plugin provides a GUI configuration option for Fuel 7.0 and
62
+8.0 to enable configuration of the *cinder.conf* for use with Datera's
63
+Elastic Data Fabric cluster with nodes that receive the Cinder role. The
64
+plugin also provides an updated version of the Datera Cinder driver to
65
+support the v2 API interface, as the v1 API is deprecated.
66
+
67
+Developer’s specification
68
+-------------------------
69
+
70
+The plugin is designed to integrate the use of Datera EDF by Mirantis
71
+Openstack 7.0 and Mirantis Openstack 8.0 by leveraging Fuel 7.0 and Fuel
72
+8.0.
73
+
74
+For more details view the specs/fuel-plugin-datera-cinder.rst
75
+
76
+Limitations
77
+-----------
78
+
79
+Mirantis Fuel 7.0 does not support cinder with multiple backends.
80
+
81
+**Prerequisites**
82
+
83
+A configured and running Datera EDF cluster or training VM, attached to
84
+the appropriate networks.
85
+
86
+Test strategy
87
+=============
88
+
89
+The Datera Fuel plugin should add the correct components to
90
+*cinder.conf* resulting in a functional *cinder.conf.* This means that
91
+all the required options should be exposed in the respective Fuel UI
92
+level for Datera and be transferred into the *cinder.conf*. The Datera
93
+Cinder driver that supports the v2 API should also be deployed.
94
+
95
+All tests will be done for both Fuel 7.0 and 8.0.
96
+
97
+Acceptance criteria
98
+-------------------
99
+
100
+The final result should be a functioning Mirantis Fuel 7.0 and Mirantis
101
+Fuel 8.0 Openstack deployment with Datera EDF enabled and the ability to
102
+consume storage from Datera EDF.
103
+
104
+Test environment, infrastructure and tools
105
+------------------------------------------
106
+
107
+The test environments were run on KVM where 7 VMs were used with 5
108
+network interfaces per VM attached to 5 separate virtual networks.
109
+
110
+The Storage network is placed on one of the NICs in a separate VLAN, 102
111
+with it's own subnet, 192.168.42.0/24.
112
+
113
+Test Environment Fuel 7.0
114
+~~~~~~~~~~~~~~~~~~~~~~~~~
115
+
116
++----------+-------------------------+------------+-----------+------------------+-----------------+
117
+| **VM**   | **Description**         | **vCPU**   | **RAM**   | **HD**           | **OS**          |
118
++----------+-------------------------+------------+-----------+------------------+-----------------+
119
+| 1        | Fuel 7.0 Master         | 2          | 4 GB      | 100 GB           | CentOS 6.5      |
120
++----------+-------------------------+------------+-----------+------------------+-----------------+
121
+| 3        | Openstack Controllers   | 2          | 4 GB      | 80 GB            | Ubuntu          |
122
++----------+-------------------------+------------+-----------+------------------+-----------------+
123
+| 1-2      | Openstack Compute       | 2          | 4 GB      | 80 GB            | Ubuntu          |
124
++----------+-------------------------+------------+-----------+------------------+-----------------+
125
+| 1        | Openstack Ceilometer    | 2          | 4 GB      | 80 GB            | Ubuntu          |
126
++----------+-------------------------+------------+-----------+------------------+-----------------+
127
+| 1        | Datera EDF Sim.         | 2          | 3 GB      | 64 GB + 100 GB   | DaterOS 1.0.1   |
128
++----------+-------------------------+------------+-----------+------------------+-----------------+
129
+
130
+Test Environment Fuel 8.0
131
+~~~~~~~~~~~~~~~~~~~~~~~~~
132
+
133
++----------+------------------------+------------+-----------+------------------+-----------------+
134
+| **VM**   | **Description**        | **vCPU**   | **RAM**   | **HD**           | **OS**          |
135
++----------+------------------------+------------+-----------+------------------+-----------------+
136
+| 1        | Fuel 8.0 Master        | 2          | 4 GB      | 100 GB           | CentOS 7.1      |
137
++----------+------------------------+------------+-----------+------------------+-----------------+
138
+| 3        | Openstack Controller   | 2          | 4 GB      | 80 GB            | Ubuntu          |
139
++----------+------------------------+------------+-----------+------------------+-----------------+
140
+| 1-2      | Openstack Compute      | 2          | 4 GB      | 80 GB            | Ubuntu          |
141
++----------+------------------------+------------+-----------+------------------+-----------------+
142
+| 1        | Openstack Ceilometer   | 2          | 4 GB      | 80 GB            | Ubuntu          |
143
++----------+------------------------+------------+-----------+------------------+-----------------+
144
+| 1        | Datera EDF Sim.        | 2          | 3 GB      | 64 GB + 100 GB   | DaterOS 1.0.1   |
145
++----------+------------------------+------------+-----------+------------------+-----------------+
146
+
147
+Product compatibility matrix
148
+----------------------------
149
+
150
++-------------------------------------+----------------+---------------------+
151
+| Fuel Plugin Datera Cinder version   | Fuel Version   | Openstack Version   |
152
++-------------------------------------+----------------+---------------------+
153
+| 1.0.0                               | 7.0            | Kilo                |
154
++-------------------------------------+----------------+---------------------+
155
+| 1.0.0                               | 8.0            | Liberty             |
156
++-------------------------------------+----------------+---------------------+
157
+
158
+System testing
159
+==============
160
+
161
+**1. Install plugin and deploy environment**
162
+--------------------------------------------
163
+
164
++-------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
165
+| Test Case ID      | install\_plugin\_deploy\_env                                                                                                                                  |
166
++-------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
167
+| Steps             | 1. Upload the plugin to the master node.                                                                                                                      |
168
+|                   |                                                                                                                                                               |
169
+|                   | 2. Install the plugin.                                                                                                                                        |
170
+|                   |                                                                                                                                                               |
171
+|                   | 3. Create an environment with the plugin enabled.                                                                                                             |
172
+|                   |                                                                                                                                                               |
173
+|                   | 4. Add 3 nodes with the Controller and Cinder role, 2 node with Compute role and 1 node with another role.                                                    |
174
+|                   |                                                                                                                                                               |
175
+|                   | 5. Deploy the cluster.                                                                                                                                        |
176
+|                   |                                                                                                                                                               |
177
+|                   | 6. Run OSTF and network verification.                                                                                                                         |
178
+|                   |                                                                                                                                                               |
179
+|                   | 7. Verify Datera API for creation and deletion of Volumes.                                                                                                    |
180
++-------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
181
+| Expected Result   | *Plugin is installed successfully, cluster is created, network verification and OSTF are passed, and all plugin services are enabled and work as expected.*   |
182
++-------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
183
+
184
+**2. Modifying env with an enabled plugin (removing/adding controller nodes)**
185
+------------------------------------------------------------------------------
186
+
187
++-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
188
+| Test Case ID      | modify\_env\_with\_plugin\_remove\_add\_controller                                                                                                                                                                           |
189
++-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
190
+| Steps             | 1.  Upload the plugin to the master node.                                                                                                                                                                                    |
191
+|                   |                                                                                                                                                                                                                              |
192
+|                   | 2.  Install the plugin.                                                                                                                                                                                                      |
193
+|                   |                                                                                                                                                                                                                              |
194
+|                   | 3.  Ensure that the plugin is installed successfully using the CLI.                                                                                                                                                          |
195
+|                   |                                                                                                                                                                                                                              |
196
+|                   | 4.  Create an environment with the plugin enabled.                                                                                                                                                                           |
197
+|                   |                                                                                                                                                                                                                              |
198
+|                   | 5.  Add 3 nodes with the Controller and Cinder role, 2 node with Compute role and 1 node with another role.                                                                                                                  |
199
+|                   |                                                                                                                                                                                                                              |
200
+|                   | 6.  Deploy the cluster.                                                                                                                                                                                                      |
201
+|                   |                                                                                                                                                                                                                              |
202
+|                   | 7.  Run OSTF and network verification.                                                                                                                                                                                       |
203
+|                   |                                                                                                                                                                                                                              |
204
+|                   | 8.  Verify Datera API for creation and deletion of Volumes.                                                                                                                                                                  |
205
+|                   |                                                                                                                                                                                                                              |
206
+|                   | 9.  Remove 1 node with the Controller and Cinder roles.                                                                                                                                                                      |
207
+|                   |                                                                                                                                                                                                                              |
208
+|                   |     /\*Remove a node, where the plugin’s services available, to ensure that according to ha mode all the plugins resources will be replaced and available on another live node and continue to work as expected \*/          |
209
+|                   |                                                                                                                                                                                                                              |
210
+|                   | 10. Deploy changes to Fuel.                                                                                                                                                                                                  |
211
+|                   |                                                                                                                                                                                                                              |
212
+|                   | 11. Run OSTF and network verification.                                                                                                                                                                                       |
213
+|                   |                                                                                                                                                                                                                              |
214
+|                   | 12. Verify Datera API for creation and deletion of Volumes.                                                                                                                                                                  |
215
+|                   |                                                                                                                                                                                                                              |
216
+|                   | 13. Add 1 new node with the Controller and Cinder roles (\*remark).                                                                                                                                                          |
217
+|                   |                                                                                                                                                                                                                              |
218
+|                   | 14. Deploy changes to Fuel.                                                                                                                                                                                                  |
219
+|                   |                                                                                                                                                                                                                              |
220
+|                   | 15. Run OSTF and network verification.                                                                                                                                                                                       |
221
+|                   |                                                                                                                                                                                                                              |
222
+|                   | 16. Verify Datera API for creation and deletion of Volumes.                                                                                                                                                                  |
223
++-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
224
+| Expected Result   | *Plugin is installed successfully, cluster is created, network verification and OSTF are passed, all plugin services are enabled after migration in ha mode and worked as expected after modification of the environment.*   |
225
++-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
226
+| Remark            | Make sure when doing this manually the network settings are in line with the rest of the cluster, as Fuel does not take of this for you!.                                                                                    |
227
++-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
228
+
229
+3. Modifying env with an enabled plugin (removing/adding compute node)
230
+----------------------------------------------------------------------
231
+
232
++-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
233
+| Test Case ID      | modify\_env\_with\_plugin\_remove\_add\_compute                                                                                                                                                                              |
234
++-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
235
+| Steps             | 1.  Upload the plugin to the master node.                                                                                                                                                                                    |
236
+|                   |                                                                                                                                                                                                                              |
237
+|                   | 2.  Install the plugin.                                                                                                                                                                                                      |
238
+|                   |                                                                                                                                                                                                                              |
239
+|                   | 3.  Ensure that the plugin is installed successfully using the CLI.                                                                                                                                                          |
240
+|                   |                                                                                                                                                                                                                              |
241
+|                   | 4.  Create an environment with the plugin enabled.                                                                                                                                                                           |
242
+|                   |                                                                                                                                                                                                                              |
243
+|                   | 5.  Add 3 nodes with the Controller and Cinder role and 2 nodes with Compute role.                                                                                                                                           |
244
+|                   |                                                                                                                                                                                                                              |
245
+|                   | 6.  Deploy the cluster.                                                                                                                                                                                                      |
246
+|                   |                                                                                                                                                                                                                              |
247
+|                   | 7.  Run OSTF and network verification.                                                                                                                                                                                       |
248
+|                   |                                                                                                                                                                                                                              |
249
+|                   | 8.  Verify Datera API for creation and deletion of Volumes.                                                                                                                                                                  |
250
+|                   |                                                                                                                                                                                                                              |
251
+|                   | 9.  Remove 1 Compute node.                                                                                                                                                                                                   |
252
+|                   |                                                                                                                                                                                                                              |
253
+|                   | 10. Deploy the cluster.                                                                                                                                                                                                      |
254
+|                   |                                                                                                                                                                                                                              |
255
+|                   | 11. Run OSTF and network verification.                                                                                                                                                                                       |
256
+|                   |                                                                                                                                                                                                                              |
257
+|                   | 12. Verify Datera API for creation and deletion of Volumes.                                                                                                                                                                  |
258
+|                   |                                                                                                                                                                                                                              |
259
+|                   | 13. Add 1 Compute node.                                                                                                                                                                                                      |
260
+|                   |                                                                                                                                                                                                                              |
261
+|                   | 14. Deploy the cluster.                                                                                                                                                                                                      |
262
+|                   |                                                                                                                                                                                                                              |
263
+|                   | 15. Run OSTF and network verification.                                                                                                                                                                                       |
264
+|                   |                                                                                                                                                                                                                              |
265
+|                   | 16. Verify Datera API for creation and deletion of Volumes.                                                                                                                                                                  |
266
++-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
267
+| Expected Result   | *Plugin is installed successfully, cluster is created, network verification and OSTF are passed, all plugin services are enabled after migration in ha mode and worked as expected after modification of the environment.*   |
268
++-------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
269
+
270
+**4. Uninstall of the plugin with a deployed environment**
271
+----------------------------------------------------------
272
+
273
++-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
274
+| Test Case ID      | uninstall\_plugin\_with\_deployed\_env                                                                                                                                                                               |
275
++-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
276
+| Steps             | 1.  Upload the plugin to the master node.                                                                                                                                                                            |
277
+|                   |                                                                                                                                                                                                                      |
278
+|                   | 2.  Install the plugin.                                                                                                                                                                                              |
279
+|                   |                                                                                                                                                                                                                      |
280
+|                   | 3.  Ensure that the plugin is installed successfully using the CLI.                                                                                                                                                  |
281
+|                   |                                                                                                                                                                                                                      |
282
+|                   | 4.  Create an environment with the plugin enabled.                                                                                                                                                                   |
283
+|                   |                                                                                                                                                                                                                      |
284
+|                   | 5.  Add 3 nodes with the Controller and Cinder role and 2 nodes with Compute role.                                                                                                                                   |
285
+|                   |                                                                                                                                                                                                                      |
286
+|                   | 6.  Deploy the cluster.                                                                                                                                                                                              |
287
+|                   |                                                                                                                                                                                                                      |
288
+|                   | 7.  Run OSTF and network verification.                                                                                                                                                                               |
289
+|                   |                                                                                                                                                                                                                      |
290
+|                   | 8.  Try to delete the plugin and ensure that the following alert is show on the CLI "400 Client Error: Bad Request (Can't delete plugin which is enabled for some environment.)"                                     |
291
+|                   |                                                                                                                                                                                                                      |
292
+|                   | 9.  Remove environment                                                                                                                                                                                               |
293
+|                   |                                                                                                                                                                                                                      |
294
+|                   | 10. Remove plugin                                                                                                                                                                                                    |
295
+|                   |                                                                                                                                                                                                                      |
296
+|                   | 11. Check that it was successfully removed                                                                                                                                                                           |
297
++-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
298
+| Expected Result   | *Plugin was installed successfully. Alert is present when attempting to delete the plugin which is attached to an enabled environment. When the environment was removed the plugin was removed successfully too. *   |
299
++-------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
300
+
301
+**5. Uninstall of the plugin**
302
+------------------------------
303
+
304
++-------------------+----------------------------------------------------------------------+
305
+| Test Case ID      | uninstall\_plugin                                                    |
306
++-------------------+----------------------------------------------------------------------+
307
+| Steps             | 1. Upload the plugin to the master node.                             |
308
+|                   |                                                                      |
309
+|                   | 2. Install the plugin.                                               |
310
+|                   |                                                                      |
311
+|                   | 3. Ensure that the plugin is installed successfully using the CLI.   |
312
+|                   |                                                                      |
313
+|                   | 4. Remove the plugin                                                 |
314
+|                   |                                                                      |
315
+|                   | 5. Check that it was successfully removed                            |
316
++-------------------+----------------------------------------------------------------------+
317
+| Expected Result   | *Plugin was installed and then removed successfully.*                |
318
++-------------------+----------------------------------------------------------------------+
319
+
320
+

Loading…
Cancel
Save