FS#69652 - [terraform-provider-libvirt] missing dependency cdrtools
Attached to Project:
Community Packages
Opened by Adler Jonas Gross (Betal) - Monday, 15 February 2021, 23:03 GMT
Last edited by David Runge (dvzrv) - Tuesday, 16 February 2021, 09:15 GMT
Opened by Adler Jonas Gross (Betal) - Monday, 15 February 2021, 23:03 GMT
Last edited by David Runge (dvzrv) - Tuesday, 16 February 2021, 09:15 GMT
|
Details
Description:
terraform-provider-libvirt fail to generate a cloudinit disk if cdrtools package ('mkisofs') is not installed. By [1] we have that mkisofs is required for cloudinit. [1] https://github.com/dmacvicar/terraform-provider-libvirt/blob/master/README.md#installing Package version: terraform-provider-libvirt 0.6.3-1 Steps to reproduce: 1) Create an empty directory 2) cd to this directory 3) Create this minimal configuration file to cause the error: # sample bug.tf terraform { required_providers { libvirt = { source = "dmacvicar/libvirt" } } } provider "libvirt" { uri = "qemu:///system" } resource "libvirt_cloudinit_disk" "cloud_init" { name = "cloud_init.iso" } 4) Execute `terraform init` and `terraform apply`, answer "yes" to approve the terraform execution. We should get the following output: " libvirt_cloudinit_disk.cloud_init: Creating... Error: Error while starting the creation of CloudInit's ISO image: exec: "mkisofs": executable file not found in $PATH on bug.tf line 11, in resource "libvirt_cloudinit_disk" "cloud_init": 11: resource "libvirt_cloudinit_disk" "cloud_init" { " |
This task depends upon
Closed by David Runge (dvzrv)
Tuesday, 16 February 2021, 09:15 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with terraform-provider-libvirt 0.6.3-2
Tuesday, 16 February 2021, 09:15 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with terraform-provider-libvirt 0.6.3-2