fluentd label check failing on Docker 26

Bug #2058615 reported by Michal Nasiadka
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Unassigned
Bobcat
Fix Committed
Undecided
Unassigned
Caracal
Fix Released
Undecided
Unassigned

Bug Description

Since Docker 26.0 has been released - Kolla-Ansible common role deploys have been failing due to missing ContainerConfig field in docker inspect dict - see https://github.com/docker/cli/blob/v26.0.0/docs/deprecated.md#container-and-containerconfig-fields-in-image-inspect

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/913805

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/913806

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (stable/2023.1)

Change abandoned by "Michal Nasiadka <email address hidden>" on branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/913806
Reason: not needed

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/2023.2)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/913805
Committed: https://opendev.org/openstack/kolla-ansible/commit/9a6444fd64e6790c3270411b91d962ce28d42283
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit 9a6444fd64e6790c3270411b91d962ce28d42283
Author: Michal Nasiadka <email address hidden>
Date: Thu Mar 21 08:19:15 2024 +0100

    common: Fix fluentd labels when using Docker 26

    Closes-Bug: #2058615

    [1]: https://github.com/docker/cli/blob/v26.0.0/docs/deprecated.md#container-and-containerconfig-fields-in-image-inspect

    Change-Id: I96ec812a482f017a48d978586c6f535fedd5fbe8

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/913868
Committed: https://opendev.org/openstack/kolla-ansible/commit/80253410234cc74aab25af0f9bb90f1cbb764295
Submitter: "Zuul (22348)"
Branch: master

commit 80253410234cc74aab25af0f9bb90f1cbb764295
Author: Michal Nasiadka <email address hidden>
Date: Thu Mar 21 08:19:15 2024 +0100

    common: Fix fluentd labels when using Docker 26

    Closes-Bug: #2058615

    [1]: https://github.com/docker/cli/blob/v26.0.0/docs/deprecated.md#container-and-containerconfig-fields-in-image-inspect

    Change-Id: I96ec812a482f017a48d978586c6f535fedd5fbe8

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

Michal Nasiadka why "not needed" for Antelope? I'm faced the issue even in Xena because we pin docker version only for Zun.

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

TASK [common : Set fluentd facts] **********************************************
task path: /opt/kayobe/venvs/kolla-ansible/share/kolla-ansible/ansible/roles/common/tasks/config.yml:51
fatal: [ctrl0]: FAILED! => {
    "msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'ContainerConfig'\n\nThe error appears to be in '/opt/kayobe/venvs/kolla-ansible/share/kolla-ansible/ansible/roles/common/tasks/config.yml': line 51, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Set fluentd facts\n ^ here\n"
}

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

ok, this fixed in the Yoga in https://review.opendev.org/c/openstack/kolla-ansible/+/823094
will fix the issue downstream myself.

no longer affects: kolla-ansible/antelope
no longer affects: kolla-ansible/zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 18.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 18.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.