building "debian" image fails

Bug #1758000 reported by Johannes Kulik on 2018-03-22
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
diskimage-builder
Undecided
Clark Boylan

Bug Description

Building an image with the "debian" element fails with the message
2018-03-22 09:05:18.901 | diskimage_builder.element_dependencies.AlreadyProvidedException: operating-system: already provided by ['debian']

Adding some debug output showed, that the "debian-minimal" element complained about this.

This seems to be caused by Commit https://github.com/openstack/diskimage-builder/commit/a32a8f1ce1795a930094b6045d7a34309fc8a08a as both "debian" and "debian-minimal" have "operating-system" in their "element-provides", but "debian" depends on "debian-minimal".

information type: Public → Public Security
Erol Guzoglu (erolguzoglu) wrote :
information type: Public Security → Public
Changed in diskimage-builder:
assignee: nobody → Clark Boylan (cboylan)
status: New → In Progress

Reviewed: https://review.openstack.org/556556
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=301eac8e8b12e321a7046c5fc7739bde56b6b385
Submitter: Zuul
Branch: master

commit 301eac8e8b12e321a7046c5fc7739bde56b6b385
Author: Clark Boylan <email address hidden>
Date: Mon Mar 26 08:22:52 2018 -0700

    Fix element-provides in debian element

    The debian element depends on debian-minimal now which provides
    operating-system. This means that the debian element can no longer
    provide operating-system and doing so results in an error when using the
    debian element.

    The fix is simple just rely on the fact that debian-minimal provides
    operating-system and remove this element-provides from debian.

    Fixes-Bug: 1758000
    Change-Id: I524feeb82c19046ec987eb1186c7f4568309e559

Changed in diskimage-builder:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers