[ovirt-devel] Ansible Help Requested

Yaniv Kaul ykaul at redhat.com
Wed Sep 27 15:16:28 UTC 2017


On Wed, Sep 27, 2017 at 5:15 PM, Phillip Bailey <phbailey at redhat.com> wrote:

> Hi all,
>
> I'm working on the new Cockpit hosted engine wizard and could use some
> input from all of you. One goal of this project is to move away from
> reliance on the existing OTOPI-based tools and towards an ansible-based
> approach.
>
> The items below are things we'd like to do using ansible, if possible. If
> any of you have existing plays or suggestions for the best way to use
> ansible to solve these problems, please let me know.
>
> Thanks!
>
>    1. Verify provided storage settings for all allowable storage types.
>
>
I'm not sure I understand the requirement here.


>
>    1.
>    2. Verify compatibility of selected CPU type for the engine VM with
>    the host's CPU
>
>
This is easy. See [1] for a simple Python code. In bash:
virsh -r capabilities |grep -m 1 "<model>"

Y.
[1]
https://github.com/lago-project/lago/pull/323/files#diff-1b557418847a737490a95d4841c6a362R96

-Phillip Bailey
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170927/8d57ee04/attachment.html>


More information about the Devel mailing list