p0tr3c / terrakvm Goto Github PK
View Code? Open in Web Editor NEWSpin up KVM VM via Terraform
License: MIT License
Spin up KVM VM via Terraform
License: MIT License
Error Message:
libvirt_domain.dev: Error creating libvirt domain: virError(Code=55, Domain=19, Message='Requested operation is not valid: network 'default' is not active')
If you don't create a VM struct in the project definition, then default VM value is used and terrakvm instance is deployed
The passwd parameter is not correctly configuring user's password
Error Message:
TASK [ansible-role-terrakvm : Deploy via terraform] *********************************************************************************************************
Sunday 11 August 2019 11:19:47 +0000 (0:00:00.023) 0:01:11.270 *********
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Terraform plan could not be created\r\nSTDOUT: Refreshing Terraform state in-memory prior to plan...\nThe refreshed state will be used to calculate this plan, but will not be\npersisted to local or remote state storage.\n\ndata.template_file.dev_user_data: Refreshing state...\n\n------------------------------------------------------------------------\n\r\n\r\nSTDERR: \nError: Error running plan: 1 error(s) occurred:\n\n* provider.libvirt: virError(Code=94, Domain=60, Message='authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'')\n\n\n"}
Default ubuntu cloud images are not booting via libvirt volumes.
The same images will boot with virt-install
The templated terraform configuration file network.tf is not alligned
This may be the cloud-init issue which waits long time for network config from metadata server.
There is an issue with all Fedora Cloud images and cloudinit network configuration.
The network configuration templates are not working
If specify a static IP address, the templated inventory file complains about missing address in state file
Stage:
Task => Deploy via terraform
Error summary:
Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied'
System Details:
Docker: Docker version 18.09.1, build 4c52b90
Docker-compose: docker-compose version 1.23.2, build 1110ad01
Virsh: 4.0.0
Libvirtd: libvirtd (libvirt) 4.0.0
OS: Linux ubuntu 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
Error Message:
libvirt_volume.dev_root: 1 error(s) occurred:\n\n* libvirt_volume.dev_root: can't find storage pool 'default'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.