Newton Series Release Notes¶
14.2.8¶
Bug Fixes¶
In Ubuntu the
dnsmasqpackage actually includes init scripts and service configuration which conflict with LXC and are best not included. The actual dependent package isdnsmasq-base. The package list has been adjusted and a task added to remove thednsmasqpackage and purge the related configuration files from all LXC hosts.
14.0.2¶
New Features¶
IPv6 support has been added for the LXC bridge network. This can be configured using
lxc_net6_address,lxc_net6_netmask, andlxc_net6_nat.
14.0.0¶
New Features¶
The container cache preparation process now allows
copy-on-writeto be set as thelxc_container_backing_methodwhen thelxc_container_backing_storeis set tolvm. When this is set a base container will be created using a name of the form <linux-distribution>-distribution-release>-<host-cpu-architecture>. The container will be stopped as it is not used for anything except to be a backing store for all other containers which will be based on a snapshot of the base container.
When using copy-on-write backing stores for containers, the base container name may be set using the variable
lxc_container_base_namewhich defaults to <linux-distribution>-distribution-release>-<host-cpu-architecture>.
The container cache preparation process now allows
overlayfsto be set as thelxc_container_backing_store. When this is set a base container will be created using a name of the form <linux-distribution>-distribution-release>-<host-cpu-architecture>. The container will be stopped as it is not used for anything except to be a backing store for all other containers which will be based on a snapshot of the base container. Theoverlayfsbacking store is not recommended to be used for production unless the host kernel version is 3.18 or higher.
The lxc_hosts role can now make use of a primary and secondary gpg keyserver for gpg validation of the downloaded cache. Setting the servers to use can be done using the
lxc_image_cache_primary_keyserverandlxc_image_cache_secondary_keyservervariables.
The
lxc_hostcache prep has been updated to use the LXC download template. This removes the last remaining dependency the project has on the rpc-trusty-container.tgz image.
The
lxc_hostrole will build lxc cache using the download template built from images found here. These images are upstream builds from the greater LXC/D community.
The
lxc_hostrole introduces support for CentOS 7 and Ubuntu 16.04 container types.
The lxc_hosts role now supports the ability to configure whether apt/yum tasks install the latest available package, or just ensure that the package is present. The default action is to ensure that the latest package is present. The action taken may be changed to only ensure that the package is present by setting
lxc_hosts_package_statetopresent.
Support had been added to allow the functional tests to pass when deploying on ppc64le architecture using the Ubuntu distributions.
Upgrade Notes¶
The
ca-certificatespackage has been included in the LXC container build process in order to prevent issues related to trying to connect to public websites which make use of newer certificates than exist in the base CA certificate store.
The LXC container cache preparation process now copies package repository configuration from the host instead of implementing its own configuration. The following variables are therefore unnecessary and have been removed:
lxc_container_template_main_apt_repolxc_container_template_security_apt_repolxc_container_template_apt_components
The LXC container cache preparation process now copies DNS resolution configuration from the host instead of implementing its own configuration. The
lxc_cache_resolversvariable is therefore unnecessary and has been removed.
The
lxc_hostrole no longer uses the distro specific lxc container create template.
The following variable changes have been made in the
lxc_hostrole:lxc_container_user_password: Removed because the default lxc container user is no longer created by the lxc container template.
lxc_container_template_options: This option was renamed to lxc_cache_download_template_options. The deprecation filter was not used because the values provided from this option have been fundamentally changed and potentially old overrides will cause problems.
lxc_container_base_delete: Removed because the cache will be refreshed upon role execution.
lxc_cache_validate_certs: Removed because the Ansible
get_urlmodule is no longer used.lxc_container_caches: Removed because the container create process will build a cached image based on the host OS.
The variable
lxc_apt_packageshas been renamed tolxc_hosts_distro_packages.
The lxc_hosts role always checks whether the latest package is installed when executed. If a deployer wishes to change the check to only validate the presence of the package, the option
lxc_hosts_package_stateshould be set topresent.
Hosts running LXC on Ubuntu 14.04 will now need to enable the “trusty-backports” repository. The backports repo on Ubuntu 14.04 is now required to ensure LXC is updated to the latest stable version.
Bug Fixes¶
The check to validate whether an appropriate ssh public key is available to copy into the container cache has been corrected to check the deployment host, not the LXC host.