[ovirt-users] Re: I wrote an article on using Ansible to backup oVirt VMs

2020-02-11 Thread Jan Zmeskal
Great read, Jayme. Thank you very much for sharing this in the open-source
way!

Jan

On Mon, Feb 10, 2020 at 11:56 PM Torsten Stolpmann <
torsten.stolpm...@verit.de> wrote:

> Thanks Jayme, much appreciated!
>
> On 10.02.2020 16:59, Jayme wrote:
> > I've been part of this mailing list for a while now and have received a
> > lot of great advice and help on various subjects. I read the list daily
> > and one thing I've noticed is that many users are curious about backup
> > options for oVirt (myself included). I wanted to share with the
> > community a solution I've come up with to easily backup multiple running
> > oVirt VMs to OVA format using some basic Ansible playbooks. I've put
> > together a blog post detailing the process which also includes links to
> > a Github repo containing the playbooks here:
> >
> https://blog.silverorange.com/backing-up-ovirt-vms-with-ansible-4c2fca8b3b43
> >
> > Any feedback, suggestions or questions are welcome. I hope this
> > information is helpful.
> >
> > Thanks!
> >
> > - Jayme
> >
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> > List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/U65CV5A6WC6SCB2R5N66Y7HPXQ3ZQT2H/
> >
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/SLMGCTPHMQXOL7XV2SCF35V5VH5LP7RV/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FAVZG32TPSX67DTXIHMGIQXUXNG3W3OE/


[ovirt-users] Re: oVirt API - New vm on specified storage

2020-02-04 Thread Jan Zmeskal
Hi Tommaso,

I don't have much experience with API, but let me ask differently: Have you
tried using oVirt Ansible modules
<https://docs.ansible.com/ansible/latest/modules/list_of_cloud_modules.html#ovirt>
to achieve your goal? It's really easy to create a vm with ovirt_vm
<https://docs.ansible.com/ansible/latest/modules/ovirt_vm_module.html#ovirt-vm-module>
and oVirt engine already includes all the requirements for that.

Jan

On Tue, Feb 4, 2020 at 11:08 AM Tommaso - Shellrent 
wrote:

> Hi to all.
>
> we are tring to create a new VM via API, but we are unable to select
> the desidered storage where to deploy it.
>
> We make a call like this:
>
>
> CALL:
>
> POST /ovirt-engine/api/vms?clone=true
>
>
>
> Data:
>
> {"cpu":{"topology":{"sockets":1,"cores":4,"threads":1}},"memory":4294967296,"memory_policy":{"guaranteed":4294967296,"max":4294967296},"disk_attachments":[{"disk":{"id":"925c999e-536f-4905-bc54-5cf64477a3a7","format":"cow","storage_domains":[{"id":"a772c71a-bd7b-4898-9497-120dcd853d96"}]}}],"name":"apitest.domain.com","fqdn":"apitest.domain.com","cluster":{"id":"890681f6-e0fe-11e9-81b5-027c8e05"},"template":{"id":"45da14a2-7f6f-43d9-9481-19a2034700fe"}}
>
>
> But the reply is:
>
> Reply HTTP 400
> {
>   "detail" : "For correct usage, see:
> https://XXX/ovirt-engine/apidoc#services/vms/methods/add
> <https://ovirt-engine.serverlet.com/ovirt-engine/apidoc#services/vms/methods/add>
> ",
>   "reason" : "Request syntactically incorrect."
> }
>
>
> Have someone some suggestion or good example??
>
>
> Best regards.
> --
> [image: Shellrent Logo]
> *Tommaso De Marchi*
> COO Chief Operating Officer - Shellrent S.r.l.
> Tel. 0444321155 <+390444321155> | Fax 04441492177
> Via dell'Edilizia, 19 - 36100 Vicenza
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/NBXQHG26GOYVUHOORAS7K7QU3YTBER7B/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IH4OOQGJXGUNKLLJKUXGUG7BGBVPKK7L/


[ovirt-users] Re: API OVA export - getting job id/job status

2020-01-24 Thread Jan Zmeskal
Hi Lars, you might find this email thread interesting:
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/PXYAQ7YEBQCUWCAQCFAFXB3545LNB23X/

Jayme is trying to solve pretty much the same problem as you - although
he's using the Ansible approach instead of SDK. Feel free to join that
conversation. At this point it seems like he might have found a good
solution, but he needs to test it.

Jan

On Fri, Jan 24, 2020 at 8:33 AM  wrote:

> hi,
>
> I tryed this with API 4.2 and 4.3.
> purpose of the following script is, to export a given list of vm as OVA
> one after another.
> To reach that i need to monitor the job status and pause the script till
> the actual export is done.
> The script works fine, but not the restriction of the returned jobs to the
> one spcificaly job i need to monitor.
> Therefor the script pauses on *any* running job.
> the working script:
>
> #!/usr/bin/python
>
> import logging
> import time
>
> import ovirtsdk4 as sdk
> import ovirtsdk4.types as types
>
> connection = sdk.Connection(
> url='https://ovirtman12/ovirt-engine/api',
> username='admin@internal',
> password='***',
> ca_file='/etc/pki/ovirt-engine/ca-ovirtman12.pem',
> )
>
>
> hosts_service = connection.system_service().hosts_service()
> hosts = hosts_service.list()[0]
>
> vms_service = connection.system_service().vms_service()
> vms = vms_service.list(search='name=blxlic954')
>
> for vm in vms:
> # print("%s (%s)" % (vm.name, vm.id))
> vm_service = vms_service.vm_service(vm.id)
> start_time = (time.strftime('%Y%m%d_%H%M%S',
> time.localtime(int(time.time()
> vm_service.export_to_path_on_host(
> host=types.Host(id=hosts.id),
> directory='/nfs_c3/export',
> filename=('%s_backup_%s.ova' % (vm.name, start_time)),
> wait=True,
> )
> #time.sleep(5)
> jobs_service = connection.system_service().jobs_service()
> jobs = jobs_service.list(search='')
> for job in jobs:
> print(job.id, job.description)
> #job = jobs_service.job_service(job.id).get()
> while job.status == types.JobStatus.STARTED:
> time.sleep(10)
> job = jobs_service.job_service(job.id).get()
> print('job-status: %s' % (job.status))
>
> connection.close()
>
> The line
> jobs = jobs_service.list(search='')
> works fine as long as the search pattern is empty.
>
> if i try to restrict the results returned like this:
> jobs = jobs_service.list(search='description=*blxlic954*')
> i get an error:
>
>  bad sql grammar [select * from (select * from job where ( job id in
> (select distinct job.job id from  job   where  (  ) ))  order by start time
> asc) as t1 offset (1 -1) limit 2147483647]; nested exception is
> org.postgresql.util.psqlexception: error: syntax error at or near ")"
>
> looks like the 'where' clause is not filled correctly.
>
> Am i wrong with my syntax or ist that a bug?
> Is there another way to get the correct job id/status?
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZVFUE32ORCMN7EBRR7PXKRWAJJV4MAIB/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3FAXEKVKJUMHEEBIMN4OREBA3H6QMTIS/


[ovirt-users] Re: ovirt_vm ansible module -- how to wait for ova export to finish

2020-01-23 Thread Jan Zmeskal
Hi Jayme,

let us know how it went. Anyway, if you ever run into hard timeout, don't
despair. It also happened to me once when working with Ansible oVirt
modules and I just created an issue on GitHub where I requested this
timeout to be changed from hard-coded value to a configurable parameter
with some reasonable default. It was implemented rather quickly.

Jan

On Thu, Jan 23, 2020 at 4:32 PM Jayme  wrote:

> That may work since the file will be tmp until finished being written. I
> was also just looking at the ovirt event info module
> https://docs.ansible.com/ansible/latest/modules/ovirt_event_info_module.html#ovirt-event-info-module
>  --
> I was thinking that I might be able to watch the event info wait on the
> event which shows the export was successful i.e. Vm X was exported
> successfully as a Virtual Appliance to path
>
> There is also the event index which could be useful in terms of getting a
> starting point for the event search.
>
> I thought there would be a module or API for the running oVirt task list
> but so far I haven't been able to find any way to get info on oVirt tasks.
>
> I'll see if I can get something working with your suggestion and keep
> looking at API and ansible modules to see which make sense to use.
>
> I'm also worried that timeout issues may occur if I start waiting in some
> cases an hour or more for very large VM backups to complete before moving
> on to the next with ansible.
>
> Thanks!
>
> Jayme
>
> On Thu, Jan 23, 2020 at 10:00 AM Jan Zmeskal  wrote:
>
>> Hi Jayme,
>>
>> here's my idea. I haven't tested it but I believe it should work.
>> 1. Create a new task file (let's call it export_vm.yaml) and include two
>> tasks in there:
>> 1.1. First task uses ovirt_vm module (pretty much what you already have)
>> to export VM
>> 1.2. Second task uses wait_for
>> <https://docs.ansible.com/ansible/latest/modules/wait_for_module.html>
>> module (specifically its path parameter) to wait until the OVA file in
>> /backup exists
>> 2. Loop over those two tasks as explained here
>> <https://ericsysmin.com/2019/06/20/how-to-loop-blocks-of-code-in-ansible/>
>> .
>>
>> Hope this helps.
>>
>> Jan
>>
>> On Wed, Jan 22, 2020 at 4:15 PM Jayme  wrote:
>>
>>> I wrote a simple task that is using the ovirt_vm module
>>> https://docs.ansible.com/ansible/latest/modules/ovirt_vm_module.html --
>>> it essentially loops over a list of vms and exports them to OVA.
>>>
>>> The problem I have is the task is deemed changed once it successfully
>>> submits the export task to oVirt. This means that if I gave it a list of
>>> 100 Vms I believe it would start an export task on all of them. I want to
>>> prevent this and have it only export one VM at a time. In order to do this
>>> I believe I will need to find a way for the task to wait and somehow verify
>>> that the export was completed before submitting a task for the next VM
>>> export.
>>>
>>> Any ideas?
>>>
>>> - name: Export the VM
>>>   ovirt_vm:
>>> auth: "{{ ovirt_auth }}"
>>> name: "{{ item }}"
>>> state: exported
>>> cluster: default
>>> export_ova:
>>> host: Host0
>>> filename: "{{ item }}"
>>> directory: /backup/
>>>   with_items: "{{ vms }}"
>>>
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct:
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives:
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/PXYAQ7YEBQCUWCAQCFAFXB3545LNB23X/
>>>
>>
>>
>> --
>>
>> Jan Zmeskal
>>
>> Quality Engineer, RHV Core System
>>
>> Red Hat <https://www.redhat.com>
>> <https://www.redhat.com>
>>
>

-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AWMOBN4HKGNUGVITUDCJK57KBAB2WQ5H/


[ovirt-users] Re: ovirt_vm ansible module -- how to wait for ova export to finish

2020-01-23 Thread Jan Zmeskal
Hi Jayme,

here's my idea. I haven't tested it but I believe it should work.
1. Create a new task file (let's call it export_vm.yaml) and include two
tasks in there:
1.1. First task uses ovirt_vm module (pretty much what you already have) to
export VM
1.2. Second task uses wait_for
<https://docs.ansible.com/ansible/latest/modules/wait_for_module.html>
module (specifically its path parameter) to wait until the OVA file in
/backup exists
2. Loop over those two tasks as explained here
<https://ericsysmin.com/2019/06/20/how-to-loop-blocks-of-code-in-ansible/>.

Hope this helps.

Jan

On Wed, Jan 22, 2020 at 4:15 PM Jayme  wrote:

> I wrote a simple task that is using the ovirt_vm module
> https://docs.ansible.com/ansible/latest/modules/ovirt_vm_module.html --
> it essentially loops over a list of vms and exports them to OVA.
>
> The problem I have is the task is deemed changed once it successfully
> submits the export task to oVirt. This means that if I gave it a list of
> 100 Vms I believe it would start an export task on all of them. I want to
> prevent this and have it only export one VM at a time. In order to do this
> I believe I will need to find a way for the task to wait and somehow verify
> that the export was completed before submitting a task for the next VM
> export.
>
> Any ideas?
>
> - name: Export the VM
>   ovirt_vm:
> auth: "{{ ovirt_auth }}"
> name: "{{ item }}"
> state: exported
> cluster: default
> export_ova:
> host: Host0
> filename: "{{ item }}"
> directory: /backup/
>   with_items: "{{ vms }}"
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/PXYAQ7YEBQCUWCAQCFAFXB3545LNB23X/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XUKIF6ZSEKCOPFH32WCU4FO2TXY2GEFV/


[ovirt-users] Re: ovirt_disk Ansible module creating disks of wrong size but why?

2020-01-16 Thread Jan Zmeskal
Hello m.skrzetuski (unfortunately I don't know your first name),

have you reported the bug? If yes, can you please share it with me? If no,
I'll try to find some time to reproduce and report it.

Jan

On Wed, Jan 15, 2020 at 7:58 AM Lucie Leistnerova 
wrote:

> It looks to me like a bug. It shouldn't resize the uploaded disk (as it
> is in UI) or it should be mentioned in the documentation.
>
> Can you please create a BZ for it with logs and ansible verbose output
> attached.
>
> Thank you!
>
> On 1/13/20 10:16 AM, m.skrzetu...@gmail.com wrote:
> > Hallo Jan,
> >
> > maybe I worded my findings not clearly enough, sorry. oVirt is showing
> that the disk I create is 500GiB (like in your test) but inside the CentOS
> VM I have only a 8GiB disk, which I can see with lsblk and fdisk.
> >
> > Any workarounds for that? Is CentOS doing something wrong here?
> >
> > I am using Ansible 2.9.
> >
> > Kind regards
> > Skrzetuski
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> > List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/RD2CQSITNXWLPSEVEGYQPQQFPPTS3UK4/
>
> --
> Lucie Leistnerova
> Senior Quality Engineer, QE Cloud, RHVM
> Red Hat EMEA
>
> IRC: lleistne @ #rhev-qe
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/ACHR56D4SIZJ6PLBDND3SD4DELGEFQVA/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/D22VHH6KBHQ55EOD432NS7UBJNSF6HLY/


[ovirt-users] Re: ovirt_disk Ansible module creating disks of wrong size but why?

2020-01-13 Thread Jan Zmeskal
Maybe it's just what Lucie mentioned - that we cannot really resize the
original disk size of CentOS image. I think workaround for that would be
using the original QCOW image as boot disk for OS and then creating a new
disk for data of whatever size you want it to be.

On Mon, Jan 13, 2020 at 10:18 AM  wrote:

> Hallo Jan,
>
> maybe I worded my findings not clearly enough, sorry. oVirt is showing
> that the disk I create is 500GiB (like in your test) but inside the CentOS
> VM I have only a 8GiB disk, which I can see with lsblk and fdisk.
>
> Any workarounds for that? Is CentOS doing something wrong here?
>
> I am using Ansible 2.9.
>
> Kind regards
> Skrzetuski
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/RD2CQSITNXWLPSEVEGYQPQQFPPTS3UK4/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6LQOTZ2CY5EDDQZJAJDASAJWPHSWJFXE/


[ovirt-users] Re: ovirt_disk Ansible module creating disks of wrong size but why?

2020-01-13 Thread Jan Zmeskal
; Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> > List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/QSFF7CEVQAVCHDCDRZ6NUYUGLVMVWL7A/
> Best regards,
>
> --
> Lucie Leistnerova
> Senior Quality Engineer, QE Cloud, RHVM
> Red Hat EMEA
>
> IRC: lleistne @ #rhev-qe
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/SOKGFIMYLY2CCB3V3Q74XZGEZBRWMTKW/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/T7RXOVTTNC2B6NYHGH47R5SIBOAMVC72/


[ovirt-users] Re: Ansible example for creating VM from qcow2 image?

2020-01-07 Thread Jan Zmeskal
Hello,

creating a VM with QCOW2 disk is as easy as that. The only requirement to
run this is having QCOW2 disk named "centos7" in your engine:

---
- hosts: localhost
  gather_facts: false
  tasks:

- name: Obtain SSO token
  ovirt_auth:
url: https:///ovirt-engine/api
username: admin@internal
password: 

- name: Create a VM with QCOW2 disk
  ovirt_vm:
auth: "{{ ovirt_auth }}"
state: present
cluster: Default
name: jzmeskal_centos7
disks:
  - name: centos7
bootable: True

Now if you'd like to use cloud-init, that's a different story and you
probably won't get around using templates. From the Ansible point of view,
it's quite easy - you just use *cloud_init* key of *ovirt_vm* module.
However for that to work, your VM has to be either created with a disk that
has *cloud-init *package installed or created from a template that is
cloud-init enabled. See my response from December here
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/VD2DREZYMDY2NE5LKNS6OBFE36PC66R7/>
. Another user was interested in pretty much the same topic.

Hope this helps!
Jan

On Sun, Jan 5, 2020 at 3:05 AM  wrote:

> Hello there,
>
> anyone Ansible examples on how to create a VM (including cloud init) from
> a previously uploaded qcow2 file (using the ovirt_vm module from
> https://docs.ansible.com/ansible/latest/modules/ovirt_vm_module.html#ovirt-vm-module
> )?
>
> I simply cannot wrap my head around it.
>
> Do you create a disk from the qcow2 and attach it to the VM?
> Or do you mount it as ISO in CDROM of the VM and the automate the
> installation?
> What are the exact steps? Do I have to use templates (I don't want to)?
>
> Kind regards
> Skrzetuski
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/D6H2MKGO7VNCNK4DMZCTMC2GJHAY7BYE/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BQFSODAGBTOLZCZVR62YSDLPCCGPAET7/


[ovirt-users] Re: Confusion about storage domain ISO. How do I provision VMs?

2020-01-06 Thread Jan Zmeskal
Hi, I'm glad you could figure it out in the end. It's true that the message
"Paused by System" isn't super useful when trying to figure out what's
wrong. It would definitely be worth to submit a bug requesting more
descriptive error message. Since you already have an environment that
reproduces the issue, would you please consider reporting the bug here
<https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine>?

Thank you for reaching out to the mailing list and sharing the solution!

Jan


On Sat, Jan 4, 2020 at 11:10 PM  wrote:

> Solved after ridiculous research effort by finding
> https://access.redhat.com/solutions/3607351. I'd switch to Proxmox days
> ago if I wasn't such a Redhat and CentOS fanboy.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/NGKPM2W3ILNZ7RF7WUTVW5LQTIJMLORE/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SS56HPVNIX7UWKCCOKJQLN345LWL22QM/


[ovirt-users] Re: Confusion about storage domain ISO. How do I provision VMs?

2020-01-03 Thread Jan Zmeskal
Hello,

I'll do my best to help you with that but first let's look closely into
your situation. Specifically I have two questions:

1) What exactly was the issue when you tried to upload the ISO to data
domain? I've just tried that on oVirt 4.3.7 and has no problem with it.
2) Can you double check that you've got the right cloud image? As far as I
know cloud images are usually provided in QCOW2 format, like here:
https://cloud.centos.org/centos/7/images/  Do you *need* to use ISO files
at all?

Best regards
Jan

On Thu, Jan 2, 2020 at 10:36 PM  wrote:

> Hello there,
>
> I'm a bit confused about provisioning VMs (with Ansible).
>
> At first I wanted to setup a VM manually over the web UI, just to see how
> it works.
> I was not able to upload ISO files with cloud images to a data domain but
> I was able to upload to ISO domain. However I read that ISO domains are
> deprecated (see
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/sect-the_iso_uploader_tool
> ).
>
> So what is the workflow/process of provisioning VMs from cloud images with
> cloud init? Where do I store my ISOs?
>
> Kind regards
> skrzetuski
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/WIE75WTDKH52P5TNQGUW4I6TGH7UKCRN/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LFV3PCN2JECKCT4BVASJGSBSNKQHI4UX/


[ovirt-users] Re: oVirt and Containers

2020-01-02 Thread Jan Zmeskal
Hi Robert and happy new year! :)

If I understand correctly, with OKD, I just need to build full vm's in the
> oVirt environment which will become hosts, compute nodes, for containers
> that get deployed.
>

You don't even need to build the VMs.  If you follow the steps outlined here
<https://docs.okd.io/3.11/install_config/configuring_for_rhv.html>, the
installation playbooks will take care of creating the VMs for you.
Otherwise, you're right. Those VM will become master, infra and compute
nodes of OKD cluster.

OKD is basically just container management and it does not care whether or
> not the compute nodes are VM's or bare metal.
>

That's correct - at least in theory. In practice the difference is mostly
in installation process. But you're right - once the OKD cluster is up and
running, it does not care whether its nodes are VMs or bare metal machines.

Best regards
Jan

On Thu, Dec 26, 2019 at 6:22 PM Robert Webb  wrote:

> Jan,
>
> Thanks for taking the time for a great reply.
>
> For what I am trying to accomplish here in my home lab, it seems that OKD
> is the safest path. If I understand correctly, with OKD, I just need to
> build full vm's in the oVirt environment which will become hosts, compute
> nodes, for containers that get deployed. OKD is basically just container
> management and it does not care whether or not the compute nodes are VM's
> or bare metal.
>
> Again, thanks for taking the time to educate me.
>
> Robert
>
> 
> From: Jan Zmeskal 
> Sent: Tuesday, December 24, 2019 4:43 PM
> To: Robert Webb
> Cc: users
> Subject: Re: [ovirt-users] oVirt and Containers
>
> Okay, so this topic is quite vast, but I believe I can at the very least
> give you a few pointers and maybe others might chime in as well.
>
> Firstly, there's the Kubevirt project. It enables you to manage both
> application containers and virtual machines workloads (that cannot be
> easily containerized) in a shared environment. Another benefit is getting
> advantages of the powerful Kubernetes scheduler. I myself am not too
> familiar with Kubevirt, so I can only offer this high-level overview. More
> info here: https://kubevirt.io/
>
> Then there is another approach which I am more familiar with. You might
> want to use oVirt as an infrastructure layer on top of which you run
> containerized workflow. This is achieved by deploying either OpenShift<
> https://www.openshift.com/> or the upstream project OKD<
> https://www.okd.io/> in the oVirt virtual machines. In that scenario,
> oVirt VMs are considered by OpenShift as compute resources and are used for
> scheduling containers. There are some advantages to this setup and two come
> into mind. Firstly, you can scale such OpenShift cluster up or down by
> adding/removing oVirt VMs according to your needs. Secondly, you don't need
> to set up all of this yourself.
> For OpenShift 3, Red Hat provides detailed guide on how to go about this.
> Part of that guide are Ansible playbooks that automate the deployment for
> you as long as you provide required variables. More info here:
> https://docs.openshift.com/container-platform/3.11/install_config/configuring_for_rhv.html
> When it comes to OpenShift 4, there are two types of deployment. There's
> UPI - user provisioned infrastructure. In that scenario, you prepare all
> the resources for OpenShift 4 beforehand and deploy it in that existing
> environment. And there's also IPI - installer provisioned infrastructure.
> This means that you just give the installer access to your environment
> (e.g. AWS public cloud) and the installer provisions resources for itself
> based on recommendations and best practices. At this point, neither UPI nor
> IPI is supported for oVirt. However there is a GitHub repository<
> https://github.com/sa-ne/openshift4-rhv-upi> that can guide you through
> UPI installation on oVirt and also provides automation playbooks for that.
> I have personally followed the steps from the repository and deployed
> OpenShift 4.2 on top of oVirt without any major issues. As far as I
> remember, I might have needed occasional variable here and there but the
> process worked.
>
> Hope this helps!
> Jan
>
> On Tue, Dec 24, 2019 at 8:21 PM Robert Webb  rw...@ropeguru.com>> wrote:
> Hi Jan,
>
> Honestly, I didn't have anything specific in mind, just what is being used
> out there today and what may be more prevalent.
>
> Just getting my oVIrt set up and want to know what might be recommended.
> Would probably be mostly deploying images like Homeassistent, piHole, etc..
> for now.
>
> I guess if there is good oVirt direct integration, it would be nice to
> keep it all in a single interface.
>
> Thanks..
&g

[ovirt-users] Re: oVirt and Containers

2019-12-24 Thread Jan Zmeskal
Okay, so this topic is quite vast, but I believe I can at the very least
give you a few pointers and maybe others might chime in as well.

Firstly, there's the Kubevirt project. It enables you to manage both
application containers and virtual machines workloads (that cannot be
easily containerized) in a shared environment. Another benefit is getting
advantages of the powerful Kubernetes scheduler. I myself am not too
familiar with Kubevirt, so I can only offer this high-level overview. More
info here: https://kubevirt.io/

Then there is another approach which I am more familiar with. You might
want to use oVirt as an infrastructure layer on top of which you run
containerized workflow. This is achieved by deploying either OpenShift
<https://www.openshift.com/> or the upstream project OKD
<https://www.okd.io/> in the oVirt virtual machines. In that scenario,
oVirt VMs are considered by OpenShift as compute resources and are used for
scheduling containers. There are some advantages to this setup and two come
into mind. Firstly, you can scale such OpenShift cluster up or down by
adding/removing oVirt VMs according to your needs. Secondly, you don't need
to set up all of this yourself.
For OpenShift 3, Red Hat provides detailed guide on how to go about this.
Part of that guide are Ansible playbooks that automate the deployment for
you as long as you provide required variables. More info here:
https://docs.openshift.com/container-platform/3.11/install_config/configuring_for_rhv.html
When it comes to OpenShift 4, there are two types of deployment. There's
UPI - user provisioned infrastructure. In that scenario, you prepare all
the resources for OpenShift 4 beforehand and deploy it in that existing
environment. And there's also IPI - installer provisioned infrastructure.
This means that you just give the installer access to your environment
(e.g. AWS public cloud) and the installer provisions resources for itself
based on recommendations and best practices. At this point, neither UPI nor
IPI is supported for oVirt. However there is a GitHub repository
<https://github.com/sa-ne/openshift4-rhv-upi> that can guide you through
UPI installation on oVirt and also provides automation playbooks for that.
I have personally followed the steps from the repository and deployed
OpenShift 4.2 on top of oVirt without any major issues. As far as I
remember, I might have needed occasional variable here and there but the
process worked.

Hope this helps!
Jan

On Tue, Dec 24, 2019 at 8:21 PM Robert Webb  wrote:

> Hi Jan,
>
> Honestly, I didn't have anything specific in mind, just what is being used
> out there today and what may be more prevalent.
>
> Just getting my oVIrt set up and want to know what might be recommended.
> Would probably be mostly deploying images like Homeassistent, piHole, etc..
> for now.
>
> I guess if there is good oVirt direct integration, it would be nice to
> keep it all in a single interface.
>
> Thanks..
>
> 
> From: Jan Zmeskal 
> Sent: Tuesday, December 24, 2019 1:54 PM
> To: Robert Webb
> Cc: users
> Subject: Re: [ovirt-users] oVirt and Containers
>
> Hi Robert,
>
> there are different answers based on what you mean by integrating oVirt
> and containers. Do you mean:
>
> - Installing container management (Kubernetes or OpenShift) on top of
> oVirt and using oVirt as infrastructure?
> - Managing containers from oVirt interface?
> - Running VM workloads inside containers?
> - Something different?
>
> I can elaborate more based on your specific needs
>
> Best regards
> Jan
>
> On Tue, Dec 24, 2019 at 3:52 PM Robert Webb  rw...@ropeguru.com>> wrote:
> I was searching around to try and figure out the best way to integrate
> oVirt and containers.
>
> I have found some sites that discuss it but all of them are like 2017 and
> older.
>
> Any recommendations?
>
> Just build VM’s to host containers or is there some direct integration?
>
> Here are a couple of the old sites
>
> https://fromanirh.github.io/containers-in-ovirt.html
>
>
> https://kubernetes.io/docs/setup/production-environment/on-premises-vm/ovirt/
>
>
> https://www.ovirt.org/develop/release-management/features/integration/container-support.html
> ___
> Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
> To unsubscribe send an email to users-le...@ovirt.org users-le...@ovirt.org>
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/7BIW2Z3ILBSAGQ4F7QB3MPEUWVW4GUUN/
>
>
> --
>
> Jan Zmeskal
>
> Quality Engineer, RHV Core System
>

[ovirt-users] Re: oVirt and Containers

2019-12-24 Thread Jan Zmeskal
Hi Robert,

there are different answers based on what you mean by integrating oVirt and
containers. Do you mean:

- Installing container management (Kubernetes or OpenShift) on top of oVirt
and using oVirt as infrastructure?
- Managing containers from oVirt interface?
- Running VM workloads inside containers?
- Something different?

I can elaborate more based on your specific needs

Best regards
Jan

On Tue, Dec 24, 2019 at 3:52 PM Robert Webb  wrote:

> I was searching around to try and figure out the best way to integrate
> oVirt and containers.
>
>
>
> I have found some sites that discuss it but all of them are like 2017 and
> older.
>
>
>
> Any recommendations?
>
>
>
> Just build VM’s to host containers or is there some direct integration?
>
>
>
> Here are a couple of the old sites
>
>
>
> https://fromanirh.github.io/containers-in-ovirt.html
>
>
>
>
> https://kubernetes.io/docs/setup/production-environment/on-premises-vm/ovirt/
>
>
>
>
> https://www.ovirt.org/develop/release-management/features/integration/container-support.html
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/7BIW2Z3ILBSAGQ4F7QB3MPEUWVW4GUUN/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/55D5JA2FMPHUJAAK4ADGTKCPPMYOVAEP/


[ovirt-users] Re: Strategy to Mange Ovirt VMs Created from Templates

2019-12-23 Thread Jan Zmeskal
Hi Jeremy,

I found an old blog post where the author seals the VM manually, see here:
https://www.linuxtechi.com/create-vm-template-ovirt-environment/
Please, *do not follow this guide* since it seems to be a bit outdated.
Nonetheless, it might give you a more specific idea about what sealing the
template (which is done for you by oVirt) actually entails.

Jan

On Mon, Dec 23, 2019 at 5:48 PM  wrote:

> Thank you for your reply Luca,
> In general your work flow is helpful and makes sense to me.
>
> I meant to say above- "As part of the template creation process ***the
> Ovirt docs*** say to seal the VM".
>
> So I think I understand that you need to use both processes (seal template
> + cloudinit) to get everything to work as desired.  I'd still appreciate
> any more specifics about what sealing a VM does.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/BRLNWOQB6FM4BUOW5JDG2RGKDSLWCFOV/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IIRJ3VIOVKUCYY6RRJAYVTMU63M7SIOA/


[ovirt-users] Re: Strategy to Mange Ovirt VMs Created from Templates

2019-12-23 Thread Jan Zmeskal
> > CloudInit would have just enough info so that you could manage the VM
> with Ansible.
> >
> > Would that work?
> >
> > I am just starting to explore what CloudInit can do and what it is.  I
> am brand new to it.  I didn't find enough info on template sealing to help
> me devise a full cycle management strategy.  Perhaps there are other/easier
> methods?  Thanks for your advice and input.
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> > oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> > List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/PJ6OOPUT3KJEME6PEZJIX4FN4YA7BB6K/
>
>
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
> lorenzetto.l...@gmail.com>
> ___________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/VSPOODV5O3PPTAKVRNMTAKDL435XCDHZ/
>


-- 

Jan Zmeskal

Quality Engineer, RHV Core System

Red Hat <https://www.redhat.com>
<https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VD2DREZYMDY2NE5LKNS6OBFE36PC66R7/


[ovirt-users] Re: List VMS with ansible version 2.9 ovirt_vms_info module

2019-12-19 Thread Jan Zmeskal
Hello, I think it's just a typo. Try renaming "ovirt_vms_facts" to
"ovirt_vm_facts". This worked for me:

- hosts: localhost
  gather_facts: no

  tasks:
- name: Login to oVirt
  ovirt_auth:
url: https:///ovirt-engine/api
username: admin@internal
password: 
insecure: yes

- name: Gather info on all the virtual machines
  ovirt_vm_facts:
auth: "{{ ovirt_auth }}"
pattern: "cluster=Default"  # Get VMs from cluster "Default"

- name: Print the gathered info
  debug:
var: ovirt_vms

Or better yet, use directly "ovirt_vm_info" like this. Note that when using
"ovirt_vm_info", you need to *register* the output in a variable.

- hosts: localhost
  gather_facts: no

  tasks:
- name: Login to oVirt
  ovirt_auth:
url: https:///ovirt-engine/api
username: admin@internal
password: 
insecure: yes

- name: Gather info on all the virtual machines
  ovirt_vm_info:
auth: "{{ ovirt_auth }}"
pattern: "cluster=Default"  # Get VMs from cluster "Default"
  register: vms

- name: Print the gathered info
  debug:
var: vms.ovirt_vms

I believe that not being able to see documentation for "ovirt_vm_facts" in
*ansible-doc* command is an intention.

Best regards
Jan

On Thu, Dec 19, 2019 at 9:37 AM  wrote:

> Hi Martin
>
> thanks for your information.
>
> but when i try on one of my testlab  RHV 4.3 farm, ansible 2.9 complain
> that ovirt_vm_facts not found, detail refer to below command output
>
> based on  RHV 4.3 ansible version as below:
>
> # ansible --version
> ansible 2.9.0
>   config file = /etc/ansible/ansible.cfg
>   configured module search path = [u'/root/.ansible/plugins/modules',
> u'/usr/share/ansible/plugins/modules']
>   ansible python module location = /usr/lib/python2.7/site-packages/ansible
>   executable location = /usr/bin/ansible
>   python version = 2.7.5 (default, Jun 11 2019, 14:33:56) [GCC 4.8.5
> 20150623 (Red Hat 4.8.5-39)]
>
>
>
> # ansible-doc --list | egrep -i ovirt_vm   --> not showing ovirt_vm_facts
> module
> [WARNING]: win_template parsing did not produce documentation.
> [WARNING]: template parsing did not produce documentation.
> ovirt_vm_info Retrieve
> information about one or more oVirt/RHV virtual machines
> ovirt_vmpool  Module to
> manage VM pools in oVirt/RHV
> ovirt_vmpool_info Retrieve
> information about one or more oVirt/RHV vmpools
> ovirt_vm  Module to
> manage Virtual Machines in oVirt/RHV
> [root@rhvm100 ~]#
>
>
>  use ovirt_vms_facts module
> # cat list_vms01.yml
> - hosts: localhost
>   connection: local
>   vars_files:
> - engine_vars.yml
> - password.yml
>
>   tasks:
>   - name: Obtain SSO token
> ovirt_auth:
>   url: "{{ engine_url }}"
>   username: "{{ engine_user }}"
>   password: "{{ engine_password }}"
>   ca_file: "{{ engine_cafile | default(omit) }}"
> #  insecure: "{{ engine_insecure }}"
>
>   - name: List vms
> ovirt_vms_facts:
>   fetch_nested: true
>   nested_attributes:
> - description
>   auth: "{{ ovirt_auth }}"
>
>   - name: set vms
> set_fact:
>vm: "{{ item.name }}: {{ item.snapshots |
> map(attribute='description') | join(',') }}"
> with_items: "{{ ovirt_vms }}"
> loop_control:
>   label: "{{ item.name }}"
> register: all_vms
>
>   - name: make a list
> set_fact: vms="{{ all_vms.results | map(attribute='ansible_facts.vm')
> | list }}"
>
>   - name: Print vms
> debug:
>   var: vms
>
>
> # ansible-playbook list_vms01.yml --syntax-check
> [WARNING]: provided hosts list is empty, only localhost is available. Note
> that the implicit localhost does not match 'all'
>
> ERROR! couldn't resolve module/action 'ovirt_vms_facts'. This often
> indicates a misspelling, missing collection, or incorrect module path.
>
> The error appears to be in '/root/rhv_ansible/list_vms01.yml': line 16,
> column 5, but may
> be elsewhere in the file depending on the exact syntax problem.
>
> The offending line appears to be:
>
>
>   - name: List vms
> ^ here
>
>
> thanks
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy St