os-collect-config depends on python-dev but package is not available in Ubuntu Focal

Bug #1865328 reported by Andreas Florath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Andreas Florath

Bug Description

Description
===========

When using the os-collect-config diskimage-builder element on Ubuntu Focal, the image building process stops with:

 2020-03-01 07:11:27.159 | > Package python-dev is not available, but is referred to by another package.
 2020-03-01 07:11:27.159 | > This may mean that the package is missing, has been obsoleted, or
 2020-03-01 07:11:27.159 | > is only available from another source
 2020-03-01 07:11:27.159 | > However the following packages replace it:
 2020-03-01 07:11:27.159 | > python2-dev python2
 2020-03-01 07:11:27.160 | >
 2020-03-01 07:11:27.160 | > E: Package 'python-dev' has no installation candidate

Steps to reproduce
==================

Build a image using diskimage-builder which includes the element os-collect-config.

Expected result
===============

Disk image.

Actual result
=============

Error message and image building process stops.

Environment
===========

HostOS (Build Env): Ubuntu Bionic in a docker container

Tags: alert
Changed in tripleo:
assignee: nobody → Andreas Florath (ansreas)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-image-elements (master)

Fix proposed to branch: master
Review: https://review.opendev.org/710631

Changed in tripleo:
status: New → In Progress
wes hayutin (weshayutin)
Changed in tripleo:
milestone: none → ussuri-3
wes hayutin (weshayutin)
tags: added: alert
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-image-elements (master)

Reviewed: https://review.opendev.org/710631
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=d248a017cb0629f5acf74c1a3820d3472102a4db
Submitter: Zuul
Branch: master

commit d248a017cb0629f5acf74c1a3820d3472102a4db
Author: Andreas Florath <email address hidden>
Date: Sun Mar 1 08:53:24 2020 +0100

    Add mapping for python-dev for Ubuntu Focal

    In Ubuntu Focal there is no package named 'python-dev'.
    This patch maps this to 'python3-dev'.

    Change-Id: I2ea41c36d13748dd5a375853b26aacfc63c1bd48
    Signed-off-by: Andreas Florath <email address hidden>
    Closes-Bug: 1865328

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-image-elements 11.0.2

This issue was fixed in the openstack/tripleo-image-elements 11.0.2 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.