[ovirt-users] Deploy Ovirt VM's By Ansible Playbook Issue
Martin Perina
mperina at redhat.com
Fri Jun 16 07:42:44 UTC 2017
Hi,
It seems like some storage issue, could you please share your engine logs?
Regards
Martin Perina
On Thursday, June 15, 2017, khalid mahmood <engkhalid21986 at yahoo.com> wrote:
> Dear Users
> Procedure :
> 1- create clean volume replica 2 distributed with glusterfs .
> 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 at 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170616/ab0a2324/attachment.html>
More information about the Users
mailing list