Skip to content

Releases: dmacvicar/terraform-provider-libvirt

v0.6.9-pre2

28 Jun 21:58

Choose a tag to compare

Pre-release of the new pure-go terraform-libvirt-provider

v0.6.3

10 Nov 21:39

Choose a tag to compare

Highlights:

After many months in a very difficult year for everyone, we are proud to present a new release of the libvirt provider.

Native Linux rpm and deb packages are available here.

Networking:

  • Make static IP addresses permanent across reboots (#763)
  • Correctly handle destruction of inactive networks (#742)
  • Workaround race condition with bridges names when creating bridges in parallel (#789)
  • Implement network detection for static IPs (#766)
  • Trim the bridge name to 15 characters (#769)
  • increase timeout/delay for qemu-guest-agent (#732)
  • Adjust generated DHCP to match libvirt limitation of 65535 addresses (#753)
  • Enable DHCP for isolated networks (#767)

Domains:

  • Lookup machine type correctly so that it works after Terraform destroy (#726)

Multi-arch support

  • Skip display setup for aarch64 as well ( #743)

Misc

  • Ensure pts devices exist during tests by creating them dynamically (#724)
  • Log useful error message if xsltproc cannot be executed (#729)
  • Fix test failure of TestAccLibvirtVolume_RepeatedName (#733)
  • Cleanup: Remove unused function and variables (#761)

Contributors:

@itwars @dancysoft @Xachman @dirkmueller @MalloZup @johscheuer @mrostecki @pablochacin @vmorris @mrostecki @ngyuki @dmacvicar

Outlook

The focus for the next release will be to attempt to get the provider in the Terraform registry.

v0.6.2

03 Apr 16:14
8cbe9ad

Choose a tag to compare

Highlights:

  • Set the hostname for dhcp networks: (#714)

  • Allow creating a bridged networks (#685)

  • Remove default value for SCSI disk (#690)

  • Update domain running state when refreshed (#668)

  • Add description field to domain (#692)

  • Fix issue "unable to pass disk map to disk in resource domain" (#707)

  • Use virtio-blk instead of disk for injecting ignition config for s390x and ppc64 (#718)

Contributors:

Thanks a lot for all the contributors that made this release possible:
@dmacvicar @flavio @MalloZup @pablochacin @goraxe @rjmateus @inercia @Naewis @moio @sferich888 and others.

v0.6.1

04 Jan 01:50

Choose a tag to compare

Highlights:

  • Use config-drive instead of guestfish on s390x to deliver Ignition configuration
    (#678)
  • Block device support for domains
    (#670)
  • Avoid unnecessary delay on volume operations
    (#680)
  • Migrate to terraform-plugin-sdk
    (#677)
  • Fix handling of volumes when backing directory is removed
    (#681)
  • Allow to generate readthedocs.org style html documentation
    (#655)

Contributors:

Thanks a lot for all the contributors that made this release possible: @MalloZup @LorbusChris @crawford @moio @muroj and others.

v0.6.0

05 Oct 10:05
1c8597d

Choose a tag to compare

Highlights:

  • Update terraform to latest major release (v0.12) (#609)
  • Update examples and documentation to reflect this change (#609)
  • Dropped support for openSUSE Leap 42.3. Builds will only be provided for 15.0 and newer.

Incompatibilities / Warnings

  • If you are upgrading from 0.5.1, you may git a problem regarding disk naming (hda vs hdd). See this comment for a workaround.

Features and bugfixes:

  • Taint volumes when the network installation fail. #648
  • add fw_cfg_name option. #627
  • Better support for LVM volumes. #639
  • Support Ignition on s390 where fw_cfg is not usable. #629

Tools

  • Acceptance tests (testacc) are enabled again in Travis CI. #600

Contributors:

Thanks a lot for all the contributors that made this release possible: @MalloZup @zeenix @tripledes @enool @tormath1 @cyril-s and others.

v0.5.2

03 Jun 15:51
c0e46b5

Choose a tag to compare

0.5.2 (June 3, 2019)

HIGHLIGHTS:

This is the last planned release based on Terraform 0.11.x. We plan to switch to 0.12.x in the next release.

Pool storage (new) :

  • Add EXPERIMENTAL libvirt storage pool directory terraform resource (#571). WARNING: This is a technical preview and may be removed in the future.

Domain:

Network:

Bug fixes:

  • Fix unsupported configuration "'unsupported configuration: disk type 'virtio' of 'vda' does not support ejectable media" (#598).
  • Enable to leave network card without ip address (#556).

Misc:

  • Switch to go modules: (#553).

Thanks

Thanks to everyone who contributed in this release, notably:

@MalloZup @zeenix, @inercia @dmacvicar @enool @abbbi @klauserber @squeed @praveenkumar

v0.5.1

14 Dec 16:37
d5e60df

Choose a tag to compare

0.5.1 (December 14, 2018)

HIGHLIGHTS:

  • The provider will retry HTTP downloads if they were caused by server errors (#479)
  • XSLT can be used to transform the libvirt XML definition before creating resources, allowing to enable features the provider does not support (#431)
  • volumes: when the HEAD method is forbidden, the provider will try a body-less GET instead (#472)
  • network: add support for updating dns.hosts (#469)
  • network: add support for setting SRV entries (#460)
  • qemu-agent: do not contact the qemu agent if the domain is shutdown (#474)
  • cli: add -version flag (#444)

Thanks to everyone who contributed:
Dario Maiocchi, Silvio Moioli, W. Trevor King, Abhinav Dahiya and others!

v0.5.0

10 Oct 20:40

Choose a tag to compare

0.5.0 (October 10, 2018)

HIGHLIGHTS:

libvirt Domain

  • cloud_init resource is obsolete and replaced with cloud_init_disk (#410)

    The resource does not allow individual fields anymore, and directly takes the user_data, network_config and meta_data fields, which you can provide directly or reading from a file, optionally using a template resource and the rendered function. See the updated documentation.

Volumes/Disk/Storage

  • Allow to set the size of a volume larger than its backing volume, which allows to resize the partition then using cloud-init, and not be limited by the backing image (#369 and #357). Example.

v0.4.4

16 Sep 16:40

Choose a tag to compare

0.4.4 (September 16, 2018)

HIGHLIGHTS:

libvirt Domain

  • TF_USE_QEMU_AGENT variable is deprecated and replaced by a domain property qemu_agent.
    Because variables can be interpolated into properties, and variables can be passed via environment variables, the old behavior can be emulated.

Volumes/Disk/Storage

  • Automatic disk driver selection based on volume format and automatic volume format detection(676b5a3)

Networking

  • dhcp paramater is an optional parameter now, disabled by default. (#385)
  • DNS forwarders were reworked. localonly option was added to libvirt-network (7651ee5)
  • A datasource called libvirt_network_dns_hosts_template can be used to populate the dns_host attribute in libvirt_network resources. (a4d0ba6)

General improvements

  • Acceptance tests are now idempotent (no dependency between resource of various tests), which avoids cascade failures. (several PRs and commits)
  • Project dependencies were updated ( 1347e7c)
  • The error message when uploading a volume fails was improved (1aec44e)

Bugs

  • netIface["bridge"] now uses the correct value (2e93c78)

v0.4.3

14 Aug 12:51

Choose a tag to compare

0.4.3 (August 14, 2018)

HIGHLIGHTS:

  • IMPORTANT qemu-agent is not used by default to gather network
    interface information anymore. If you need to use, please set
    the TF_USE_QEMU_AGENT environment variable.

  • Handle gracefully out-of-band destruction of volume and cloud-init
    resources. Should provide a better end-user experience in day to day
    operations.