Git Product home page Git Product logo

ansible-role-proxmox-vms's Issues

Installation Failed

hi Guys,

i use Proxmox 6.3 (the newst Version) and i tried to play with you cool ansible playbook.

But it seems somethink happend with your variable or proxmox changed the API maybe:

failed: [node07.] (item={'key': '<test.bla.de>', 'value': {'node': 'node07', 'root_password': 'test', 'ubuntu_distribution': 'xenial', 'locale': 'de_DE', 'memory_size': 1024, 'virtio': '{"virtio0":"local-lvm:50,cache=writeback,discard=on"}', 'network': {'ip': '192.168.100.100', 'netmask': '255.255.255.0', 'gateway': '192.168.100.1', 'nameserver': '1.1.1.1', 'domainname': 'test.'}}}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "<test.bla.de>", "value": {"locale": "de_DE", "memory_size": 1024, "network": {"domainname": "test.**", "gateway": "192.168.100.1", "ip": "192.168.100.100", "nameserver": "1.1.1.1", "netmask": "255.255.255.0"}, "node": "node07", "root_password": "test", "ubuntu_distribution": "xenial", "virtio": "{"virtio0":"local-lvm:50,cache=writeback,discard=on"}"}}, "msg": "creation of qemu VM <test.bla.de> with vmid 107 failed with exception=400 Bad Request: Parameter verification failed. - {"errors":{"name":"invalid format - value does not look like a valid DNS name\n"},"data":null}"}

i Can change the name: to test.bla.de in the main/task.yml but then it fails after create the kernel for the first boot.

Maybe you guese have an Idea what happend.

Cheers

Specified network bridge doesn't get used

I modified the defaults/main.yml to set the network to a vswitch with internet connection.

Here's what I added:
net: '{"net0":"virtio,bridge=vmbr2"}'
FULL main.yml

When I executed the sample playbook, the installation keeps getting stuck and fails on BAD ARCHIVE MIRROR.

What I tried:
Going to to the proxmox UI, the VMs had this as the bridge:
image

To make it work (create VMs and continue ubuntu installation), I had to re-select the correct (vmbr2) switch from the proxmox GUI.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.