Terraform-provider-libvirt: Terraform 0.12 update

Created on 23 May 2019  路  5Comments  路  Source: dmacvicar/terraform-provider-libvirt

Description of Issue

Terraform reached it's 0.12 release. Would be great to make libvirt provider compatible with it.


System Information

./terraform-provider-libvirt f02e17b6216975e343690e34c73f375b5022da92
Compiled against library: libvirt 5.3.0
Using library: libvirt 5.3.0
Running hypervisor: QEMU 4.0.0
Running against daemon: 5.3.0

Terraform v0.12.0

Additional information:

At the moment an attempt to run plan fails with API incompatibility error:

~/dev/virt> tf plan
Error: Failed to instantiate provider "libvirt" to obtain schema: Incompatible API version with plugin. Plugin version: 4, Client versions: [5]
enhancement need investigation

Most helpful comment

@alkersan thanks for this issue. I was creating myself an issue for this as reminder.

The release of 0.12 was announced yesterday.
IT will be on our radar to migrate to 0.12 version.

Currently we will need to investigate what the new version can break in term of backward compatibility (if any breakage), what need to be adapted etc..

But yes definitely it something we will do soon :rocket: :balloon: .

All 5 comments

@alkersan thanks for this issue. I was creating myself an issue for this as reminder.

The release of 0.12 was announced yesterday.
IT will be on our radar to migrate to 0.12 version.

Currently we will need to investigate what the new version can break in term of backward compatibility (if any breakage), what need to be adapted etc..

But yes definitely it something we will do soon :rocket: :balloon: .

@MalloZup Is there any ETA on this? Compatibility with Terraform 0.12 is quite important, as other projects required the upgrade what rendered KVM infrastructure unmanageable for the time being.

@BartoszMilewski we want to release a version in short term with the actual master. After this the terraform v12 should be the fist item of our stack. @dmacvicar cc

In the meantime, it's a workaround to use the latest previous 0.11 version (0.11.14) from here: https://releases.hashicorp.com/terraform/0.11.14/

This may be a solutions for beginners like me who just want to play around with Vagrant and libvrt. I can understand that this doesn't solve the problem for users with conflicting other plugins, here you'll need to wait for the announced update.

I'm closing this issue since we plan to do real work and update in this issue https://github.com/dmacvicar/terraform-provider-libvirt/issues/605.

As an update, we have already a PR for doing the updat thx to @tripledes, the main work will be to see if we have any regression, pkging. No other feature will be merged into next release.

Thx to everybody :cupid:

Was this page helpful?
0 / 5 - 0 ratings