Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronise zed with upstream #618

Merged
merged 7 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ansible/library/kolla_toolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ def main():
"ANSIBLE_LOAD_CALLBACK_PLUGINS": "True"}
job = client.exec_create(kolla_toolbox, command_line,
environment=environment, **kwargs)
json_output = client.exec_start(job)
json_output, error = client.exec_start(job, demux=True)
if error:
module.log(msg='Inner module stderr: %s' % error)

try:
output = json.loads(json_output)
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/common/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ common_services:
environment:
ANSIBLE_NOCOLOR: "1"
ANSIBLE_LIBRARY: "/usr/share/ansible"
REQUESTS_CA_BUNDLE: "{{ openstack_cacert }}"
privileged: True
volumes: "{{ kolla_toolbox_default_volumes + kolla_toolbox_extra_volumes }}"
dimensions: "{{ kolla_toolbox_dimensions }}"
Expand Down
3 changes: 2 additions & 1 deletion ansible/roles/horizon/templates/local_settings.j2
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ AVAILABLE_REGIONS = [

OPENSTACK_HOST = "{{ kolla_internal_fqdn }}"

OPENSTACK_KEYSTONE_URL = "{{ horizon_keystone_url }}"
# TODO(fprzewozn): URL /v3 suffix is required until Horizon bug #2073639 is resolved
OPENSTACK_KEYSTONE_URL = "{{ horizon_keystone_url }}/v3"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "{{ keystone_default_user_role }}"

{% if enable_keystone_federation | bool %}
Expand Down
2 changes: 2 additions & 0 deletions ansible/roles/swift/tasks/start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
- "{{ node_config_directory }}/swift-account-server/:{{ container_config_directory }}/:ro"
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}:shared"
- "/etc/localtime:/etc/localtime:ro"
- "swift_recon_cache:/var/cache/swift"
when: inventory_hostname in groups['swift-account-server']

- name: Starting swift-account-auditor container
Expand Down Expand Up @@ -138,6 +139,7 @@
- "{{ node_config_directory }}/swift-container-server/:{{ container_config_directory }}/:ro"
- "{{ swift_devices_mount_point }}:{{ swift_devices_mount_point }}:shared"
- "/etc/localtime:/etc/localtime:ro"
- "swift_recon_cache:/var/cache/swift"
when: inventory_hostname in groups['swift-container-server']

- name: Starting swift-container-auditor container
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/bug-2073159-c54c773c72c8fb11.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
fixes:
- |
Fixes behaviour of Change Password screen in Horizon until
`bug #2073639 <https://launchpad.net/bugs/2073639>`__ is resolved.
`LP#2073159 <https://launchpad.net/bugs/2073159>`__
7 changes: 7 additions & 0 deletions releasenotes/notes/bug-923105-d451a78930973a82.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
fixes:
- |
Fixes the Python requests library issue when using custom
CA by adding the REQUESTS_CA environment variable to the
kolla-toolbox container.
See `LP#1967132 <https://launchpad.net/bugs/1967132>`__
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
fixes:
- |
Fixes parsing of JSON output of inner modules called by ``kolla-toolbox``
when data was returned on standard error.
`LP#2080544 <https://launchpad.net/bugs/2080544>`__