Pike Series Release Notes¶
16.0.7¶
New Features¶
The tag options when creating an LXC container have been simplified. The two tags now supported by the lxc_container_create role are lxc-{create,config}.
Upgrade Notes¶
The LXC container create option lxc_container_backing_store is now defined by default and has a value of “dir”. Prior to this release the backend store option was using several auto-detection methods to try and guess the store type based on facts fed into the role and derived from the physical host. While the auto-detection methods worked, they created a cumbersome set of conditionals and limited our ability to leverage additional container stores. Having this option be a default allows deployers to mix and match container stores to suit the needs of the deployment. Existing deployments should set this option within group or user variables to ensure there’s no change in the backend store when new container be provisioned.
Other Notes¶
The LXC container create role will now check for the LXC volume group if the option lxc_container_backing_store is set to “lvm”. If this volume group is not found, the role will halt and instruct the deployer to update their configuration options and inspect their host setup.
16.0.0¶
New Features¶
In the lxc_container_create role, the keys
preup
,postup
,predown
, andpostdown
are now supported in thecontainer_networks
dict for Ubuntu systems. This allows operators to configure custom scripts to be run by Ubuntu’s ifupdown system when network interface states are changed.
Added the
lxc_container_recreate
option, which will destroy then recreate LXC containers. The container names and IP addresses will remain the same, as will the MAC addresses of any containers using thelxc_container_fixed_mac
setting.
MAC addresses for containers with a fixed MAC (lxc_container_fixed_mac variable) are now saved to the
/etc/ansible/facts.d/mac.fact
file. Should such a container be destroyed but not removed from inventory, the interfaces will be recreated with the same MAC address when the container is recreated.
Add support for Ubuntu on IBM z Systems (s390x).
Upgrade Notes¶
The var
lxc_container_ssh_delay
along with SSH specific ping checks have been removed in favor of using Ansible’s wait_for_connection module, which will not rely on SSH to the container to verify connectivity. A new variable calledlxc_container_wait_params
has been added to allow configuration of the parameters passed to thewait_for_connection
module.
Deprecation Notes¶
The var
lxc_container_ssh_delay
along with SSH specific ping checks have been removed in favor of using Ansible’s wait_for_connection module, which will not rely on SSH to the container.