Kolla-toolbox: cryptography deprecation warning

Bug #1888657 reported by Michal Nasiadka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Critical
Unassigned
Rocky
Fix Released
Critical
Unassigned
Stein
Fix Released
Critical
Michal Nasiadka

Bug Description

Ansible 2.2.0.0 used in Stein kolla-toolbox requires paramiko (no version
constraints), which installs latest cryptography package. It results in
Python deprecation warning about Python 2:

/usr/lib64/python2.7/site-packages/cryptography/__init__.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.

This warning breaks kolla_toolbox module.

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

Reviewed: https://review.opendev.org/742642
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=bbaa82619ee404d495ec5aef9468ecd52c5d76d3
Submitter: Zuul
Branch: stable/stein

commit bbaa82619ee404d495ec5aef9468ecd52c5d76d3
Author: Michal Nasiadka <email address hidden>
Date: Thu Jul 23 13:09:22 2020 +0200

    Ignore Python warnings in kolla-toolbox

    Ansible 2.2.0.0 used in Stein kolla-toolbox requires paramiko (no version
    constraints), which installs latest cryptography package. It results in
    Python deprecation warning about Python 2:

    /usr/lib64/python2.7/site-packages/cryptography/__init__.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.

    This warning breaks kolla_toolbox module.

    Closes-Bug: #1888657

    Change-Id: I3e38946d9dabd5df8bf7c6202a8b739304fe4622

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

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

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

Reviewed: https://review.opendev.org/742714
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=f430c35907635caf5ddc0968d37d7020c58aff4a
Submitter: Zuul
Branch: stable/rocky

commit f430c35907635caf5ddc0968d37d7020c58aff4a
Author: Michal Nasiadka <email address hidden>
Date: Thu Jul 23 13:09:22 2020 +0200

    Ignore Python warnings in kolla-toolbox

    Ansible 2.2.0.0 used in Stein kolla-toolbox requires paramiko (no version
    constraints), which installs latest cryptography package. It results in
    Python deprecation warning about Python 2:

    /usr/lib64/python2.7/site-packages/cryptography/__init__.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.

    This warning breaks kolla_toolbox module.

    Closes-Bug: #1888657

    Change-Id: I3e38946d9dabd5df8bf7c6202a8b739304fe4622
    (cherry picked from commit bbaa82619ee404d495ec5aef9468ecd52c5d76d3)

tags: added: in-stable-rocky
Mark Goddard (mgoddard)
Changed in kolla-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.3.0

This issue was fixed in the openstack/kolla-ansible 8.3.0 release.

Mark Goddard (mgoddard)
Changed in kolla-ansible:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible rocky-eol

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

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

Other bug subscribers