------------------------------------------------------------------- Sun Jun 11 16:59:45 UTC 2017 - mchandras@suse.de - Version bump 2.5.0 * Disable recommended package installations for zypper-minimal * Use networkx for digraph * Various internal fixes * Adding unit testing for configuration * Produce API documentation ------------------------------------------------------------------- Thu May 25 07:59:42 UTC 2017 - mchandras@suse.de - Version bump to 2.4.1 * Set manifest permissions in the image * Move parts of Partition creation into object * Split partition into it's own file * Move exception to it's own file (again) * Add weights to digraph * Switch debian to deb.debian.org * Add dracut-regenerate elements * Set manifests to mode 600 and owner root * Only unmount directories that are mounted * Apply setfiles on all mountpoints ------------------------------------------------------------------- Wed May 17 15:25:37 UTC 2017 - mchandras@suse.de - Version bump to 2.4.0 * Refactor: block-device filesystem creation, mount and fstab * Take --params from environment * Refactor documentation on image creation * Add a test to validate we can build debian vms * Introduce exec_sudo command * Fix py3 error in block-device * Refactor block-device base functions. * Add bzip2 to test install * Add refactor of tree-like vs graph * Set LC_ALL in disk-image-create * Improve documentation for image creation * Refactor block_device: isolate the getval call * Refactor block_device: passing command line parameters * Make Gentoo package updates work more often * Turn off strict_id mode for Ec2 datasource * Clean out apt index caches at end of image build ------------------------------------------------------------------- Wed Apr 21 10:07:28 UTC 2017 - mchandras@suse.de - Update to version 2.3.3 * Add yum-utils as EPEL dependency * Skip python3-virtualenv on <= trusty * pip-and-virtualenv : install python2 & 3, and default to 2 * Install pip with python interpreter * Move do_extra_package_install to run in install phase * Updated from global requirements * Unify and fix doc of several Debian and Ubuntu elements * Fix package-installs-v2 output * Basic logging for package-installs-squash * Use DIB_PYTHON_EXEC to run commands * Fix typo in pip-and-virtualenv * Ignore missing path in unmount_dir * Run dib-run-parts out of /tmp * Don't provide dib-run-parts * Add flag to disable EPEL * Fix code-block in README of rhel7 element * Fix opensuse-minimal element on non-SUSE hosts * Use stevedore for plugin config of block device * Adding aarch64 support for CentOS7 * Have simple-init enable network.service * Use correct Ubuntu distro url on non-x86 arches * Typo fix: curent => current * functests: skip qcow2 generically but add specific test * Add default PPC block-device layout * Capture output in _exec_sudo * Fix typo in CMDLINE env var for bootloader * Allow ELEMENTS_DIR to be configurable * Use sphinx warning-is-error * Updated from global requirements * squash-package-install to use the correct python * Make our virtualenv source py3 safe * blockdevice.py: python3 fixes * Fix dib-init-system for Debian Jessie and Debian Stretch * Send custom parameters in bootloader to GRUB_CMDLINE ------------------------------------------------------------------- Mon Mar 13 12:19:38 UTC 2017 - mchandras@suse.de - Update to version 2.0.0 * Add 2.0.0 release notes * Run indent checks in diskimage_builder/lib * Use OrderedDict for partitions instead of simple dictionary * Refactor: block-device partitioning cleanup * fix grub2 element for ubuntu xenial [lp##1627402] * Semi-automatic doc generation of element dependency * Fix up element doc generation * Check return of _load_state * block-device: change top level config from dict to list * Handle blank lines in element-deps * Don't run unit tests from run_functests.sh * Refactor: block-device handling (partitioning) * Add get_elements; preserve backwards compat for expand_dependencies * Fix --version display * Activate virtualenv in disk-image-create * Remove execute perm from disk-image-create * Move dib-run-parts into diskimage-builder * Move diskimage-image-create to an entry point * Move elements & lib relative to diskimage_builder package * Fail on element-info error * Remove deploy element * Remove deprecated deploy-ironic element * Remove deprecated ironic-discoverd-ramdisk * Remove deprecated expand-dependencies arg * Remove deprecated serial-console element * Remove deprecated map-services * Add release notes for block device handling. * Move element-info to a standard entry-point * Refactor: block-device handling (local loop) * Convert pkg-map and svc-map copies to explicit variables * Add IMAGE_ELEMENT_YAML and get_image_element_array * Making element overriding explicit * For developer and low-level oriented changes please read the following thread - http://lists.openstack.org/pipermail/openstack-dev/2017-February/111833.html ------------------------------------------------------------------- Fri Mar 3 01:02:44 UTC 2017 - mchandras@suse.de - Update to version 1.28.0 * [suse] Handle pip-and-virtualenv install for opensuse * pip-and-virtualenv: also handle rhel distros * [suse] remove --no-confirm from zypper invocation * gentoo: do not manually clean /tmp * Fix requirements update * Fix up doc errors * python-brickclient: accommodate python2/3 changes * Move Ubuntu specific use_tempaddr setting to ubuntu-common element * Fix typo in README.rst * yum/install-packages output cleanup * Preinstall pyOpenSSL * Target map-packages deprecation message * Turn down some low-value tracing output * Move generation of dib_[environment|args] to manifest element * Use strings in package-installs follow output ------------------------------------------------------------------- Thu Feb 16 17:46:42 UTC 2017 - mchandras@suse.de - Update to version 1.27.0 * Add DIB_IPA_COMPRESS_CMD option * ironic-agent: use /sbin for modprobe * move post-install.d to finalize.d * Bump fedora release to 25 * Fix dhcp-all-interfaces for ubuntu-minimal xenial * Don't set base element path in run_functests.sh * Use %i instead of %I in dhcp-interface@.service * Remove hardcoded components * Set grub device in /etc/default/grub * Replace yaml.load() with yaml.safe_load() * Unify tidy up logs in lib/img-functions * Also check bin/ for tabs * Handle failure of carrier check in dhcp-all-interfaces.sh * Make DHCP timeout configurable * Run dhcp-interface@.service after network.target * update pkg-map entries for python3 * dib-lint: python3 compatibility fixes * debootstrap: avoid duplicate network configuration * Remove yum chroot caching * Speed up chroot checking loop * Allow disto-specific mirror settings * Update hpssacli to ssacli in proliant-tools element ------------------------------------------------------------------- Thu Dec 22 17:33:25 UTC 2016 - mchandras@suse.de - Update to version 1.26.1 * Generate ssh-hostkeys on boot for ironic agent * add option to configure cloud-init to allow password authentication * elements: Drop unneeded DIB_INIT_SYSTEM usage * Replace six.iteritems() with .items() * Catch errors in DIB_INIT_SYSTEM export * DIB element to support cinder local attach/detach functionality * elements: Drop executable bits from environment files * Update sysctl-write-value to do conflict checking * Put MKFS_OPTS after filesystem type * Make dib-python use the default python for distro * Don't set the executable bit on dhcp-interface@.service * Move pip-and-virtualenv source install to 10- * Add install-types as pip-and-virtualenv dep * Allow package-installs to parse DIB_PYTHON_VERSION * Fix pip-and-virtualenv to work with python3 * elements: dib-python: Add python2 as the default version for openSUSE * Support sysv init system used by Debian Wheezy * Pip install as 10- incompatible with 05-heat-cfntools * Recreate initramfs within loopback image * Fix bootloader element on ppc * Add ubuntu-precise support to dib-python * FIx the DIB_CLOUD_INIT_ALLOW_SSH_PWAUTH variable name in README file * Switch to openSUSE Leap 42.2 release by default * Install dracut-generic-config package * Add output image format tgz support * Add squashfs output image format * set default DIB_PYTHON_VERSION=2 for rhel7 * Set grub timeout default * Dont run with VIRTUAL_ENV set ------------------------------------------------------------------- Mon Dec 5 15:24:49 UTC 2016 - mchandras@suse.de - Update to version 1.24.0 * elements: pip-and-virtualenv: Add python-xml dependency * Trace package install in package-installs-v2 * elements: zypper-minimal: Add ca-certificates-mozilla package * Improve checksum performance for images * Perform package install outside of debootstrap * Remove obsolete patches for the time being - 0001-lib-Drop-shebang-from-library-scripts.patch - 0002-elements-Drop-executable-bits-from-environment-files.patch ------------------------------------------------------------------- Tue Oct 18 11:05:19 UTC 2016 - mchandras@suse.de - Use addFilter instead of setBadness in the rpmlintrc file. ------------------------------------------------------------------- Mon Oct 17 12:19:14 UTC 2016 - mchandras@suse.de - Initial commit. Taken from the Cloud OBS project * diskimage-builder-rpmlintrc: Add rpmlint file to prevent build failures due to the 'wrong-script-interpreter' check. It's a spurious warning since the interpreter is only used within the generated image and it does not affect the host or the package itself. * 0001-lib-Drop-shebang-from-library-scripts.patch: Add patch to drop the shebang from the lib/* files which are meant to be sourced instead of executed (fixes: 'non-executable-script') * 0002-elements-Drop-executable-bits-from-environment-files.patch: Add patch to drop the executable bit from files which are meant to be sourced instead of executed. (fixes: 'script-without-shebang')