DIB IPA image needlessly installs python2.7
Bug #1678656 reported by
Julia Kreger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Confirmed
|
Undecided
|
Unassigned | ||
ironic-python-agent |
Incomplete
|
Low
|
Unassigned |
Bug Description
When building an ubuntu-minimal IPA image using diskimage-builder (current release as of 20170402), creation of an IPA image using `disk-image-create -o ubuntu-minimal-ipa ubuntu-minimal ironic-agent` results in python2.7 being installed along side py3x, which ultimately only makes the IPA image needlessly larger.
We should support whatever version python is present. This appears to be due to the installation of python-dev which is a python-2.7 package, where python3-dev on Ubuntu Xenial would be more ideal.
To post a comment you must log in.
To change the python version we need to modify https:/ /github. com/openstack/ diskimage- builder/ blob/master/ diskimage_ builder/ elements/ ironic- agent/pkg- map. But I'm not sure how to make the services created by that element to pick the right python.. I'm moving this to DIB as the element still lives there.