root / docs / snf-burnin.rst @ 78e1f8da
History | View | Annotate | Download (13.1 kB)
1 | 4f7d5233 | Ilias Tsitsimpis | .. _snf-burnin: |
---|---|---|---|
2 | 4f7d5233 | Ilias Tsitsimpis | |
3 | 4f7d5233 | Ilias Tsitsimpis | snf-burnin |
4 | 4f7d5233 | Ilias Tsitsimpis | ^^^^^^^^^^ |
5 | 4f7d5233 | Ilias Tsitsimpis | |
6 | 4f7d5233 | Ilias Tsitsimpis | :ref:`snf-burnin <snf-burnin>` is an integration testing tool for a running |
7 | 7bc95d52 | Ilias Tsitsimpis | Synnefo deployment. Using the Synnefo REST APIs, it simulates a real user and |
8 | 7bc95d52 | Ilias Tsitsimpis | tries to identify any bugs or performance issues by running a series of a tests. |
9 | 7bc95d52 | Ilias Tsitsimpis | The tests are devided into the following categories: |
10 | 4f7d5233 | Ilias Tsitsimpis | |
11 | 7bc95d52 | Ilias Tsitsimpis | * :ref:`Authentication Tests <unauthorizedtestcase>` |
12 | 7bc95d52 | Ilias Tsitsimpis | * :ref:`Image Tests <imagestestcase>` |
13 | 7bc95d52 | Ilias Tsitsimpis | * :ref:`Flavor Tests <flavorstestcase>` |
14 | 7bc95d52 | Ilias Tsitsimpis | * :ref:`Server Tests <serverstestcase>` |
15 | 7bc95d52 | Ilias Tsitsimpis | * :ref:`Network Tests <networktestcase>` |
16 | 7bc95d52 | Ilias Tsitsimpis | * :ref:`Storage Tests <pithostestcase>` |
17 | 4f7d5233 | Ilias Tsitsimpis | |
18 | 4f7d5233 | Ilias Tsitsimpis | |
19 | 4f7d5233 | Ilias Tsitsimpis | Usage |
20 | 4f7d5233 | Ilias Tsitsimpis | ===== |
21 | 4f7d5233 | Ilias Tsitsimpis | |
22 | 7bc95d52 | Ilias Tsitsimpis | :ref:`snf-burnin <snf-burnin>` is a command line tool written in python. It |
23 | 7bc95d52 | Ilias Tsitsimpis | supports a number of command line options though which the user can change the |
24 | 7bc95d52 | Ilias Tsitsimpis | behaviour of the tests. |
25 | 7bc95d52 | Ilias Tsitsimpis | |
26 | 7bc95d52 | Ilias Tsitsimpis | A typical usage of snf-burnin is: |
27 | 4f7d5233 | Ilias Tsitsimpis | |
28 | 4f7d5233 | Ilias Tsitsimpis | :: |
29 | 4f7d5233 | Ilias Tsitsimpis | |
30 | 7bc95d52 | Ilias Tsitsimpis | snf-burnin --token=USERS_SECRET_TOKEN \ |
31 | 6ce03057 | Giorgos Korfiatis | --auth-url="https://accounts.synnefo.org/identity/v2.0" \ |
32 | 7bc95d52 | Ilias Tsitsimpis | --system-images-user=SYSTEM_IMAGES_USER_ID \ |
33 | 980190ae | Constantinos Venetsanopoulos | --image-id=IMAGE_ID \ |
34 | 4f7d5233 | Ilias Tsitsimpis | --log-folder=LOG_FOLDER |
35 | 4f7d5233 | Ilias Tsitsimpis | |
36 | 7bc95d52 | Ilias Tsitsimpis | The above options are the minimal ones (mandatory) that one has to speficy in |
37 | 7bc95d52 | Ilias Tsitsimpis | order for snf-burnin to properly function. The first two are the credentials |
38 | 7bc95d52 | Ilias Tsitsimpis | needed to access Synnefo's REST API and can be found in the user's dashboard. |
39 | 7bc95d52 | Ilias Tsitsimpis | The third is needed by some :ref:`Image Tests <imagestestcase>` as we will see |
40 | 7bc95d52 | Ilias Tsitsimpis | later. The forth tells snf-burnin which image to use for creating our test |
41 | 7bc95d52 | Ilias Tsitsimpis | servers and the last one specifies the log folder where any results should be |
42 | 7bc95d52 | Ilias Tsitsimpis | saves. |
43 | 7bc95d52 | Ilias Tsitsimpis | |
44 | 7bc95d52 | Ilias Tsitsimpis | For more information about snf-burnin and it's command line options, run |
45 | 7bc95d52 | Ilias Tsitsimpis | snf-burnin with help. |
46 | 4f7d5233 | Ilias Tsitsimpis | |
47 | 4f7d5233 | Ilias Tsitsimpis | :: |
48 | 4f7d5233 | Ilias Tsitsimpis | |
49 | 7bc95d52 | Ilias Tsitsimpis | Usage: snf-burnin [options] |
50 | 4f7d5233 | Ilias Tsitsimpis | |
51 | 7bc95d52 | Ilias Tsitsimpis | snf-burnin runs a number of test scenarios on a Synnefo deployment. |
52 | 4f7d5233 | Ilias Tsitsimpis | |
53 | 4f7d5233 | Ilias Tsitsimpis | Options: |
54 | 7bc95d52 | Ilias Tsitsimpis | -h, --help show this help message and exit |
55 | 7bc95d52 | Ilias Tsitsimpis | --auth-url=AUTH_URL The AUTH URI to use to reach the Synnefo API |
56 | 7bc95d52 | Ilias Tsitsimpis | --system-images-user=SYSTEM_IMAGES_USER |
57 | 7bc95d52 | Ilias Tsitsimpis | Owner of system images |
58 | 7bc95d52 | Ilias Tsitsimpis | --token=TOKEN The token to use for authentication to the API |
59 | 7bc95d52 | Ilias Tsitsimpis | --nofailfast Do not fail immediately if one of the tests fails |
60 | 7bc95d52 | Ilias Tsitsimpis | (EXPERIMENTAL) |
61 | 7bc95d52 | Ilias Tsitsimpis | --no-ipv6 Disables ipv6 related tests |
62 | 7bc95d52 | Ilias Tsitsimpis | --action-timeout=TIMEOUT |
63 | 7bc95d52 | Ilias Tsitsimpis | Wait SECONDS seconds for a server action to complete, |
64 | 7bc95d52 | Ilias Tsitsimpis | then the test is considered failed |
65 | 7bc95d52 | Ilias Tsitsimpis | --build-warning=TIMEOUT |
66 | 7bc95d52 | Ilias Tsitsimpis | Warn if TIMEOUT seconds have passed and a build |
67 | 7bc95d52 | Ilias Tsitsimpis | operation is still pending |
68 | 7bc95d52 | Ilias Tsitsimpis | --build-fail=BUILD_TIMEOUT |
69 | 7bc95d52 | Ilias Tsitsimpis | Fail the test if TIMEOUT seconds have passed and a |
70 | 7bc95d52 | Ilias Tsitsimpis | build operation is still incomplete |
71 | 7bc95d52 | Ilias Tsitsimpis | --query-interval=INTERVAL |
72 | 7bc95d52 | Ilias Tsitsimpis | Query server status when requests are pending every |
73 | 7bc95d52 | Ilias Tsitsimpis | INTERVAL seconds |
74 | 7bc95d52 | Ilias Tsitsimpis | --fanout=COUNT Spawn up to COUNT child processes to execute in |
75 | 7bc95d52 | Ilias Tsitsimpis | parallel, essentially have up to COUNT server build |
76 | 7bc95d52 | Ilias Tsitsimpis | requests outstanding (EXPERIMENTAL) |
77 | 7bc95d52 | Ilias Tsitsimpis | --force-flavor=FLAVOR ID |
78 | 7bc95d52 | Ilias Tsitsimpis | Force all server creations to use the specified FLAVOR |
79 | 7bc95d52 | Ilias Tsitsimpis | ID instead of a randomly chosen one, useful if disk |
80 | 7bc95d52 | Ilias Tsitsimpis | space is scarce |
81 | 7bc95d52 | Ilias Tsitsimpis | --image-id=IMAGE ID Test the specified image id, use 'all' to test all |
82 | 7bc95d52 | Ilias Tsitsimpis | available images (mandatory argument) |
83 | 7bc95d52 | Ilias Tsitsimpis | --show-stale Show stale servers from previous runs, whose name |
84 | 7bc95d52 | Ilias Tsitsimpis | starts with `snf-test-' |
85 | 7bc95d52 | Ilias Tsitsimpis | --delete-stale Delete stale servers from previous runs, whose name |
86 | 7bc95d52 | Ilias Tsitsimpis | starts with `snf-test-' |
87 | 7bc95d52 | Ilias Tsitsimpis | --force-personality=PERSONALITY_PATH |
88 | 7bc95d52 | Ilias Tsitsimpis | Force a personality file injection. |
89 | 7bc95d52 | Ilias Tsitsimpis | File path required. |
90 | 7bc95d52 | Ilias Tsitsimpis | --log-folder=LOG_FOLDER |
91 | 7bc95d52 | Ilias Tsitsimpis | Define the absolute path where the output |
92 | 7bc95d52 | Ilias Tsitsimpis | log is stored. |
93 | 7bc95d52 | Ilias Tsitsimpis | -V, --verbose Print detailed output about multiple processes |
94 | 7bc95d52 | Ilias Tsitsimpis | spawning |
95 | 7bc95d52 | Ilias Tsitsimpis | --set-tests=TESTS Set comma seperated tests for this run. |
96 | 7bc95d52 | Ilias Tsitsimpis | Available tests: auth, images, flavors, |
97 | 7bc95d52 | Ilias Tsitsimpis | servers, server_spawn, |
98 | 7bc95d52 | Ilias Tsitsimpis | network_spawn, pithos. |
99 | 7bc95d52 | Ilias Tsitsimpis | Default = all |
100 | 4f7d5233 | Ilias Tsitsimpis | |
101 | 4f7d5233 | Ilias Tsitsimpis | |
102 | 3c595590 | Ilias Tsitsimpis | Log files |
103 | 3c595590 | Ilias Tsitsimpis | ========= |
104 | 3c595590 | Ilias Tsitsimpis | |
105 | 7bc95d52 | Ilias Tsitsimpis | In each run, snf-burnin stores log files under the folder defined in the |
106 | 7bc95d52 | Ilias Tsitsimpis | --log-folder parameter. For every run, it creates a new subfolder using a |
107 | 7bc95d52 | Ilias Tsitsimpis | timestamp and the image-id as unique names. The name prefixes of the log files |
108 | 7bc95d52 | Ilias Tsitsimpis | are: |
109 | 3c595590 | Ilias Tsitsimpis | |
110 | 3c595590 | Ilias Tsitsimpis | * details: Showing the complete log of snf-burnin run. |
111 | 3c595590 | Ilias Tsitsimpis | * error: Showing the testcases that encountered a runtime error. |
112 | 3c595590 | Ilias Tsitsimpis | * failed: Showing the testcases that encountered a failure. |
113 | 3c595590 | Ilias Tsitsimpis | |
114 | 3c595590 | Ilias Tsitsimpis | |
115 | 4f7d5233 | Ilias Tsitsimpis | Detailed description of testcases |
116 | 4f7d5233 | Ilias Tsitsimpis | ================================= |
117 | 4f7d5233 | Ilias Tsitsimpis | |
118 | 7bc95d52 | Ilias Tsitsimpis | Here we have a complete list of all the tests snf-burnin performs, each listed |
119 | 7bc95d52 | Ilias Tsitsimpis | under the category in which it belongs. The user can choose to run some or all |
120 | 7bc95d52 | Ilias Tsitsimpis | of the categories listed below using the "--set-tests" command line flag. |
121 | 7bc95d52 | Ilias Tsitsimpis | |
122 | 7bc95d52 | Ilias Tsitsimpis | |
123 | 4f7d5233 | Ilias Tsitsimpis | .. _unauthorizedtestcase: |
124 | 4f7d5233 | Ilias Tsitsimpis | |
125 | 4f7d5233 | Ilias Tsitsimpis | UnauthorizedTestCase |
126 | 4f7d5233 | Ilias Tsitsimpis | -------------------- |
127 | 7bc95d52 | Ilias Tsitsimpis | * Use a random token and try to authenticate to Astakos service. The expected |
128 | 7bc95d52 | Ilias Tsitsimpis | responce should be "401 Unauthorized". |
129 | 4f7d5233 | Ilias Tsitsimpis | |
130 | 4f7d5233 | Ilias Tsitsimpis | .. _imagestestcase: |
131 | 4f7d5233 | Ilias Tsitsimpis | |
132 | 4f7d5233 | Ilias Tsitsimpis | ImagesTestCase |
133 | 4f7d5233 | Ilias Tsitsimpis | -------------- |
134 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades the list of all registered images and check that its |
135 | 7bc95d52 | Ilias Tsitsimpis | length is greater than 0 (ie test that there are registered images for the |
136 | 7bc95d52 | Ilias Tsitsimpis | users to use). |
137 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades the list of all registered images with details and check |
138 | 7bc95d52 | Ilias Tsitsimpis | that is length is greater than 0. |
139 | 7bc95d52 | Ilias Tsitsimpis | * Test that the two lists retrieved earlier contain exactly the same images. |
140 | 7bc95d52 | Ilias Tsitsimpis | * Using the SYSTEM_IMAGES_USER_ID choose only the images that belong to the |
141 | 7bc95d52 | Ilias Tsitsimpis | system user and check that their names are unique. This test can not be |
142 | 7bc95d52 | Ilias Tsitsimpis | applied for all images as the users can name their images whatever they want. |
143 | 7bc95d52 | Ilias Tsitsimpis | * Again for the images that belong to the system user check that the "osfamily" |
144 | 7bc95d52 | Ilias Tsitsimpis | and the "root_partition" metadata values have been defined. These metadata |
145 | 7bc95d52 | Ilias Tsitsimpis | values are mandatory for an image to be used. |
146 | 7bc95d52 | Ilias Tsitsimpis | * Download from Pithos+ the image specified with the "--image-id" parameter and |
147 | 7bc95d52 | Ilias Tsitsimpis | save it locally. |
148 | 7bc95d52 | Ilias Tsitsimpis | * Create a new container to Pithos+ named "images". |
149 | 7bc95d52 | Ilias Tsitsimpis | * Upload the download image to Pithos+ under the "images" container. |
150 | 7bc95d52 | Ilias Tsitsimpis | * Use Plankton service to register the above image. Set the "osfamily" and |
151 | 7bc95d52 | Ilias Tsitsimpis | "root_partition" metadata values which are mandatory. |
152 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades the list of all registered images and check that our |
153 | 7bc95d52 | Ilias Tsitsimpis | newly registered image is among them. |
154 | 7bc95d52 | Ilias Tsitsimpis | * Delete image from Pithos+ and also the local copy on our disk. |
155 | 4f7d5233 | Ilias Tsitsimpis | |
156 | 4f7d5233 | Ilias Tsitsimpis | .. _flavorstestcase: |
157 | 4f7d5233 | Ilias Tsitsimpis | |
158 | 4f7d5233 | Ilias Tsitsimpis | FlavorsTestCase |
159 | 4f7d5233 | Ilias Tsitsimpis | --------------- |
160 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades the list of all flavors and check that its length is |
161 | 7bc95d52 | Ilias Tsitsimpis | greater than 0 (ie test that there are flavors for the users to use). |
162 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades the list of all flavors with details and check that its |
163 | 7bc95d52 | Ilias Tsitsimpis | length is greater than 0. |
164 | 7bc95d52 | Ilias Tsitsimpis | * Test that the two lists retrived earlier contain exactly the same flavors. |
165 | 7bc95d52 | Ilias Tsitsimpis | * Test that all flavors have unique names. |
166 | 7bc95d52 | Ilias Tsitsimpis | * Test that all flavors have a name of the form CxxRyyDzz where xx is the vCPU |
167 | 7bc95d52 | Ilias Tsitsimpis | count, yy is the RAM in MiB, and zz is the Disk in GiB. |
168 | 4f7d5233 | Ilias Tsitsimpis | |
169 | 4f7d5233 | Ilias Tsitsimpis | .. _serverstestcase: |
170 | 4f7d5233 | Ilias Tsitsimpis | |
171 | 4f7d5233 | Ilias Tsitsimpis | ServersTestCase |
172 | 4f7d5233 | Ilias Tsitsimpis | --------------- |
173 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades the list of all servers with and without details and |
174 | 7bc95d52 | Ilias Tsitsimpis | check that the two lists have the same length. |
175 | 7bc95d52 | Ilias Tsitsimpis | * Test that simple and detailed servers lists have the same names. |
176 | 4f7d5233 | Ilias Tsitsimpis | |
177 | 4f7d5233 | Ilias Tsitsimpis | SpawnServerTestCase |
178 | 4f7d5233 | Ilias Tsitsimpis | ------------------- |
179 | 7bc95d52 | Ilias Tsitsimpis | * Submit a create server request to Cyclades service. Use the IMAGE_ID specified |
180 | 7bc95d52 | Ilias Tsitsimpis | from the command line. If FLAVOR_ID was specified as well use that one, else |
181 | 7bc95d52 | Ilias Tsitsimpis | choose one randomly. The name of the new server will start with "snf-test-" |
182 | 7bc95d52 | Ilias Tsitsimpis | followed by a timestamp so we can know which servers have been created from |
183 | 7bc95d52 | Ilias Tsitsimpis | snf-burnin and when. Also check that the response from Cyclades service |
184 | 7bc95d52 | Ilias Tsitsimpis | contains the correct server_name, server_flavor_id, server_image_id and the |
185 | 7bc95d52 | Ilias Tsitsimpis | status of the server is currenlty "BUILD". Finally from the above response, |
186 | 7bc95d52 | Ilias Tsitsimpis | extract the server's id and password. |
187 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades the list of all servers with details and check that our |
188 | 7bc95d52 | Ilias Tsitsimpis | newly created server has correct server_name, server_flavor_id, |
189 | 7bc95d52 | Ilias Tsitsimpis | server_image_id and the status is "BUILD". |
190 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades the details from the image we used to build our server. |
191 | 7bc95d52 | Ilias Tsitsimpis | Extract the "os" and "users" metadata values. Using the first one update the |
192 | 7bc95d52 | Ilias Tsitsimpis | server's metadata and setup the "os" metadata value to be the same with the |
193 | 7bc95d52 | Ilias Tsitsimpis | one from the image's metadata. Using the second one determine the username to |
194 | 7bc95d52 | Ilias Tsitsimpis | use for future connections to this host. |
195 | 7bc95d52 | Ilias Tsitsimpis | * Retrieve the server's metadata from Cyclades and verify that server's metadata |
196 | 7bc95d52 | Ilias Tsitsimpis | "os" key is set based on image's metadata. |
197 | 7bc95d52 | Ilias Tsitsimpis | * Wait until server changes state to ACTIVE. This is done by querying the |
198 | 7bc95d52 | Ilias Tsitsimpis | service for the server's state every QUERY_INTERVAL period of time until |
199 | 7bc95d52 | Ilias Tsitsimpis | BUILD_TIMEOUT has been reached. Both QUERY_INTERVAL and BUILD_TIMEOUT values |
200 | 7bc95d52 | Ilias Tsitsimpis | can be changed from the command line. |
201 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades service a VNC console to our server. In order to verify |
202 | 7bc95d52 | Ilias Tsitsimpis | that the returned connection is indeed a VNC one, snf-burnin implements the |
203 | 7bc95d52 | Ilias Tsitsimpis | first basic steps of the RFB protocol: |
204 | 7bc95d52 | Ilias Tsitsimpis | * Step 1. Send the ProtocolVersion message (par. 6.1.1) |
205 | 7bc95d52 | Ilias Tsitsimpis | * Step 2. Check that only VNC Authentication is supported (par 6.1.2) |
206 | 7bc95d52 | Ilias Tsitsimpis | * Step 3. Request VNC Authentication (par 6.1.2) |
207 | 7bc95d52 | Ilias Tsitsimpis | * Step 4. Receive Challenge (par 6.2.2) |
208 | 7bc95d52 | Ilias Tsitsimpis | * Step 5. DES-Encrypt challenge, using the password as key (par 6.2.2) |
209 | 7bc95d52 | Ilias Tsitsimpis | * Step 6. Check that the SecurityResult is correct (par 6.1.3) |
210 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades the server's details and check that our server's has |
211 | 7bc95d52 | Ilias Tsitsimpis | been assigned with an IPv4 address. |
212 | 7bc95d52 | Ilias Tsitsimpis | * Check that our server has been assigned with an IPv6 address. This test can be |
213 | 7bc95d52 | Ilias Tsitsimpis | skipped if for some reason the targeted Synnefo deployment doesn't support |
214 | 7bc95d52 | Ilias Tsitsimpis | IPv6. |
215 | 7bc95d52 | Ilias Tsitsimpis | * Test that our server responds to ping requests on IPv4 address. |
216 | 7bc95d52 | Ilias Tsitsimpis | * Test that our server responds to ping requests on IPv6 address. This test can |
217 | 7bc95d52 | Ilias Tsitsimpis | also be skipped. |
218 | 7bc95d52 | Ilias Tsitsimpis | * Submit a shutdown request for our server. |
219 | 7bc95d52 | Ilias Tsitsimpis | * Wait and verify that the status of our server became "STOPPED". |
220 | 7bc95d52 | Ilias Tsitsimpis | * Submit a start request for our server. |
221 | 7bc95d52 | Ilias Tsitsimpis | * Wait and verify that the status of our server became "ACTIVE" again. |
222 | 7bc95d52 | Ilias Tsitsimpis | * Test if server responds to ping on IPv4 address (verify up and running). |
223 | 7bc95d52 | Ilias Tsitsimpis | * Test if server responds to ping on IPv6 address (verify up and running). |
224 | 7bc95d52 | Ilias Tsitsimpis | * If the server is a Linux machine, SSH to it using its IPv4 address and verify |
225 | 7bc95d52 | Ilias Tsitsimpis | that it has a valid hostname. |
226 | 7bc95d52 | Ilias Tsitsimpis | * If the server is a Linux machine, SSH to it using its IPv6 address and verify |
227 | 7bc95d52 | Ilias Tsitsimpis | that it has a valid hostname. |
228 | 7bc95d52 | Ilias Tsitsimpis | * If the server is a Windows machine, try to connect to its RDP port using both |
229 | 7bc95d52 | Ilias Tsitsimpis | its IPv4 and IPv6 addresses. |
230 | 7bc95d52 | Ilias Tsitsimpis | * If during the creation of the server, the user chose a personality file to be |
231 | 7bc95d52 | Ilias Tsitsimpis | used, check that this file is been presented in the server and its contents |
232 | 7bc95d52 | Ilias Tsitsimpis | are correct. |
233 | 7bc95d52 | Ilias Tsitsimpis | * Submit server delete request. |
234 | 7bc95d52 | Ilias Tsitsimpis | * Wait and verify that the status of our server became "DELETED". |
235 | 7bc95d52 | Ilias Tsitsimpis | * Request from Cyclades the list of all servers and verify that our newly |
236 | 7bc95d52 | Ilias Tsitsimpis | deleted server is not in the list. |
237 | 4f7d5233 | Ilias Tsitsimpis | |
238 | 4f7d5233 | Ilias Tsitsimpis | .. _networktestcase: |
239 | 4f7d5233 | Ilias Tsitsimpis | |
240 | 4f7d5233 | Ilias Tsitsimpis | NetworkTestCase |
241 | 4f7d5233 | Ilias Tsitsimpis | --------------- |
242 | 7bc95d52 | Ilias Tsitsimpis | * Submit create server A request. |
243 | 7bc95d52 | Ilias Tsitsimpis | * Wait and verify that the status of our A server became "ACTIVE". |
244 | 7bc95d52 | Ilias Tsitsimpis | * Submit create server B request. |
245 | 7bc95d52 | Ilias Tsitsimpis | * Wait and verify that the status of our B server became "ACTIVE". |
246 | 7bc95d52 | Ilias Tsitsimpis | * Submit create private network request. Wait and verify that the status of the |
247 | 7bc95d52 | Ilias Tsitsimpis | network became "ACTIVE". |
248 | 7bc95d52 | Ilias Tsitsimpis | * Connect the two servers (A and B) into the newly created network. Wait and |
249 | 7bc95d52 | Ilias Tsitsimpis | verify that both machines got an extra nic, hence have been connected to the |
250 | 7bc95d52 | Ilias Tsitsimpis | network. |
251 | 7bc95d52 | Ilias Tsitsimpis | * Reboot server A. |
252 | 7bc95d52 | Ilias Tsitsimpis | * Test if server A responds to ping on IPv4 address (verify up and running) |
253 | 7bc95d52 | Ilias Tsitsimpis | * Reboot server B. |
254 | 7bc95d52 | Ilias Tsitsimpis | * Test if server B responds to ping on IPv4 address (verify up and running) |
255 | 7bc95d52 | Ilias Tsitsimpis | * Connect via SSH and setup the new network interface in server A. |
256 | 7bc95d52 | Ilias Tsitsimpis | * Connect via SSH and setup the new network interface in server B. |
257 | 7bc95d52 | Ilias Tsitsimpis | * Connect via SSH to server A and test if server B responds to ping via their |
258 | 7bc95d52 | Ilias Tsitsimpis | new interface. |
259 | 7bc95d52 | Ilias Tsitsimpis | * Disconnect both servers from network. Check network details and verify that |
260 | 7bc95d52 | Ilias Tsitsimpis | both servers have been successfully disconnected. |
261 | 7bc95d52 | Ilias Tsitsimpis | * Send delete network request. Verify that the network has been actually |
262 | 7bc95d52 | Ilias Tsitsimpis | deleted. |
263 | 7bc95d52 | Ilias Tsitsimpis | * Send request to delete servers and wait until they are actually deleted. |
264 | 4f7d5233 | Ilias Tsitsimpis | |
265 | 4f7d5233 | Ilias Tsitsimpis | .. _pithostestcase: |
266 | 4f7d5233 | Ilias Tsitsimpis | |
267 | 4f7d5233 | Ilias Tsitsimpis | PithosTestCase |
268 | 4f7d5233 | Ilias Tsitsimpis | -------------- |
269 | 7bc95d52 | Ilias Tsitsimpis | * Request from Pithos+ the list of containers and check that its length is |
270 | 7bc95d52 | Ilias Tsitsimpis | greater than 0 (ie test that there are containers). |
271 | 7bc95d52 | Ilias Tsitsimpis | * Test that the containers have unique names. |
272 | 7bc95d52 | Ilias Tsitsimpis | * Create a new container. Choose a random name for our container and then check |
273 | 7bc95d52 | Ilias Tsitsimpis | that it has been successfully created. |
274 | 7bc95d52 | Ilias Tsitsimpis | * Upload a file to Pithos+ under our newly created container. |
275 | 7bc95d52 | Ilias Tsitsimpis | * Download the file from Pithos+ and test it is the same with the one uploaded. |
276 | 7bc95d52 | Ilias Tsitsimpis | * Remove created file and container from Pithos+ and verify that they have been |
277 | 7bc95d52 | Ilias Tsitsimpis | successfully deleted. |
278 | 7bc95d52 | Ilias Tsitsimpis | |
279 | 7bc95d52 | Ilias Tsitsimpis | |
280 | 7bc95d52 | Ilias Tsitsimpis | Burnin as alert tool |
281 | 7bc95d52 | Ilias Tsitsimpis | ======================== |
282 | 7bc95d52 | Ilias Tsitsimpis | |
283 | 7bc95d52 | Ilias Tsitsimpis | Burnin can be used to verify that a Synnefo deployment is working as expected |
284 | 7bc95d52 | Ilias Tsitsimpis | and verify the admins in case of an error. For this there is a script under the |
285 | 7bc95d52 | Ilias Tsitsimpis | /snf-tools/conf directory named **snf-burnin-run.sh** which is intended to be |
286 | 7bc95d52 | Ilias Tsitsimpis | used from cron to periodically run burnin. It runs simultaneous many instances |
287 | 7bc95d52 | Ilias Tsitsimpis | of burnin for a number of different users and report errors though email. |