Merge ~vultaire/bootstack-qa:reorder into bootstack-qa:main
- Git
- lp:~vultaire/bootstack-qa
- reorder
- Merge into main
Proposed by
Paul Goins
Status: | Merged |
---|---|
Merged at revision: | 3d1a6dbebea07b07217893e913a37d7039bef939 |
Proposed branch: | ~vultaire/bootstack-qa:reorder |
Merge into: | bootstack-qa:main |
Prerequisite: | ~vultaire/bootstack-qa:adding-fstab-config |
Diff against target: |
1146 lines (+364/-303) 14 files modified
tests/bundles/bionic-stable.yaml (+66/-66) tests/bundles/focal-stable.yaml (+71/-71) tests/bundles/overlays/bionic-candidate.yaml.j2 (+2/-2) tests/bundles/overlays/bionic-stein-candidate.yaml.j2 (+18/-10) tests/bundles/overlays/bionic-stein-stable.yaml.j2 (+14/-6) tests/bundles/overlays/bionic-train-candidate.yaml.j2 (+18/-10) tests/bundles/overlays/bionic-train-stable.yaml.j2 (+14/-6) tests/bundles/overlays/bionic-ussuri-candidate.yaml.j2 (+18/-11) tests/bundles/overlays/bionic-ussuri-stable.yaml.j2 (+14/-7) tests/bundles/overlays/focal-candidate.yaml.j2 (+4/-5) tests/bundles/overlays/focal-victoria-candidate.yaml.j2 (+37/-29) tests/bundles/overlays/focal-victoria-stable.yaml.j2 (+20/-12) tests/bundles/overlays/xenial-candidate.yaml.j2 (+2/-2) tests/bundles/xenial-stable.yaml (+66/-66) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xav Paice (community) | Approve | ||
Review via email: mp+406000@code.launchpad.net |
Commit message
Re-ordered base bundles and fixed overlays
Base bundle changes:
* Apps associated with explicit machines are listed first, ordered by
machine number, then by app name.
* Apps without an explicit machine association are listed after,
ordered by app name.
Overlay changes:
* Re-ordered:
* Cloud origin overrides first, LMA charm candidate channel overrides
next
* Alphanumeric sort within each group
* Repaired:
* Mismatched names: elasticsearch -> elastic, mongodb -> mongo
* Corrected config options: source -> openstack-origin for some
charms
* Added: overrides for additional charms which pull packages from UCA
(keystone (inconsistently applied), percona-cluster, rabbitmq-server)
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | diff --git a/tests/bundles/bionic-stable.yaml b/tests/bundles/bionic-stable.yaml |
2 | index 62fd240..145c3a6 100644 |
3 | --- a/tests/bundles/bionic-stable.yaml |
4 | +++ b/tests/bundles/bionic-stable.yaml |
5 | @@ -7,6 +7,14 @@ applications: |
6 | monitor-count: 1 |
7 | to: |
8 | - "0" |
9 | + # Skipping placement; placement not compatible with bionic/stein |
10 | + prometheus-openstack-exporter: |
11 | + charm: cs:prometheus-openstack-exporter |
12 | + num_units: 1 |
13 | + options: |
14 | + snap_channel: stable |
15 | + to: |
16 | + - "0" |
17 | ceph-osd: |
18 | charm: cs:ceph-osd |
19 | num_units: 3 |
20 | @@ -23,22 +31,25 @@ applications: |
21 | num_units: 1 |
22 | to: |
23 | - "1" |
24 | - elastic: |
25 | - charm: cs:elasticsearch |
26 | + neutron-api: |
27 | + charm: cs:neutron-api |
28 | num_units: 1 |
29 | + to: |
30 | + - "1" |
31 | options: |
32 | - es-heap-size: 1 |
33 | - filebeat: |
34 | - charm: cs:filebeat |
35 | - fstab-config: |
36 | - charm: cs:fstab-config |
37 | + manage-neutron-plugin-legacy-mode: True |
38 | + flat-network-providers: physnet1 |
39 | + neutron-security-groups: true |
40 | + nova-compute: |
41 | + charm: cs:nova-compute |
42 | num_units: 1 |
43 | - grafana: |
44 | - charm: cs:grafana |
45 | + to: |
46 | + - "2" |
47 | + glance: |
48 | + charm: cs:glance |
49 | num_units: 1 |
50 | - options: |
51 | - install_method: snap |
52 | - snap_channel: 21.04/stable |
53 | + to: |
54 | + - "3" |
55 | graylog: |
56 | charm: cs:graylog |
57 | num_units: 1 |
58 | @@ -46,14 +57,6 @@ applications: |
59 | channel: 2/stable |
60 | to: |
61 | - "4" |
62 | - hw-health: |
63 | - charm: cs:hw-health |
64 | - keystone: |
65 | - charm: cs:keystone |
66 | - num_units: 1 |
67 | - mongo: |
68 | - charm: cs:mongodb |
69 | - num_units: 1 |
70 | mysql: |
71 | charm: cs:percona-cluster |
72 | num_units: 1 |
73 | @@ -66,22 +69,14 @@ applications: |
74 | - "6" |
75 | options: |
76 | enable_livestatus: true |
77 | - thruk-agent: |
78 | - charm: cs:thruk-agent |
79 | - num_units: 0 |
80 | - nrpe: |
81 | - charm: cs:nrpe |
82 | - options: |
83 | - swap: '' |
84 | - nova-cloud-controller: |
85 | - charm: cs:nova-cloud-controller |
86 | - num_units: 1 |
87 | - cinder: |
88 | - charm: cs:cinder |
89 | - num_units: 1 |
90 | - rabbitmq-server: |
91 | - charm: cs:rabbitmq-server |
92 | + openstack-service-checks: |
93 | + charm: cs:openstack-service-checks |
94 | num_units: 1 |
95 | + options: |
96 | + check-neutron-agents: False |
97 | + check-octavia: False |
98 | + to: |
99 | + - "7" |
100 | prometheus: |
101 | charm: cs:prometheus2 |
102 | num_units: 1 |
103 | @@ -97,45 +92,50 @@ applications: |
104 | num_units: 1 |
105 | to: |
106 | - "8" |
107 | - prometheus-openstack-exporter: |
108 | - charm: cs:prometheus-openstack-exporter |
109 | + elastic: |
110 | + charm: cs:elasticsearch |
111 | num_units: 1 |
112 | options: |
113 | - snap_channel: stable |
114 | - to: |
115 | - - "0" |
116 | - openstack-service-checks: |
117 | - charm: cs:openstack-service-checks |
118 | + es-heap-size: 1 |
119 | + filebeat: |
120 | + charm: cs:filebeat |
121 | + fstab-config: |
122 | + charm: cs:fstab-config |
123 | + num_units: 1 |
124 | + grafana: |
125 | + charm: cs:grafana |
126 | num_units: 1 |
127 | options: |
128 | - check-neutron-agents: False |
129 | - check-octavia: False |
130 | - to: |
131 | - - "7" |
132 | + install_method: snap |
133 | + snap_channel: 21.04/stable |
134 | + hw-health: |
135 | + charm: cs:hw-health |
136 | + keystone: |
137 | + charm: cs:keystone |
138 | + num_units: 1 |
139 | + mongo: |
140 | + charm: cs:mongodb |
141 | + num_units: 1 |
142 | + thruk-agent: |
143 | + charm: cs:thruk-agent |
144 | + num_units: 0 |
145 | + nrpe: |
146 | + charm: cs:nrpe |
147 | + options: |
148 | + swap: '' |
149 | + nova-cloud-controller: |
150 | + charm: cs:nova-cloud-controller |
151 | + num_units: 1 |
152 | + cinder: |
153 | + charm: cs:cinder |
154 | + num_units: 1 |
155 | + rabbitmq-server: |
156 | + charm: cs:rabbitmq-server |
157 | + num_units: 1 |
158 | sysconfig: |
159 | charm: cs:sysconfig |
160 | telegraf: |
161 | charm: cs:telegraf-41 |
162 | - nova-compute: |
163 | - charm: cs:nova-compute |
164 | - num_units: 1 |
165 | - to: |
166 | - - "2" |
167 | - glance: |
168 | - charm: cs:glance |
169 | - num_units: 1 |
170 | - to: |
171 | - - "3" |
172 | - neutron-api: |
173 | - charm: cs:neutron-api |
174 | - num_units: 1 |
175 | - to: |
176 | - - "1" |
177 | - options: |
178 | - manage-neutron-plugin-legacy-mode: True |
179 | - flat-network-providers: physnet1 |
180 | - neutron-security-groups: true |
181 | - # Skipping placement; placement not compatible with bionic/stein |
182 | neutron-openvswitch: |
183 | charm: cs:neutron-openvswitch |
184 | num_units: 0 |
185 | diff --git a/tests/bundles/focal-stable.yaml b/tests/bundles/focal-stable.yaml |
186 | index 3839a8f..033ec64 100644 |
187 | --- a/tests/bundles/focal-stable.yaml |
188 | +++ b/tests/bundles/focal-stable.yaml |
189 | @@ -7,6 +7,18 @@ applications: |
190 | monitor-count: 1 |
191 | to: |
192 | - "0" |
193 | + placement: |
194 | + charm: cs:placement |
195 | + num_units: 1 |
196 | + to: |
197 | + - "0" |
198 | + prometheus-openstack-exporter: |
199 | + charm: cs:prometheus-openstack-exporter |
200 | + num_units: 1 |
201 | + options: |
202 | + snap_channel: stable |
203 | + to: |
204 | + - "0" |
205 | ceph-osd: |
206 | charm: cs:ceph-osd |
207 | num_units: 3 |
208 | @@ -23,22 +35,25 @@ applications: |
209 | num_units: 1 |
210 | to: |
211 | - "1" |
212 | - elastic: |
213 | - charm: cs:elasticsearch |
214 | + neutron-api: |
215 | + charm: cs:neutron-api |
216 | num_units: 1 |
217 | + to: |
218 | + - "1" |
219 | options: |
220 | - es-heap-size: 1 |
221 | - filebeat: |
222 | - charm: cs:filebeat |
223 | - fstab-config: |
224 | - charm: cs:fstab-config |
225 | + manage-neutron-plugin-legacy-mode: True |
226 | + flat-network-providers: physnet1 |
227 | + neutron-security-groups: true |
228 | + nova-compute: |
229 | + charm: cs:nova-compute |
230 | num_units: 1 |
231 | - grafana: |
232 | - charm: cs:grafana |
233 | + to: |
234 | + - "2" |
235 | + glance: |
236 | + charm: cs:glance |
237 | num_units: 1 |
238 | - options: |
239 | - install_method: snap |
240 | - snap_channel: 21.04/stable |
241 | + to: |
242 | + - "3" |
243 | graylog: |
244 | charm: cs:graylog |
245 | num_units: 1 |
246 | @@ -46,14 +61,6 @@ applications: |
247 | channel: 2/stable |
248 | to: |
249 | - "4" |
250 | - hw-health: |
251 | - charm: cs:hw-health |
252 | - keystone: |
253 | - charm: cs:keystone |
254 | - num_units: 1 |
255 | - mongo: |
256 | - charm: cs:mongodb |
257 | - num_units: 1 |
258 | mysql: |
259 | charm: cs:percona-cluster |
260 | num_units: 1 |
261 | @@ -68,23 +75,14 @@ applications: |
262 | - "6" |
263 | options: |
264 | enable_livestatus: true |
265 | - thruk-agent: |
266 | - charm: cs:thruk-agent |
267 | - num_units: 0 |
268 | - series: bionic |
269 | - nrpe: |
270 | - charm: cs:nrpe |
271 | - options: |
272 | - swap: '' |
273 | - nova-cloud-controller: |
274 | - charm: cs:nova-cloud-controller |
275 | - num_units: 1 |
276 | - cinder: |
277 | - charm: cs:cinder |
278 | - num_units: 1 |
279 | - rabbitmq-server: |
280 | - charm: cs:rabbitmq-server |
281 | + openstack-service-checks: |
282 | + charm: cs:openstack-service-checks |
283 | num_units: 1 |
284 | + options: |
285 | + check-neutron-agents: False |
286 | + check-octavia: False |
287 | + to: |
288 | + - "7" |
289 | prometheus: |
290 | charm: cs:prometheus2 |
291 | num_units: 1 |
292 | @@ -100,49 +98,51 @@ applications: |
293 | num_units: 1 |
294 | to: |
295 | - "8" |
296 | - prometheus-openstack-exporter: |
297 | - charm: cs:prometheus-openstack-exporter |
298 | + elastic: |
299 | + charm: cs:elasticsearch |
300 | num_units: 1 |
301 | options: |
302 | - snap_channel: stable |
303 | - to: |
304 | - - "0" |
305 | - openstack-service-checks: |
306 | - charm: cs:openstack-service-checks |
307 | + es-heap-size: 1 |
308 | + filebeat: |
309 | + charm: cs:filebeat |
310 | + fstab-config: |
311 | + charm: cs:fstab-config |
312 | num_units: 1 |
313 | - options: |
314 | - check-neutron-agents: False |
315 | - check-octavia: False |
316 | - to: |
317 | - - "7" |
318 | - sysconfig: |
319 | - charm: cs:sysconfig |
320 | - telegraf: |
321 | - charm: cs:telegraf-41 |
322 | - nova-compute: |
323 | - charm: cs:nova-compute |
324 | + grafana: |
325 | + charm: cs:grafana |
326 | num_units: 1 |
327 | - to: |
328 | - - "2" |
329 | - glance: |
330 | - charm: cs:glance |
331 | + options: |
332 | + install_method: snap |
333 | + snap_channel: 21.04/stable |
334 | + hw-health: |
335 | + charm: cs:hw-health |
336 | + keystone: |
337 | + charm: cs:keystone |
338 | num_units: 1 |
339 | - to: |
340 | - - "3" |
341 | - neutron-api: |
342 | - charm: cs:neutron-api |
343 | + mongo: |
344 | + charm: cs:mongodb |
345 | num_units: 1 |
346 | - to: |
347 | - - "1" |
348 | + thruk-agent: |
349 | + charm: cs:thruk-agent |
350 | + num_units: 0 |
351 | + series: bionic |
352 | + nrpe: |
353 | + charm: cs:nrpe |
354 | options: |
355 | - manage-neutron-plugin-legacy-mode: True |
356 | - flat-network-providers: physnet1 |
357 | - neutron-security-groups: true |
358 | - placement: |
359 | - charm: cs:placement |
360 | + swap: '' |
361 | + nova-cloud-controller: |
362 | + charm: cs:nova-cloud-controller |
363 | num_units: 1 |
364 | - to: |
365 | - - "0" |
366 | + cinder: |
367 | + charm: cs:cinder |
368 | + num_units: 1 |
369 | + rabbitmq-server: |
370 | + charm: cs:rabbitmq-server |
371 | + num_units: 1 |
372 | + sysconfig: |
373 | + charm: cs:sysconfig |
374 | + telegraf: |
375 | + charm: cs:telegraf-41 |
376 | neutron-openvswitch: |
377 | charm: cs:neutron-openvswitch |
378 | num_units: 0 |
379 | diff --git a/tests/bundles/overlays/bionic-candidate.yaml.j2 b/tests/bundles/overlays/bionic-candidate.yaml.j2 |
380 | index 1023d1d..34352d9 100644 |
381 | --- a/tests/bundles/overlays/bionic-candidate.yaml.j2 |
382 | +++ b/tests/bundles/overlays/bionic-candidate.yaml.j2 |
383 | @@ -21,6 +21,8 @@ applications: |
384 | channel: candidate |
385 | prometheus-ceph-exporter: |
386 | channel: candidate |
387 | + prometheus-libvirt-exporter: |
388 | + channel: candidate |
389 | prometheus-openstack-exporter: |
390 | channel: candidate |
391 | openstack-service-checks: |
392 | @@ -29,5 +31,3 @@ applications: |
393 | channel: candidate |
394 | telegraf: |
395 | channel: candidate |
396 | - prometheus-libvirt-exporter: |
397 | - channel: candidate |
398 | diff --git a/tests/bundles/overlays/bionic-stein-candidate.yaml.j2 b/tests/bundles/overlays/bionic-stein-candidate.yaml.j2 |
399 | index 0738ab1..4c5cb03 100644 |
400 | --- a/tests/bundles/overlays/bionic-stein-candidate.yaml.j2 |
401 | +++ b/tests/bundles/overlays/bionic-stein-candidate.yaml.j2 |
402 | @@ -5,23 +5,31 @@ applications: |
403 | ceph-osd: |
404 | options: |
405 | source: cloud:bionic-stein |
406 | - nova-cloud-controller: |
407 | - options: |
408 | - openstack-origin: cloud:bionic-stein |
409 | cinder: |
410 | options: |
411 | openstack-origin: cloud:bionic-stein |
412 | - nova-compute: |
413 | + glance: |
414 | options: |
415 | openstack-origin: cloud:bionic-stein |
416 | - glance: |
417 | - num_units: 1 |
418 | + keystone: |
419 | options: |
420 | openstack-origin: cloud:bionic-stein |
421 | + mysql: |
422 | + options: |
423 | + source: cloud:bionic-stein |
424 | neutron-api: |
425 | options: |
426 | openstack-origin: cloud:bionic-stein |
427 | - elasticsearch: |
428 | + nova-cloud-controller: |
429 | + options: |
430 | + openstack-origin: cloud:bionic-stein |
431 | + nova-compute: |
432 | + options: |
433 | + openstack-origin: cloud:bionic-stein |
434 | + rabbitmq-server: |
435 | + options: |
436 | + source: cloud:bionic-stein |
437 | + elastic: |
438 | channel: candidate |
439 | fstab-config: |
440 | channel: candidate |
441 | @@ -31,7 +39,7 @@ applications: |
442 | channel: candidate |
443 | hw-health: |
444 | channel: candidate |
445 | - mongodb: |
446 | + mongo: |
447 | channel: candidate |
448 | nagios: |
449 | channel: candidate |
450 | @@ -43,6 +51,8 @@ applications: |
451 | channel: candidate |
452 | prometheus-ceph-exporter: |
453 | channel: candidate |
454 | + prometheus-libvirt-exporter: |
455 | + channel: candidate |
456 | prometheus-openstack-exporter: |
457 | channel: candidate |
458 | openstack-service-checks: |
459 | @@ -51,5 +61,3 @@ applications: |
460 | channel: candidate |
461 | telegraf: |
462 | channel: candidate |
463 | - prometheus-libvirt-exporter: |
464 | - channel: candidate |
465 | diff --git a/tests/bundles/overlays/bionic-stein-stable.yaml.j2 b/tests/bundles/overlays/bionic-stein-stable.yaml.j2 |
466 | index 565ac24..5d17bbd 100644 |
467 | --- a/tests/bundles/overlays/bionic-stein-stable.yaml.j2 |
468 | +++ b/tests/bundles/overlays/bionic-stein-stable.yaml.j2 |
469 | @@ -5,19 +5,27 @@ applications: |
470 | ceph-osd: |
471 | options: |
472 | source: cloud:bionic-stein |
473 | - nova-cloud-controller: |
474 | - options: |
475 | - openstack-origin: cloud:bionic-stein |
476 | cinder: |
477 | options: |
478 | openstack-origin: cloud:bionic-stein |
479 | - nova-compute: |
480 | + glance: |
481 | options: |
482 | openstack-origin: cloud:bionic-stein |
483 | - glance: |
484 | - num_units: 1 |
485 | + keystone: |
486 | options: |
487 | openstack-origin: cloud:bionic-stein |
488 | + mysql: |
489 | + options: |
490 | + source: cloud:bionic-stein |
491 | neutron-api: |
492 | options: |
493 | openstack-origin: cloud:bionic-stein |
494 | + nova-cloud-controller: |
495 | + options: |
496 | + openstack-origin: cloud:bionic-stein |
497 | + nova-compute: |
498 | + options: |
499 | + openstack-origin: cloud:bionic-stein |
500 | + rabbitmq-server: |
501 | + options: |
502 | + source: cloud:bionic-stein |
503 | diff --git a/tests/bundles/overlays/bionic-train-candidate.yaml.j2 b/tests/bundles/overlays/bionic-train-candidate.yaml.j2 |
504 | index 67f2c9e..df2f9fb 100644 |
505 | --- a/tests/bundles/overlays/bionic-train-candidate.yaml.j2 |
506 | +++ b/tests/bundles/overlays/bionic-train-candidate.yaml.j2 |
507 | @@ -5,22 +5,27 @@ applications: |
508 | ceph-osd: |
509 | options: |
510 | source: cloud:bionic-train |
511 | - nova-cloud-controller: |
512 | - options: |
513 | - openstack-origin: cloud:bionic-train |
514 | cinder: |
515 | options: |
516 | openstack-origin: cloud:bionic-train |
517 | - nova-compute: |
518 | + glance: |
519 | options: |
520 | openstack-origin: cloud:bionic-train |
521 | - glance: |
522 | - num_units: 1 |
523 | + keystone: |
524 | options: |
525 | openstack-origin: cloud:bionic-train |
526 | + mysql: |
527 | + options: |
528 | + source: cloud:bionic-train |
529 | neutron-api: |
530 | options: |
531 | openstack-origin: cloud:bionic-train |
532 | + nova-cloud-controller: |
533 | + options: |
534 | + openstack-origin: cloud:bionic-train |
535 | + nova-compute: |
536 | + options: |
537 | + openstack-origin: cloud:bionic-train |
538 | placement: |
539 | charm: cs:placement |
540 | num_units: 1 |
541 | @@ -28,7 +33,10 @@ applications: |
542 | - "0" |
543 | options: |
544 | openstack-origin: cloud:bionic-train |
545 | - elasticsearch: |
546 | + rabbitmq-server: |
547 | + options: |
548 | + source: cloud:bionic-train |
549 | + elastic: |
550 | channel: candidate |
551 | fstab-config: |
552 | channel: candidate |
553 | @@ -38,7 +46,7 @@ applications: |
554 | channel: candidate |
555 | hw-health: |
556 | channel: candidate |
557 | - mongodb: |
558 | + mongo: |
559 | channel: candidate |
560 | nagios: |
561 | channel: candidate |
562 | @@ -50,6 +58,8 @@ applications: |
563 | channel: candidate |
564 | prometheus-ceph-exporter: |
565 | channel: candidate |
566 | + prometheus-libvirt-exporter: |
567 | + channel: candidate |
568 | prometheus-openstack-exporter: |
569 | channel: candidate |
570 | openstack-service-checks: |
571 | @@ -58,8 +68,6 @@ applications: |
572 | channel: candidate |
573 | telegraf: |
574 | channel: candidate |
575 | - prometheus-libvirt-exporter: |
576 | - channel: candidate |
577 | relations: |
578 | - - placement:shared-db |
579 | - mysql:shared-db |
580 | diff --git a/tests/bundles/overlays/bionic-train-stable.yaml.j2 b/tests/bundles/overlays/bionic-train-stable.yaml.j2 |
581 | index 98835d1..134af99 100644 |
582 | --- a/tests/bundles/overlays/bionic-train-stable.yaml.j2 |
583 | +++ b/tests/bundles/overlays/bionic-train-stable.yaml.j2 |
584 | @@ -5,22 +5,27 @@ applications: |
585 | ceph-osd: |
586 | options: |
587 | source: cloud:bionic-train |
588 | - nova-cloud-controller: |
589 | - options: |
590 | - openstack-origin: cloud:bionic-train |
591 | cinder: |
592 | options: |
593 | openstack-origin: cloud:bionic-train |
594 | - nova-compute: |
595 | + glance: |
596 | options: |
597 | openstack-origin: cloud:bionic-train |
598 | - glance: |
599 | - num_units: 1 |
600 | + keystone: |
601 | options: |
602 | openstack-origin: cloud:bionic-train |
603 | + mysql: |
604 | + options: |
605 | + source: cloud:bionic-train |
606 | neutron-api: |
607 | options: |
608 | openstack-origin: cloud:bionic-train |
609 | + nova-cloud-controller: |
610 | + options: |
611 | + openstack-origin: cloud:bionic-train |
612 | + nova-compute: |
613 | + options: |
614 | + openstack-origin: cloud:bionic-train |
615 | placement: |
616 | charm: cs:placement |
617 | num_units: 1 |
618 | @@ -28,6 +33,9 @@ applications: |
619 | - "0" |
620 | options: |
621 | openstack-origin: cloud:bionic-train |
622 | + rabbitmq-server: |
623 | + options: |
624 | + source: cloud:bionic-train |
625 | relations: |
626 | - - placement:shared-db |
627 | - mysql:shared-db |
628 | diff --git a/tests/bundles/overlays/bionic-ussuri-candidate.yaml.j2 b/tests/bundles/overlays/bionic-ussuri-candidate.yaml.j2 |
629 | index 8b25bad..6a5dd12 100644 |
630 | --- a/tests/bundles/overlays/bionic-ussuri-candidate.yaml.j2 |
631 | +++ b/tests/bundles/overlays/bionic-ussuri-candidate.yaml.j2 |
632 | @@ -1,4 +1,3 @@ |
633 | -series: bionic |
634 | applications: |
635 | ceph-mon: |
636 | options: |
637 | @@ -6,22 +5,27 @@ applications: |
638 | ceph-osd: |
639 | options: |
640 | source: cloud:bionic-ussuri |
641 | - nova-cloud-controller: |
642 | - options: |
643 | - openstack-origin: cloud:bionic-ussuri |
644 | cinder: |
645 | options: |
646 | openstack-origin: cloud:bionic-ussuri |
647 | - nova-compute: |
648 | + glance: |
649 | options: |
650 | openstack-origin: cloud:bionic-ussuri |
651 | - glance: |
652 | - num_units: 1 |
653 | + keystone: |
654 | options: |
655 | openstack-origin: cloud:bionic-ussuri |
656 | + mysql: |
657 | + options: |
658 | + source: cloud:bionic-ussuri |
659 | neutron-api: |
660 | options: |
661 | openstack-origin: cloud:bionic-ussuri |
662 | + nova-cloud-controller: |
663 | + options: |
664 | + openstack-origin: cloud:bionic-ussuri |
665 | + nova-compute: |
666 | + options: |
667 | + openstack-origin: cloud:bionic-ussuri |
668 | placement: |
669 | charm: cs:placement |
670 | num_units: 1 |
671 | @@ -29,7 +33,10 @@ applications: |
672 | - "0" |
673 | options: |
674 | openstack-origin: cloud:bionic-ussuri |
675 | - elasticsearch: |
676 | + rabbitmq-server: |
677 | + options: |
678 | + source: cloud:bionic-ussuri |
679 | + elastic: |
680 | channel: candidate |
681 | fstab-config: |
682 | channel: candidate |
683 | @@ -39,7 +46,7 @@ applications: |
684 | channel: candidate |
685 | hw-health: |
686 | channel: candidate |
687 | - mongodb: |
688 | + mongo: |
689 | channel: candidate |
690 | nagios: |
691 | channel: candidate |
692 | @@ -51,6 +58,8 @@ applications: |
693 | channel: candidate |
694 | prometheus-ceph-exporter: |
695 | channel: candidate |
696 | + prometheus-libvirt-exporter: |
697 | + channel: candidate |
698 | prometheus-openstack-exporter: |
699 | channel: candidate |
700 | openstack-service-checks: |
701 | @@ -59,8 +68,6 @@ applications: |
702 | channel: candidate |
703 | telegraf: |
704 | channel: candidate |
705 | - prometheus-libvirt-exporter: |
706 | - channel: candidate |
707 | relations: |
708 | - - placement:shared-db |
709 | - mysql:shared-db |
710 | diff --git a/tests/bundles/overlays/bionic-ussuri-stable.yaml.j2 b/tests/bundles/overlays/bionic-ussuri-stable.yaml.j2 |
711 | index 82263f9..fa26dd2 100644 |
712 | --- a/tests/bundles/overlays/bionic-ussuri-stable.yaml.j2 |
713 | +++ b/tests/bundles/overlays/bionic-ussuri-stable.yaml.j2 |
714 | @@ -1,4 +1,3 @@ |
715 | -series: bionic |
716 | applications: |
717 | ceph-mon: |
718 | options: |
719 | @@ -6,22 +5,27 @@ applications: |
720 | ceph-osd: |
721 | options: |
722 | source: cloud:bionic-ussuri |
723 | - nova-cloud-controller: |
724 | - options: |
725 | - openstack-origin: cloud:bionic-ussuri |
726 | cinder: |
727 | options: |
728 | openstack-origin: cloud:bionic-ussuri |
729 | - nova-compute: |
730 | + glance: |
731 | options: |
732 | openstack-origin: cloud:bionic-ussuri |
733 | - glance: |
734 | - num_units: 1 |
735 | + keystone: |
736 | options: |
737 | openstack-origin: cloud:bionic-ussuri |
738 | + mysql: |
739 | + options: |
740 | + source: cloud:bionic-ussuri |
741 | neutron-api: |
742 | options: |
743 | openstack-origin: cloud:bionic-ussuri |
744 | + nova-cloud-controller: |
745 | + options: |
746 | + openstack-origin: cloud:bionic-ussuri |
747 | + nova-compute: |
748 | + options: |
749 | + openstack-origin: cloud:bionic-ussuri |
750 | placement: |
751 | charm: cs:placement |
752 | num_units: 1 |
753 | @@ -29,6 +33,9 @@ applications: |
754 | - "0" |
755 | options: |
756 | openstack-origin: cloud:bionic-ussuri |
757 | + rabbitmq-server: |
758 | + options: |
759 | + source: cloud:bionic-ussuri |
760 | relations: |
761 | - - placement:shared-db |
762 | - mysql:shared-db |
763 | diff --git a/tests/bundles/overlays/focal-candidate.yaml.j2 b/tests/bundles/overlays/focal-candidate.yaml.j2 |
764 | index 877e785..34352d9 100644 |
765 | --- a/tests/bundles/overlays/focal-candidate.yaml.j2 |
766 | +++ b/tests/bundles/overlays/focal-candidate.yaml.j2 |
767 | @@ -1,6 +1,5 @@ |
768 | -series: focal |
769 | applications: |
770 | - elasticsearch: |
771 | + elastic: |
772 | channel: candidate |
773 | fstab-config: |
774 | channel: candidate |
775 | @@ -10,7 +9,7 @@ applications: |
776 | channel: candidate |
777 | hw-health: |
778 | channel: candidate |
779 | - mongodb: |
780 | + mongo: |
781 | channel: candidate |
782 | nagios: |
783 | channel: candidate |
784 | @@ -22,6 +21,8 @@ applications: |
785 | channel: candidate |
786 | prometheus-ceph-exporter: |
787 | channel: candidate |
788 | + prometheus-libvirt-exporter: |
789 | + channel: candidate |
790 | prometheus-openstack-exporter: |
791 | channel: candidate |
792 | openstack-service-checks: |
793 | @@ -30,5 +31,3 @@ applications: |
794 | channel: candidate |
795 | telegraf: |
796 | channel: candidate |
797 | - prometheus-libvirt-exporter: |
798 | - channel: candidate |
799 | diff --git a/tests/bundles/overlays/focal-victoria-candidate.yaml.j2 b/tests/bundles/overlays/focal-victoria-candidate.yaml.j2 |
800 | index ed92c16..1f3ef85 100644 |
801 | --- a/tests/bundles/overlays/focal-victoria-candidate.yaml.j2 |
802 | +++ b/tests/bundles/overlays/focal-victoria-candidate.yaml.j2 |
803 | @@ -1,6 +1,38 @@ |
804 | -series: focal |
805 | applications: |
806 | - elasticsearch: |
807 | + ceph-mon: |
808 | + options: |
809 | + source: cloud:focal-victoria |
810 | + ceph-osd: |
811 | + options: |
812 | + source: cloud:focal-victoria |
813 | + cinder: |
814 | + options: |
815 | + openstack-origin: cloud:focal-victoria |
816 | + glance: |
817 | + options: |
818 | + openstack-origin: cloud:focal-victoria |
819 | + keystone: |
820 | + options: |
821 | + openstack-origin: cloud:focal-victoria |
822 | + mysql: |
823 | + options: |
824 | + source: cloud:focal-victoria |
825 | + neutron-api: |
826 | + options: |
827 | + openstack-origin: cloud:focal-victoria |
828 | + nova-cloud-controller: |
829 | + options: |
830 | + openstack-origin: cloud:focal-victoria |
831 | + nova-compute: |
832 | + options: |
833 | + openstack-origin: cloud:focal-victoria |
834 | + placement: |
835 | + options: |
836 | + openstack-origin: cloud:focal-victoria |
837 | + rabbitmq-server: |
838 | + options: |
839 | + source: cloud:focal-victoria |
840 | + elastic: |
841 | channel: candidate |
842 | fstab-config: |
843 | channel: candidate |
844 | @@ -10,7 +42,7 @@ applications: |
845 | channel: candidate |
846 | hw-health: |
847 | channel: candidate |
848 | - mongodb: |
849 | + mongo: |
850 | channel: candidate |
851 | nagios: |
852 | channel: candidate |
853 | @@ -22,6 +54,8 @@ applications: |
854 | channel: candidate |
855 | prometheus-ceph-exporter: |
856 | channel: candidate |
857 | + prometheus-libvirt-exporter: |
858 | + channel: candidate |
859 | prometheus-openstack-exporter: |
860 | channel: candidate |
861 | openstack-service-checks: |
862 | @@ -30,29 +64,3 @@ applications: |
863 | channel: candidate |
864 | telegraf: |
865 | channel: candidate |
866 | - prometheus-libvirt-exporter: |
867 | - channel: candidate |
868 | - ceph-osd: |
869 | - options: |
870 | - source: cloud:focal-victoria |
871 | - ceph-mon: |
872 | - options: |
873 | - source: cloud:focal-victoria |
874 | - nova-cloud-controller: |
875 | - options: |
876 | - source: cloud:focal-victoria |
877 | - nova-compute: |
878 | - options: |
879 | - source: cloud:focal-victoria |
880 | - keystone: |
881 | - options: |
882 | - source: cloud:focal-victoria |
883 | - cinder: |
884 | - options: |
885 | - source: cloud:focal-victoria |
886 | - glance: |
887 | - options: |
888 | - source: cloud:focal-victoria |
889 | - neutron-api: |
890 | - options: |
891 | - source: cloud:focal-victoria |
892 | diff --git a/tests/bundles/overlays/focal-victoria-stable.yaml.j2 b/tests/bundles/overlays/focal-victoria-stable.yaml.j2 |
893 | index c7eff69..9358d10 100644 |
894 | --- a/tests/bundles/overlays/focal-victoria-stable.yaml.j2 |
895 | +++ b/tests/bundles/overlays/focal-victoria-stable.yaml.j2 |
896 | @@ -1,26 +1,34 @@ |
897 | -series: focal |
898 | applications: |
899 | - ceph-osd: |
900 | - options: |
901 | - source: cloud:focal-victoria |
902 | ceph-mon: |
903 | options: |
904 | source: cloud:focal-victoria |
905 | - nova-cloud-controller: |
906 | - options: |
907 | - source: cloud:focal-victoria |
908 | - nova-compute: |
909 | - options: |
910 | - source: cloud:focal-victoria |
911 | - keystone: |
912 | + ceph-osd: |
913 | options: |
914 | source: cloud:focal-victoria |
915 | cinder: |
916 | options: |
917 | - source: cloud:focal-victoria |
918 | + openstack-origin: cloud:focal-victoria |
919 | glance: |
920 | options: |
921 | + openstack-origin: cloud:focal-victoria |
922 | + keystone: |
923 | + options: |
924 | + openstack-origin: cloud:focal-victoria |
925 | + mysql: |
926 | + options: |
927 | source: cloud:focal-victoria |
928 | neutron-api: |
929 | options: |
930 | + openstack-origin: cloud:focal-victoria |
931 | + nova-cloud-controller: |
932 | + options: |
933 | + openstack-origin: cloud:focal-victoria |
934 | + nova-compute: |
935 | + options: |
936 | + openstack-origin: cloud:focal-victoria |
937 | + placement: |
938 | + options: |
939 | + openstack-origin: cloud:focal-victoria |
940 | + rabbitmq-server: |
941 | + options: |
942 | source: cloud:focal-victoria |
943 | diff --git a/tests/bundles/overlays/xenial-candidate.yaml.j2 b/tests/bundles/overlays/xenial-candidate.yaml.j2 |
944 | index 7a9bcc9..8b7fbc5 100644 |
945 | --- a/tests/bundles/overlays/xenial-candidate.yaml.j2 |
946 | +++ b/tests/bundles/overlays/xenial-candidate.yaml.j2 |
947 | @@ -21,11 +21,11 @@ applications: |
948 | channel: candidate |
949 | prometheus-ceph-exporter: |
950 | channel: candidate |
951 | + prometheus-libvirt-exporter: |
952 | + channel: candidate |
953 | prometheus-openstack-exporter: |
954 | channel: candidate |
955 | sysconfig: |
956 | channel: candidate |
957 | telegraf: |
958 | channel: candidate |
959 | - prometheus-libvirt-exporter: |
960 | - channel: candidate |
961 | diff --git a/tests/bundles/xenial-stable.yaml b/tests/bundles/xenial-stable.yaml |
962 | index f703a24..2cde984 100644 |
963 | --- a/tests/bundles/xenial-stable.yaml |
964 | +++ b/tests/bundles/xenial-stable.yaml |
965 | @@ -8,6 +8,14 @@ applications: |
966 | source: cloud:xenial-queens |
967 | to: |
968 | - "0" |
969 | + # Skipping placement; placement not compatible with xenial/queens |
970 | + prometheus-openstack-exporter: |
971 | + charm: cs:prometheus-openstack-exporter |
972 | + num_units: 1 |
973 | + options: |
974 | + snap_channel: stable |
975 | + to: |
976 | + - "0" |
977 | ceph-osd: |
978 | charm: cs:ceph-osd |
979 | num_units: 3 |
980 | @@ -25,22 +33,30 @@ applications: |
981 | num_units: 1 |
982 | to: |
983 | - "1" |
984 | - elastic: |
985 | - charm: cs:elasticsearch |
986 | + neutron-api: |
987 | + charm: cs:neutron-api |
988 | num_units: 1 |
989 | + to: |
990 | + - "1" |
991 | options: |
992 | - es-heap-size: 1 |
993 | - filebeat: |
994 | - charm: cs:filebeat |
995 | - fstab-config: |
996 | - charm: cs:fstab-config |
997 | + openstack-origin: cloud:xenial-queens |
998 | + manage-neutron-plugin-legacy-mode: True |
999 | + flat-network-providers: physnet1 |
1000 | + neutron-security-groups: true |
1001 | + nova-compute: |
1002 | + charm: cs:nova-compute |
1003 | + options: |
1004 | + openstack-origin: cloud:xenial-queens |
1005 | num_units: 1 |
1006 | - grafana: |
1007 | - charm: cs:grafana |
1008 | + to: |
1009 | + - "2" |
1010 | + glance: |
1011 | + charm: cs:glance |
1012 | num_units: 1 |
1013 | options: |
1014 | - install_method: snap |
1015 | - snap_channel: 21.04/stable |
1016 | + openstack-origin: cloud:xenial-queens |
1017 | + to: |
1018 | + - "3" |
1019 | graylog: |
1020 | charm: cs:graylog |
1021 | num_units: 1 |
1022 | @@ -48,14 +64,6 @@ applications: |
1023 | channel: 2/stable |
1024 | to: |
1025 | - "4" |
1026 | - hw-health: |
1027 | - charm: cs:hw-health |
1028 | - keystone: |
1029 | - charm: cs:keystone |
1030 | - num_units: 1 |
1031 | - mongo: |
1032 | - charm: cs:mongodb |
1033 | - num_units: 1 |
1034 | mysql: |
1035 | charm: cs:percona-cluster |
1036 | num_units: 1 |
1037 | @@ -68,26 +76,7 @@ applications: |
1038 | - "6" |
1039 | options: |
1040 | enable_livestatus: true |
1041 | - thruk-agent: |
1042 | - charm: cs:thruk-agent |
1043 | - num_units: 0 |
1044 | - nrpe: |
1045 | - charm: cs:nrpe |
1046 | - options: |
1047 | - swap: '' |
1048 | - nova-cloud-controller: |
1049 | - charm: cs:nova-cloud-controller |
1050 | - num_units: 1 |
1051 | - options: |
1052 | - openstack-origin: cloud:xenial-queens |
1053 | - cinder: |
1054 | - charm: cs:cinder |
1055 | - num_units: 1 |
1056 | - options: |
1057 | - openstack-origin: cloud:xenial-queens |
1058 | - rabbitmq-server: |
1059 | - charm: cs:rabbitmq-server |
1060 | - num_units: 1 |
1061 | + # Skipping openstack-service-checks; not available on xenial |
1062 | prometheus: |
1063 | charm: cs:prometheus2 |
1064 | num_units: 1 |
1065 | @@ -103,43 +92,54 @@ applications: |
1066 | num_units: 1 |
1067 | to: |
1068 | - "8" |
1069 | - prometheus-openstack-exporter: |
1070 | - charm: cs:prometheus-openstack-exporter |
1071 | + elastic: |
1072 | + charm: cs:elasticsearch |
1073 | num_units: 1 |
1074 | options: |
1075 | - snap_channel: stable |
1076 | - to: |
1077 | - - "0" |
1078 | - # Skipping openstack-service-checks; not available on xenial |
1079 | - sysconfig: |
1080 | - charm: cs:sysconfig |
1081 | - telegraf: |
1082 | - charm: cs:telegraf-41 |
1083 | - nova-compute: |
1084 | - charm: cs:nova-compute |
1085 | + es-heap-size: 1 |
1086 | + filebeat: |
1087 | + charm: cs:filebeat |
1088 | + fstab-config: |
1089 | + charm: cs:fstab-config |
1090 | + num_units: 1 |
1091 | + grafana: |
1092 | + charm: cs:grafana |
1093 | + num_units: 1 |
1094 | options: |
1095 | - openstack-origin: cloud:xenial-queens |
1096 | + install_method: snap |
1097 | + snap_channel: 21.04/stable |
1098 | + hw-health: |
1099 | + charm: cs:hw-health |
1100 | + keystone: |
1101 | + charm: cs:keystone |
1102 | num_units: 1 |
1103 | - to: |
1104 | - - "2" |
1105 | - glance: |
1106 | - charm: cs:glance |
1107 | + mongo: |
1108 | + charm: cs:mongodb |
1109 | + num_units: 1 |
1110 | + thruk-agent: |
1111 | + charm: cs:thruk-agent |
1112 | + num_units: 0 |
1113 | + nrpe: |
1114 | + charm: cs:nrpe |
1115 | + options: |
1116 | + swap: '' |
1117 | + nova-cloud-controller: |
1118 | + charm: cs:nova-cloud-controller |
1119 | num_units: 1 |
1120 | options: |
1121 | openstack-origin: cloud:xenial-queens |
1122 | - to: |
1123 | - - "3" |
1124 | - neutron-api: |
1125 | - charm: cs:neutron-api |
1126 | + cinder: |
1127 | + charm: cs:cinder |
1128 | num_units: 1 |
1129 | - to: |
1130 | - - "1" |
1131 | options: |
1132 | openstack-origin: cloud:xenial-queens |
1133 | - manage-neutron-plugin-legacy-mode: True |
1134 | - flat-network-providers: physnet1 |
1135 | - neutron-security-groups: true |
1136 | - # Skipping placement; placement not compatible with xenial/queens |
1137 | + rabbitmq-server: |
1138 | + charm: cs:rabbitmq-server |
1139 | + num_units: 1 |
1140 | + sysconfig: |
1141 | + charm: cs:sysconfig |
1142 | + telegraf: |
1143 | + charm: cs:telegraf-41 |
1144 | neutron-openvswitch: |
1145 | charm: cs:neutron-openvswitch |
1146 | num_units: 0 |
LGTM