![Ian Wienand](/assets/img/avatar_default.png)
This is an alternative approach to commit 68bb43535e8f032890687be6a253c3505cb319e5. I think this proposes a better overall solution that the prior change which had the Python 3 packages being installed, but did not specify the _do_py3 flag to do the installation steps that redirect the various tool installations. Fedora 31+ doesn't have python2, and Tumbleweed does have some Python 2 support but there seems to be no reason to bother updating this element for either with infra very close to removing this completely [1]. Error out on these platforms, and add a release note. The 15 path should include the python2 and python3 packages, along with the flags to do the "cleanup"; i.e. forced removal of distutils packages that pip 10+ won't touch. As mentioned in the original change, the six package causes problems here, but we can clear that too by explicitly listing it instead of letting it come in via dependencies. Again, this element will be removed from the infra 15 builds ASAP; but we can release with this to provide a roll-back point if we need to revert the removal to fix things temporarily. Add it to the testing path as well. [1] https://docs.opendev.org/opendev/infra-specs/latest/specs/cleanup-test-node-python.html Change-Id: I7a6a342461d6001c25e55638ba9b7438c28f2519
Image building tools for OpenStack
diskimage-builder
is a flexible suite of components for
building a wide-range of disk images, filesystem images and ramdisk
images for use with OpenStack.
This repository has the core functionality for building such images, both virtual and bare metal. Images are composed using elements; while fundamental elements are provided here, individual projects have the flexibility to customise the image build with their own elements.
For example:
$ DIB_RELEASE=trusty disk-image-create -o ubuntu-trusty.qcow2 vm ubuntu
will create a bootable Ubuntu Trusty based qcow2
image.
diskimage-builder
is useful to anyone looking to produce
customised images for deployment into clouds. These tools are the
components of TripleO that are
responsible for building disk images. They are also used extensively to
build images for testing OpenStack itself, particularly with nodepool.
Platforms supported include Ubuntu, CentOS, RHEL and Fedora.
Full documentation, the source of which is in
doc/source/
, is published at:
Copyright
Copyright 2012 Hewlett-Packard Development Company, L.P. Copyright (c) 2012 NTT DOCOMO, INC.
All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.