Bug 1584016
| Summary: | Ansible fails if ovirtmgmt exists but isn't the bridge used | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Benjamin Merot <benjamin.merot> |
| Component: | General | Assignee: | Ido Rosenzwig <irosenzw> |
| Status: | CLOSED NOTABUG | QA Contact: | Meni Yakove <myakove> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.2.20 | CC: | benjamin.merot, bugs, irosenzw, ylavi |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-10 11:52:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Benjamin Merot
2018-05-30 07:36:47 UTC
What error are you getting? please attach logs from /var/log/ovirt-hosted-engine-setup It's oVirt release 4.2.3. You can see the hardcoded variable here: https://github.com/oVirt/ovirt-hosted-engine-setup/blob/master/src/ansible/bootstrap_local_vm.yml#L72 Using GitHub as it's easier to find the line than in Gerrit. With seen that tasks following under that block can fail if the host being setup doesn't have a bridge named ovirtmgmt. This is by design. When deploying Hosted-engine, VDSM configure the ovirtmgmt bridge for an interface the user chose. The ovirtmgmt bridge can be present before the deployment in case a deployment has failed for some reason and the user deploying Hosted-engine again. In this case, the system uses the pre-configured ovirtmgmt bridge. bridgeName by design MUST be ovirtmgmt and shouldn't be changed. bridgeIf is the interface ovirtmgmt configured on. If ovirtmgmt is already configured its value should be the same interface (that was chosen in the previous deployment). Closing as NOTABUG. If you have a specific issue, please open a new bug and attach relevant logs. Shouldn't Ansible fail earlier in the run and not accept another value than "ovirtmgmt" from an answer file then? yes we should. opened a bug about it: https://bugzilla.redhat.com/show_bug.cgi?id=1594823 |