Ovirt/RHEV

Hi everyone,

I’m currently working om a oVirt/RHEV module and already got some basic things like

  • define vm (currently no disks and nics etc but that will be added later)

  • get the vm’s status and stop or start it based on the state

I don’t know if anyone here is using oVirt/RHEV but I wanted to ask what functionality you guys would like to see in this module.

Regards,

Vincent

We are moving into oVirt and KVM territory ( from Xen ) and would definitely be interested in more ansible ways of handling them.

Would be very interested in seeing this.

Capabilities similar to the ec2 or rax modules are preferable, i.e. if you create new instances, return the same kind of instances list suitable with add_hosts.

The other thing that probably makes sense is an ovirt inventory script.

Ok, great.

I’l have al look at the ec2 module.

can someone point me to some docs or something about how to create an inventory script.

Thanks

Ok, great.

I'l have al look at the ec2 module.

can someone point me to some docs or something about how to create an
inventory script.

http://ansible.cc/docs/api.html

This page got me going on creating an inventory script.

A co-worker of mine has a useful ansible inventory script you might be able to use for info if nothing else.
https://github.com/drwahl/ansible-hosts

can someone point me to some docs or something about how to create an
inventory script.

http://ansible.cc/docs/api.html#external-inventory-scripts

Serge

can someone point me to some docs or something about how to create an
inventory script.

http://ansible.cc/docs/api.html#external-inventory-scripts

Though that's not what Michael intended, he was probably pointing to a

module retur​​ning ansible_facts for ovirt, which means returning a
'ansible_facts: $dict' within the result dict

Thanks everyone for the pointers.

I’ll have a look at them.

Would be very interested in seeing this.

Capabilities similar to the ec2 or rax modules are preferable, i.e. if you
create new instances, return the same kind of instances list suitable with
add_hosts.

As far as I know ec2, you can only use predefined images (amis) whereas
with ovirt you can define new vms from scratch or use existing templates.
This will result in more options like disk size, memory size, number of
nics etc..
I would like to support both ways of defining new instances

Can you elaborate a bit more on this " return the same kind of instances
list suitable with add_hosts."

Vincent

how did it go, i am evaluting ovirt for work, and i love it, would love it more with a bit of automation

Hi Walid,

The module should be available in the next Ansible release, or you could checkout the dev branch on Github.

_Vincent

Thank you, i will check it out

Hi

Could you also add virtio-scsi disk interface?

Edgars

svētdiena, 2013. gada 28. aprīlis 20:46:05 UTC+2, Vincent Van der Kussen rakstīja: