oVirt / ovirt-ansible-hosted-engine-setup

Apache License 2.0
33 stars 43 forks source link

[RFR]Fix firewalld to allow health check to complete #348

Closed kedark3 closed 4 years ago

kedark3 commented 4 years ago

Problem

With latest RHV 4.4.1 I am not able to successfully utilize this role for hosted engine setup. It fails in file tasks/bootstrap_local_vm/05_add_host.yml on task - name: Wait for ovirt-engine service to start. I found out that firewalld on hosted engine VM was not allowing http/https connections during setup.

Solution

Adding firewalld https/http services to enable the communication between RHV host and Engine VM. I have tested this multiple times and it works consistently.

ovirt-infra commented 4 years ago

Hello contributor, thanks for submitting a PR for this project!

I am the bot who triggers "standard-CI" builds for this project. As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.

In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:

  1. Type ci test please on this PR to trigger automated tests for it.
  2. Type ci add to whitelist on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically. ( keep in mind this list might be overwritten if the job XML is refreshed, for permanent whitelisting, please follow #3 option )
  3. If you are planning to contribute to more than one project, maybe it's better to ask them to add you to the project organization, so you'll be able to run tests for all the organization's projects.
kedark3 commented 4 years ago

ci add to whitelist

arachmani commented 4 years ago

After investigation, it seems you hit https://bugzilla.redhat.com/1850028

kedark3 commented 4 years ago

I was able to fix the firewall issue as I converted my MAC address input to all lower case which will automatically happen in #358 Hence closing.