On Fri, Jan 3, 2020 at 5:29 PM <m.skrzetuski@gmail.com> wrote:
Hello everyone,

when I create a host via Ansible role "ovirt.infra" I get an error that power management is not enabled (red exclamation sign in the UI). My vars in the playbook look as follows.

hosts:
        - name: delirium
          address: delirium.home
          cluster: Matrix
          public_key: true
          power_management_enabled: true

Can you please attach engine.log

Why is power management not enabled?
What is it used for and how do I enable it with Ansible?

Power management is used to automatically recover a failing host by rebooting it using its power-management card

I am trying to create a storage domain as follows.

storages:
        vmdata:
          domain_function: data
          state: present
          data_center: Matrix
          localfs:
            path: /vmisos
          host: delirium.home
        vmisos:
          domain_function: data
          state: present
          data_center: Matrix
          localfs:
            path: /vmdata
          host: delirium.home

However I get the following error.

msg: Fault reason is "Incomplete parameters". Fault detail is "StorageDomain [storage] required for add". HTTP response code is 400.
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Error: Fault reason is "Incomplete parameters". Fault detail is "StorageDomain [storage] required for add". HTTP response code is 400.
failed: [delirium.home] (item={'key': 'vmisos', 'value': {'name': 'isos', 'domain_function': 'data', 'state': 'present', 'data_center': 'Matrix', 'localfs': {'path': '/vmdata'}, 'host': 'delirium.home'}}) => changed=false

What is "storage" here? I don't see "storage" as parameter in https://docs.ansible.com/ansible/latest/modules/ovirt_storage_domain_module.html#ovirt-storage-domain-module.

Kind regards
skrzetuski
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@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/V43K5NVHZAU5HS5EUUBBAAZMVE6NVHRW/