Skip to content

Latest commit

 

History

History
237 lines (165 loc) · 9.9 KB

File metadata and controls

237 lines (165 loc) · 9.9 KB

Community.Libvirt Release Notes

This is the minor release of the community.libvirt collection. This changelog contains all changes to the modules and plugins in this collection that have been made after the previous release.

  • virt_cloud_instance - added commands return field to provide visibility into executed commands during VM provisioning.
  • virt_install - added commands return field to provide visibility into executed commands during VM provisioning.
  • libvirt_qemu - Vendor _parse_clixml locally to fix ImportError on ansible-core devel (2.21+).

This is the minor release of the community.libvirt collection. This changelog contains all changes to the modules and plugins in this collection that have been made after the previous release.

  • virt_install - added support for memoryBacking source type configuration, including memfd for shared memory (#228).
  • virt_install - added support for primary value attribute (_value or value) in dynamic dict options that require a primary value alongside additional attributes.
  • virt_install - enhanced cloud_init configuration handling for sub-options (meta-data, user-data, and network-config) to support both string and dictionary inputs.
  • virt_install - refactored common virt-install functionality into module_utils and doc_fragments to enable code reuse between modules.
  • virt_volume - New return key/value pairs 'Type', 'Capacity' and 'Allocation' were added to command 'list_volumes' (#187)
  • virt_volume - added ability to resize volumes if defined capacity is different. If volume already exists and defined capacity in XML differs a resize is attempted.
  • virt_install - fixed cloud_init configuration handling for meta-data, user-data, and network-config.
  • virt_install - fixed the dict-based options handling for events, resource, and sysinfo options.
  • community.libvirt.virt_cloud_instance - Provision new virtual machines from cloud images via libvirt

This is a major release of the community.libvirt collection. This changelog contains all changes to the modules and plugins in this collection that have been made after the previous release.

  • virt_volume - a new command 'create_cidata_cdrom' enables the creation of a cloud-init CDROM, which can be attached to a cloud-init enabled base image, for bootstrapping networking, users etc.
  • virt_volume - the commands create_from, delete, download, info, resize, upload, wipe, facts did not work and were not tested. They have either been refactored to work, and tested, or removed.
  • virt_volume - the mechanism of passing variables to the member functions was not flexible enough to cope with differing parameter requirements. All parameters are now passed as kwargs, which allows the member functions to select the parameters they need.
  • virt_volume - the module appears to have been derived from virt_pool, but not cleaned up to remove much non-functional code. It has been refactored to remove the pool-specific code, and to make it more flexible.
  • virt_volume - PoolConnection class has been removed
  • virt_volume - the 'deleted' state has been removed as its definition was not entirely accurate, and the 'wipe' boolean option is added to 'state/absent' and 'command/delete'.
  • virt_volume - undocumented but unused FLAGS have been removed.
  • virt_volume - undocumented but unused/non-functional functions (get_status, get_status2, get_state, get_uuid, build) have been removed.
  • virt_volume - create_from was non-functional, and is now folded into create (added clone_source parameter). Fixes
  • virt_volume - info, facts, download, upload commands have been removed as they were not functional (and not tested).
  • virt_volume - wipe command now works (and is also a boolean option for 'state/absent' and 'command/delete').
  • virt_volume - check_mode is disabled. It was not fully supported in the previous code either ('state/present', 'command/create' did not support it).
  • community.libvirt.virt_install - Provision new virtual machines using virt-install tool

This is the minor release of the community.libvirt collection. This changelog contains all changes to the modules and plugins in this collection that have been made after the previous release.

  • community.libvirt.virt_volume - Manage libvirt volumes inside a storage pool

This is the patch release of the community.libvirt collection. This changelog contains all changes to the modules and plugins in this collection that have been made after the previous release.

  • libvirt_lxc - add configuration for libvirt_lxc_noseclabel.

This is a new release of the community.libvirt collection. This changelog contains all changes to the modules and plugins in this collection that have been made after the previous release.

  • virt - add mutate_flags parameter to enable XML mutation (add UUID, MAC addresses from existing domain) (#142).
  • virt - support --diff for define command (#142).
  • libvirt_qemu - connection plugin threw a warning about an improperly configured remote target. Fix adds inventory_hostname to options.remote_addr.vars (#147).
  • libvirt_qemu - fix encoding errors on Windows guests for non-ASCII return values (#157)
  • virt - fix virt module to undefine a domain with nvram, managed_save, snapshot_metadata or checkpoints_metadata (#40).
  • virt_pool - replace discouraged function listAllVolumes with listAllVolumes to fix potential race conditions (#135).
  • virt_pool - replace discouraged functions listStoragePools and listDefinedStoragePools with listAllStoragePools to fix potential race conditions (#134).

This is the minor release of the community.libvirt collection. This changelog contains all changes to the modules and plugins in this collection that have been made after the previous release.

  • libvirt - add extra guest information to inventory (#113).
  • libvirt - replace the calls to listDomainsID() and listDefinedDomains() with listAllDomains() in find_vm() (#117)
  • virt_net - fix modify function which was not idempotent, depending on whether the network was active. See #107.
  • virt_pool - crashed out if pool didn't contain a target path. Fix allows this not to be set. (#129).

This is the minor release of the community.libvirt collection. This changelog contains all changes to the modules and plugins in this collection that have been made after the previous release 1.0.2.

  • replace deprecated distutils.spawn.find_executable with Ansible's get_bin_path in _search_executable function.

This is the patch release of the community.libvirt collection. This changelog contains all changes to the modules and plugins in this collection that have been made after release 1.0.1.

  • libvirt inventory plugin - Use FQCN for the inventory plugin name for compatibility with Ansible 2.10 and above (#73).
  • libvirt_qemu - Mitigate a CPU hammering active wait loop
  • libvirt_qemu - add import error handling
  • virt - Correctly get the error message from libvirt
  • virt - Return "changed" status when using "define" command and domain XML was updated
  • virt - The define action searchs for the domain name into the xml definition to determine if the domain needs to be created or updated. The xml variable contains the parsed definition but doesn't guarantee the existence of the name tag. This change targets to fix the scenario where the xml var is not empty but doesn't contain a name tag.
  • virt_net - The name parameter is not required for the list_nets or facts command so we adjust the module to allow for that.
  • added generic libvirt inventory plugin
  • removed libvirt_lxc inventory script