Skip to content

Commit d2753a1

Browse files
authored
Merge pull request #201 from stackhpc/sync-upstream-wallaby
Sync upstream wallaby
2 parents 2a167e4 + fe636d3 commit d2753a1

34 files changed

+257
-29
lines changed

ansible/roles/cinder/defaults/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,15 @@ cinder_logging_debug: "{{ openstack_logging_debug }}"
201201

202202
openstack_cinder_auth: "{{ openstack_auth }}"
203203

204+
# After upgrading cinder, services will have an RPC version cap in place. We
205+
# need to restart all services in order to allow them to use the latest RPC
206+
# version. Ideally, there would be a way to check whether all cinder services
207+
# are using the latest version, but currently there is not. Instead, wait a
208+
# short time for all cinder services to update the version of their service in
209+
# the database. This seems to take around 10 seconds, but the default is 30 to
210+
# allow room for slowness.
211+
cinder_rpc_version_startup_delay: 30
212+
204213

205214
####################
206215
# Cinder

ansible/roles/cinder/handlers/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,23 @@
6666
healthcheck: "{{ service.healthcheck | default(omit) }}"
6767
when:
6868
- kolla_action != "config"
69+
70+
# NOTE(mgoddard): After upgrading cinder, services will have an RPC version cap
71+
# in place. We need to restart all services in order to allow them to use the
72+
# latest RPC version. Ideally, there would be a way to check whether all cinder
73+
# services are using the latest version, but currently there is not. Instead,
74+
# wait a short time for all cinder services to update the version of their
75+
# service in the database. This seems to take around 10 seconds, but the
76+
# default is 30 to allow room for slowness.
77+
78+
- name: Wait for cinder services to update service versions
79+
pause:
80+
seconds: "{{ cinder_rpc_version_startup_delay }}"
81+
run_once: true
82+
when:
83+
- kolla_action == 'upgrade'
84+
listen:
85+
- Restart cinder-api container
86+
- Restart cinder-scheduler container
87+
- Restart cinder-volume container
88+
- Restart cinder-backup container
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
- name: Reload cinder services to remove RPC version pin
3+
vars:
4+
service: "{{ item.value }}"
5+
become: true
6+
kolla_docker:
7+
action: "restart_container"
8+
common_options: "{{ docker_common_options }}"
9+
name: "{{ service.container_name }}"
10+
with_dict: "{{ cinder_services | select_services_enabled_and_mapped_to_host }}"

ansible/roles/cinder/tasks/upgrade.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
- name: Flush handlers
1414
meta: flush_handlers
1515

16+
- import_tasks: reload.yml
17+
1618
- name: Running Cinder online schema migration
1719
vars:
1820
cinder_api: "{{ cinder_services['cinder-api'] }}"

ansible/roles/common/tasks/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,15 @@
220220
- { name: "monasca", enabled: "{{ enable_monasca | bool }}" }
221221
- { name: "murano", enabled: "{{ enable_murano | bool }}" }
222222
- { name: "neutron", enabled: "{{ enable_neutron | bool }}" }
223-
- { name: "neutron-tls-proxy", enabled: "{{ neutron_enable_tls_backend |
224-
bool }}" }
223+
- { name: "neutron-tls-proxy", enabled: "{{ neutron_enable_tls_backend | bool }}" }
225224
- { name: "nova", enabled: "{{ enable_nova | bool }}" }
226225
- { name: "nova-libvirt", enabled: "{{ enable_nova | bool and nova_compute_virt_type in ['kvm', 'qemu'] }}" }
227226
- { name: "octavia", enabled: "{{ enable_octavia | bool }}" }
227+
- { name: "openvswitch", enabled: "{{ enable_openvswitch | bool }}" }
228228
- { name: "outward-rabbitmq", enabled: "{{ enable_outward_rabbitmq | bool }}" }
229229
- { name: "panko", enabled: "{{ enable_panko | bool }}" }
230230
- { name: "placement", enabled: "{{ enable_placement | bool }}" }
231+
- { name: "prometheus", enabled: "{{ enable_prometheus | bool }}" }
231232
- { name: "rabbitmq", enabled: "{{ enable_rabbitmq | bool }}" }
232233
- { name: "rally", enabled: "{{ enable_rally | bool }}" }
233234
- { name: "sahara", enabled: "{{ enable_sahara | bool }}" }
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"/var/log/kolla/openvswitch/*.log"
2+
{
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"/var/log/kolla/prometheus/*.log"
2+
{
3+
}

ansible/roles/grafana/templates/grafana.ini.j2

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ user = {{ grafana_database_user }}
2323
password = {{ grafana_database_password }}
2424
ssl_mode = disable
2525

26-
[session]
27-
provider = mysql
28-
provider_config = {{ grafana_database_user }}:{{ grafana_database_password }}@tcp({{ grafana_database_address }})/{{ grafana_database_name }}
29-
30-
cookie_name = grafana_sess
31-
cookie_secure = false
32-
session_life_time = 86400
33-
3426
[analytics]
3527
reporting_enabled = false
3628
check_for_updates = false

ansible/roles/ironic/tasks/precheck.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
timeout: 1
4545
state: stopped
4646
when:
47-
- enable_ironic_ipxe | bool
4847
- container_facts['ironic_ipxe'] is not defined
4948
- inventory_hostname in groups['ironic-ipxe']
5049

ansible/roles/keystone/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,4 +212,5 @@ keystone_trusted_dashboards: "{{ ['%s://%s/auth/websso/' % (public_protocol, kol
212212
keystone_enable_federation_openid: "{{ enable_keystone_federation | bool and keystone_identity_providers | selectattr('protocol','equalto','openid') | list | count > 0 }}"
213213
keystone_should_remove_attribute_mappings: False
214214
keystone_should_remove_identity_providers: False
215+
keystone_federation_oidc_response_type: "id_token"
215216
keystone_federation_oidc_scopes: "openid email profile"

0 commit comments

Comments
 (0)