Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix whitespace in volume names #12

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

sluetze
Copy link
Contributor

@sluetze sluetze commented Feb 14, 2022

the name generator implies 2 digit names. Since the "0" was missing, single-digit instances failed in creation when using lvm_backend

│ Error: error creating libvirt volume for cloudinit device tftest_init 1.iso: internal error: Child process (/sbin/lvcreate --name 'tftest_init 1.iso' -L 366K vg_raid5_backend) unexpected exit status 3:   Logical volume name "tftest_init 1.iso" is invalid.
│   Run `lvcreate --help' for more information.
│ 
│ 
│   with module.vm.libvirt_cloudinit_disk.commoninit[0],
│   on .terraform/modules/vm/storage.tf line 21, in resource "libvirt_cloudinit_disk" "commoninit":
│   21: resource "libvirt_cloudinit_disk" "commoninit" {
│ 

@MonolithProjects
Copy link
Owner

lgtm. thanks!

@MonolithProjects MonolithProjects merged commit ad6c5ae into MonolithProjects:main Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants