File tree Expand file tree Collapse file tree 5 files changed +25
-4
lines changed Expand file tree Collapse file tree 5 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 22
22
vm_image :
23
23
description : Image for the all-in-one VM
24
24
type : string
25
- default : CentOS-stream8
25
+ default : bb8c0a34-533f-42fb-a49b-3461e677f3f6
26
26
vm_interface :
27
27
description : Default network interface name
28
28
type : string
Original file line number Diff line number Diff line change @@ -291,6 +291,16 @@ kolla_build_blocks:
291
291
RUN sed -i 's/"pc-q35-rhel8.5.0"/"pc-q35-*"/' /usr/share/qemu/firmware/50-edk2-ovmf-cc.json
292
292
{% endif %}
293
293
{% endraw %}
294
+ neutron_server_footer : |
295
+ # This is a workaround for a bug in etcd3gw that was fixed in 1.0.1, but not in v0.2.3.
296
+ # https://opendev.org/openstack/etcd3gw/commit/ed899b34e464862525f76fff2377a2cceeb65af7
297
+ {% raw %}
298
+ {% if base_distro == 'centos' %}
299
+ RUN sed -i 's/decode_unicode=True/decode_unicode=False/' /var/lib/kolla/venv/lib/python3.6/site-packages/etcd3gw/watch.py
300
+ {% elif base_distro == 'ubuntu' %}
301
+ RUN sed -i 's/decode_unicode=True/decode_unicode=False/' /var/lib/kolla/venv/lib/python3.8/site-packages/etcd3gw/watch.py
302
+ {% endif %}
303
+ {% endraw %}
294
304
295
305
# Dict mapping image customization variable names to their values.
296
306
# Each variable takes the form:
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ blazar_tag: xena-20230315T122920
13
13
caso_tag : xena-20230315T122920
14
14
ironic_tag : xena-20230316T162305
15
15
ironic_dnsmasq_tag : xena-20230214T150257
16
- neutron_tag : xena-20230307T142413
16
+ neutron_tag : xena-20230320T143013
17
17
prometheus_node_exporter_tag : xena-20230310T170439
18
18
{% else %}
19
19
bifrost_tag : xena-20230215T195824
@@ -22,7 +22,7 @@ caso_tag: xena-20230315T122918
22
22
ironic_tag : xena-20230317T090705
23
23
ironic_dnsmasq_tag : xena-20230215T164524
24
24
keystone_tag : xena-20230308T120251
25
- neutron_tag : xena-20230307T142414
25
+ neutron_tag : xena-20230320T143007
26
26
prometheus_node_exporter_tag : xena-20230315T164024
27
27
{% endif %}
28
28
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ The etcdgw library in the neutron-server container has been patched to
5
+ workaround a python3 incompatability. This affects the batching feature in
6
+ networking generic switch.
Original file line number Diff line number Diff line change @@ -33,9 +33,14 @@ variable "aio_vm_subnet" {
33
33
type = string
34
34
}
35
35
36
+ locals {
37
+ image_is_uuid = length (regexall (" ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" , var. aio_vm_image )) > 0
38
+ }
39
+
36
40
data "openstack_images_image_v2" "image" {
37
41
name = var. aio_vm_image
38
42
most_recent = true
43
+ count = local. image_is_uuid ? 0 : 1
39
44
}
40
45
41
46
data "openstack_networking_subnet_v2" "network" {
@@ -52,7 +57,7 @@ resource "openstack_compute_instance_v2" "kayobe-aio" {
52
57
}
53
58
54
59
block_device {
55
- uuid = data. openstack_images_image_v2 . image . id
60
+ uuid = local . image_is_uuid ? var . aio_vm_image : data. openstack_images_image_v2 . image [ 0 ] . id
56
61
source_type = " image"
57
62
volume_size = 100
58
63
boot_index = 0
You can’t perform that action at this time.
0 commit comments