unpinned deps in kolla-toolbox break due to py2 incompatibilities

Bug #1870349 reported by Radosław Piliszek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Unassigned
Rocky
Fix Released
Critical
Radosław Piliszek
Stein
Fix Released
Critical
Radosław Piliszek

Bug Description

Stein and below only.

openstacksdk released 0.45.0 (and possibly 0.44.0 as well) which dropped py2 compat but did not advertise the fact. It was amended later but it will now always affect kolla images until pinned to older.

The observable error is:
"ImportError: No module named queue"

Since Train we pin u-c, but not before that.
We decided on manual pin of openstacksdk and client libs:

- python-novaclient
- python-cinderclient
- python-keystoneclient
- python-glanceclient

Changed in kolla:
status: Triaged → Fix Released
description: updated
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/717008

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

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/717024

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

Reviewed: https://review.opendev.org/717008
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=519eced6147085151a3e53a55c734c28d1e35eeb
Submitter: Zuul
Branch: stable/stein

commit 519eced6147085151a3e53a55c734c28d1e35eeb
Author: Mark Goddard <email address hidden>
Date: Thu Apr 2 14:34:36 2020 +0100

    Fix multiple CI issues

    1. Pin openstacksdk and client libraries in kolla-toolbox

    Stein and below only.

    openstacksdk released 0.45.0 (and possibly 0.44.0 as well) which dropped
    py2 compat but did not advertise the fact. It was amended later but it
    will now always affect kolla images until pinned to older.

    The observable error is:
    "ImportError: No module named queue"

    Since Train we pin u-c, but not before that.

    This change introduces a version constraint for openstacksdk and client
    libs:

    - python-novaclient
    - python-cinderclient
    - python-keystoneclient
    - python-glanceclient

    2. Make deploy jobs non-voting

    For similar reasons to 1., the deploy jobs fail when using the openstack
    client for testing. Due to a dependency loop between these two projects,
    we must make these jobs non-voting to fix the image build. This should
    be reverted ASAP.

    3. CI: Add https match for mirror.centos.org to template-overrides

    Some CentOS repos (currently one - Ceph NFS Ganesha) use
    https://mirror.centos.org instead of http:// and we break
    their definition by removing mirrorlist= entry and not inserting baseurl
    entry due to a missing match.

    Original Change-Id: I7b29f8c6be80820042023d2b85162d5cc9a65f08

    Change-Id: I8c2da6437333210a7926f2deb926ab5d1c93c3c6
    Closes-Bug: #1870349

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

Reviewed: https://review.opendev.org/717024
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=7f4baeafdd80b5c88b57c1f5e00ae6e119fe2343
Submitter: Zuul
Branch: stable/rocky

commit 7f4baeafdd80b5c88b57c1f5e00ae6e119fe2343
Author: Mark Goddard <email address hidden>
Date: Thu Apr 2 14:34:36 2020 +0100

    Fix multiple CI issues

    1. Pin openstacksdk and client libraries in kolla-toolbox

    Stein and below only.

    openstacksdk released 0.45.0 (and possibly 0.44.0 as well) which dropped
    py2 compat but did not advertise the fact. It was amended later but it
    will now always affect kolla images until pinned to older.

    The observable error is:
    "ImportError: No module named queue"

    Since Train we pin u-c, but not before that.

    This change introduces a version constraint for openstacksdk and client
    libs:

    - python-novaclient
    - python-cinderclient
    - python-keystoneclient
    - python-glanceclient

    2. Make deploy jobs non-voting

    For similar reasons to 1., the deploy jobs fail when using the openstack
    client for testing. Due to a dependency loop between these two projects,
    we must make these jobs non-voting to fix the image build. This should
    be reverted ASAP.

    3. CI: Add https match for mirror.centos.org to template-overrides

    Some CentOS repos (currently one - Ceph NFS Ganesha) use
    https://mirror.centos.org instead of http:// and we break
    their definition by removing mirrorlist= entry and not inserting baseurl
    entry due to a missing match.

    Original Change-Id: I7b29f8c6be80820042023d2b85162d5cc9a65f08

    Change-Id: I8c2da6437333210a7926f2deb926ab5d1c93c3c6
    Closes-Bug: #1870349
    (cherry picked from commit 4d11cd647a12ec900059f1cb53b30ad2b0fb22ab)

Revision history for this message
Joris Vleminckx (jvleminc) wrote :

Can confirm this fix works fine for stein.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla rocky-eol

This issue was fixed in the openstack/kolla rocky-eol release.

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.