Skip to content

Commit

Permalink
Merge pull request #499 from stackhpc/upstream/yoga-2023-12-04
Browse files Browse the repository at this point in the history
Synchronise yoga with upstream
  • Loading branch information
priteau authored Dec 5, 2023
2 parents 9e685fe + 9246e6f commit 682c5b0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
4 changes: 0 additions & 4 deletions ansible/roles/common/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ fluentd_input_openstack_services:
enabled: "{{ enable_freezer | bool }}"
- name: glance
enabled: "{{ enable_glance | bool }}"
- name: glance-tls-proxy
enabled: "{{ enable_glance | bool }}"
- name: gnocchi
enabled: "{{ enable_gnocchi | bool }}"
- name: heat
Expand Down Expand Up @@ -186,8 +184,6 @@ fluentd_input_openstack_services:
enabled: "{{ enable_murano | bool }}"
- name: neutron
enabled: "{{ enable_neutron | bool }}"
- name: neutron-tls-proxy
enabled: "{{ neutron_enable_tls_backend | bool }}"
- name: nova
enabled: "{{ enable_nova | bool }}"
- name: octavia
Expand Down
3 changes: 2 additions & 1 deletion ansible/roles/horizon/templates/horizon.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ TraceEnable off

<VirtualHost {{ api_interface_address }}:{{ horizon_listen_port }}>
LogLevel warn
ErrorLog /var/log/kolla/horizon/horizon.log
ErrorLogFormat "%{cu}t %M"
ErrorLog /var/log/kolla/horizon/horizon-error.log
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog /var/log/kolla/horizon/horizon-access.log logformat

Expand Down
8 changes: 4 additions & 4 deletions ansible/roles/rabbitmq/tasks/reset-state.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
- name: Stop the RabbitMQ application
become: true
command: "{{ kolla_container_engine }} exec rabbitmq rabbitmqctl stop_app"
command: "docker exec rabbitmq rabbitmqctl stop_app"

- name: Reset the state of RabbitMQ
become: true
command: "{{ kolla_container_engine }} exec rabbitmq rabbitmqctl force_reset"
command: "docker exec rabbitmq rabbitmqctl force_reset"

- name: Start the RabbitMQ application
become: true
command: "{{ kolla_container_engine }} exec rabbitmq rabbitmqctl start_app"
command: "docker exec rabbitmq rabbitmqctl start_app"

- name: Wait for all RabbitMQ nodes to join the cluster
become: true
command: "{{ kolla_container_engine }} exec rabbitmq rabbitmqctl await_online_nodes {{ groups['rabbitmq'] | length }}"
command: "docker exec rabbitmq rabbitmqctl await_online_nodes {{ groups['rabbitmq'] | length }}"
8 changes: 8 additions & 0 deletions releasenotes/notes/horizon-log-bugfix-b89f502c2f3ccaf9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
fixes:
- |
Fixes an issue where Fluentd was parsing Horizon WSGI application logs
incorrectly.
Horizon error logs are now written to ``horizon-error.log`` instead of
``horizon.log``.
See `LP#1898174 <https://bugs.launchpad.net/kolla-ansible/+bug/1898174>`__

0 comments on commit 682c5b0

Please sign in to comment.