Hi Miguel,

So could you please share your playbook with us and the exact error you are getting during its execution?

On Tue, Jul 14, 2020 at 4:08 PM <miguel.garcia@toshibagcs.com> wrote:
We are trying to create vm using ansible scripts. However, also tried to log into the API web https://master-server/ovirt-engine/api with authentication error messages. I think the problem is authentication method since we are using LDAP accounts, to access vm portal or api web URL we use email address too.

There should be no difference in usernames provided into UI or RESTAPI/SDK/Ansible modules. The only thing which differs is how to provide it:

1. In UI you are providing username and the select a profile (for example username can be 'admin' and profile 'internal')
2. For RESTAPI/SDK/Ansible you are entering in the format of username@profile (for example 'admin@internal')

Thanks,
Martin

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/AIHD5BVBI2V4BLM7IEDRJLJZBMJQY4OY/


--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.