Cookbook python is deprecated and needs to be replaced

Bug #1558538 reported by Dr. Jens Harbott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
High
Dr. Jens Harbott

Bug Description

The cookbook "python" has been deprecated, see https://github.com/poise/python/commit/711e4d98c25643be2df5afaf3cfc2e811eaee18f. It also seems to have stopped working in some circumstances, for me python::pip is failing on Ubuntu 16.04.

We are referring to this in two places:

cookbook-openstack-compute uses it in docker-install.rb. That code probably needs some refactoring anyway, there also doesn't seem to be any integration testing for it.

cookbook-openstack-block-storage has a dependency in its metadata, but I don't see it being used, so we can probably just drop it there.

Changed in openstack-chef:
importance: Undecided → Critical
status: New → Confirmed
milestone: none → newton-stable
Changed in openstack-chef:
importance: Critical → High
Revision history for this message
Samuel Cassiba (scassiba) wrote :

The python cookbook now seems to be a wrapper just for installing poise. It's working as-is for converging OpenStack.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-compute (master)

Fix proposed to branch: master
Review: https://review.openstack.org/431044

Changed in openstack-chef:
assignee: nobody → Dr. Jens Rosenboom (j-rosenboom-j)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-compute (master)

Reviewed: https://review.openstack.org/431044
Committed: https://git.openstack.org/cgit/openstack/cookbook-openstack-compute/commit/?id=ced5be55122a467d1c6b6f94da64a7a956a35800
Submitter: Jenkins
Branch: master

commit ced5be55122a467d1c6b6f94da64a7a956a35800
Author: Jens Rosenboom <email address hidden>
Date: Wed Feb 8 16:34:36 2017 +0000

    Remove docker-setup receipe

    The docker-setup receive has been unmaintained and untested for some
    time now. The nova-docker project is also being removed from
    OpenStack [1] and people are advised to look at deploying Zun as
    a replacement.

    This also avoids having to rewrite this receipe in order to remove the
    use of the deprecated python cookbook.

    [1] https://review.openstack.org/430232

    Change-Id: Ia8c9db272c6a0353130fc93d446b385fd72ac250
    Partial-Bug: 1558538

Changed in openstack-chef:
status: In Progress → Fix Released
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.