
On Thu, Jun 15, 2017 at 9:30 PM, khalid mahmood <engkhalid21986@yahoo.com> wrote:
Dear Users
*Procedure :* 1- create clean volume replica 2 distributed with glusterfs .
Only replica 3 or replica 3 with arbiter is supported as storage domain in oVirt
2- create clean ovirt-engine machine . 3- create clean vm from scratch then create template from this vm. 4- then create two vm from this template (vm1) & (vm2). 5- then delete the two vm . 6- create new two vm with the same name (vm1) & (vm2) from the template . 7- till now the two vm stable and work correctly . 8- repeat no (7) three time all vm's is working correctly .
*issue :* i have ansible playbook to deploy vm's to our ovirt , my playbook use the above template to deploy the vm's . my issue is after ansible script deploy the vm's , all vm's disk crash and the template disk is crash also and the script make change into the template checksum hash .
you can look at ansible parameters :
- hosts: localhost connection: local gather_facts: false tasks: - name: entering ovirt_auth: url: https://ovirt-engine.elcld.net:443/ovirt-engine/api username: admin@internal password: pass insecure: yes - name: creating ovirt_vms: auth: "{{ ovirt_auth }}" name: myvm05 template: mahdi #state: present cluster: Cluster02 memory: 4GiB cpu_cores: 2 comment: Dev #type: server cloud_init: host_name: vm01 user_name: root root_password: pass nic_on_boot: true nic_boot_protocol: static nic_name: eth0 dns_servers: 109.224.19.5 dns_search: elcld.net nic_ip_address: 10.10.20.2 nic_netmask: 255.255.255.0 nic_gateway: 10.10.20.1 - name: Revoke ovirt_auth: state: absent ovirt_auth: "{{ ovirt_auth }}"
can you assist me with this issue by checking if that any missing in my ansible .
best regards
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users