Bug 1940438
Summary: | Revoking a token using ovirt_auth module fails hosted_engine_setup ansible role | ||
---|---|---|---|
Product: | [oVirt] ovirt-ansible-collection | Reporter: | Katharina Kuhnert <katharina.kuhnert> |
Component: | hosted-engine-setup | Assignee: | Martin Necas <mnecas> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Guilherme Santos <gdeolive> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 1.4.0 | CC: | aoconnor, bugs, gdeolive, mnecas, mperina, stirabos |
Target Milestone: | ovirt-4.4.5-1 | Flags: | pm-rhel:
ovirt-4.4+
aoconnor: blocker+ |
Target Release: | 1.4.1 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ovirt-ansible-collection-1.4.1 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-15 07:39:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
Katharina Kuhnert
2021-03-18 12:14:51 UTC
Created attachment 1764371 [details]
ovirt-hosted-engine-setup-ansible-bootstrap_local_vm.log
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again. Could you please attach complete logs? There is not enough information in the signle log you have attached. Thanks Created attachment 1764663 [details]
ovirt-hosted-engine-setup-ansible-initial_clean.log
Created attachment 1764664 [details]
ovirt-hosted-engine-setup-ansible-final_clean.log
Created attachment 1764665 [details]
ovirt-hosted-engine-setup-ansible-get_network_interfaces.log
I have uploaded the missing logs from ovirt. Let me know if you need more information. (In reply to Martin Perina from comment #3) > Could you please attach complete logs? There is not enough information in > the signle log you have attached. Thanks The content of the logfiles contains all data from one complete "hosted-engine --deploy" run. I had to redact the ip addresses due to legal restrictions. But otherwise, they contain everything I can provide. Is there any more specific information you require? Hmm, so it looks like that https://github.com/oVirt/ovirt-ansible-collection/pull/223 broke revoking of a token in ovirt_auth module. The problem seems to be in parameter fetching https://github.com/oVirt/ovirt-ansible-collection/blob/master/plugins/modules/ovirt_auth.py#L250 which passes below module parameters "ovirt_auth": { "ansible_facts": { "ovirt_auth": { "ca_file": null, "compress": true, "headers": null, "insecure": true, "kerberos": false, "timeout": 0, "token": "RoDL...", "url": "https://engine.example.com/ovirt-engine/api" } }, "attempts": 1, "changed": false, "failed": false }, because actual parameters are in ovirt_auth.ansible_facts.ovirt_auth but method get_required_parameter searches for them only in ovirt_auth Verified on: ovirt-ansible-collection-1.4.1-1.el8ev.noarch ovirt-engine-4.4.5.11-0.1.el8ev.noarch HE deployed successfully |