Bug 1075687 (ovirt_setup_firewalld_support)
Summary: | [RFE] Add FirewallD support to hosted-engine setup | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Martin Pavlik <mpavlik> | ||||
Component: | RFEs | Assignee: | Simone Tiraboschi <stirabos> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikolai Sednev <nsednev> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | --- | CC: | alukiano, aristotleahito, bugs, didi, dmoessne, dougsland, gcheresh, justin.brown, mavital, mburman, mpavlik, mperina, rbalakri, sbonazzo, srevivo, stirabos, ylavi | ||||
Target Milestone: | --- | Keywords: | FutureFeature, Reopened | ||||
Target Release: | --- | Flags: | ylavi:
ovirt-future?
ylavi: planning_ack? ylavi: devel_ack? ylavi: testing_ack? |
||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: |
Feature: Add FirewallD support to hosted-engine setup
Reason:
Result (if any):
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-06-06 12:18:48 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: | |||||||
Bug Depends On: | 995362 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Martin Pavlik
2014-03-12 15:21:54 UTC
why don't you attach logs? (In reply to Alon Bar-Lev from comment #1) > why don't you attach logs? sorry my bad, attaching Created attachment 875375 [details]
logs
I kind of think this is on purpose. We do not support host (vdsm) with firewalld. 2014-03-17 09:32:01 DEBUG otopi.context context.dumpEnvironment:478 ENV NETWORK/firewalldEnable=bool:'False' I leave sandro to close this. (In reply to Alon Bar-Lev from comment #4) > I kind of think this is on purpose. We do not support host (vdsm) with > firewalld. We don't support firewalld on hosted engine host since engine doesn't support firewalld. But hosted-engine --deploy should not fail with [ ERROR ] Failed to execute stage 'Environment setup': Command '/bin/systemctl' failed to execute because of that. I've to take a better look at the logs. Please rename bug or open one per issue... and close this one. It failed on vdsmd not on firewalld. And vdsm.log is 0 byte so it seems like bug #1055153 . So, for the systemctl failure, please refer to bug #1055153 For the firewalld support disabled, going to close this as closed cantfix due to missing support on ovirt-engine deploy to firewalld ( bug #995362 ) (In reply to Sandro Bonazzola from comment #5) > (In reply to Alon Bar-Lev from comment #4) > > I kind of think this is on purpose. We do not support host (vdsm) with > > firewalld. > > We don't support firewalld on hosted engine host since engine doesn't > support firewalld. > But hosted-engine --deploy should not fail with > > [ ERROR ] Failed to execute stage 'Environment setup': Command > '/bin/systemctl' failed to execute > > because of that. > I've to take a better look at the logs. And what will we do when RHEL 7 is out? Red Hat Enterprise Linux 7.0 Beta ships with the dynamic firewall daemon, firewalld ( source https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/7-Beta/html-single/7.0_Release_Notes/index.html#chap-networking ) I think we need to add this support. AFAIK iptables is still supported on RHEL7. I've converted this bug to a RFE for adding FirewallD support when ovirt will support it, but still can't fix this now. *** Bug 1107805 has been marked as a duplicate of this bug. *** This is an automated message. This Bugzilla report has been opened on a version which is not maintained anymore. Please check if this bug is still relevant in oVirt 3.5.4. If it's not relevant anymore, please close it (you may use EOL or CURRENT RELEASE resolution) If it's an RFE please update the version to 4.0 if still relevant. Hi Sandro, I can say that we do not have problem with vdsmd service on RHEL7 hosts under 3.5.4, but what about support of firewalld service, have you some information about it? No plans for firewalld support yet, so still valid. (In reply to Sandro Bonazzola from comment #14) > No plans for firewalld support yet, so still valid. Any updates? (In reply to Yaniv Kaul from comment #15) > (In reply to Sandro Bonazzola from comment #14) > > No plans for firewalld support yet, so still valid. > > Any updates? There are plans to add firewalld configuration using ansible on engine side. When it will be ready I think hosted-engine setup won't need firewalld support anymore unless we want firewalld being up and running during the initial setup on first host. Simone, Martin, can we move this to modified with the firewalld ansible post-deploy handling? AFAIK hosted engine setup is adding host using RESTAPI engine call, so if firewalld is set on the cluster (by default from 4.2), then firewalld is configured, enabled and started during host-deploy flow. So the only question which comes to mind is: Do hosted engine HA deamons communicate directly over network among themselves and if so, are ports required for this communication included in ports configured by ovirt-host-deploy-firewalld Ansible role [1]? [1] https://github.com/oVirt/ovirt-ansible/tree/master/roles/ovirt-host-deploy-firewalld/vars hosted-engine --deploy also needs to handle the firewall for the stage before the engine is up. This used to be particularly important for accessing the engine vm console using spice/vnc, before the appliance flow was introduced and before we moved to connect using virtual serial console. A quick grep FIREWALLD_SERVICES finds: 1. hosted-console Can be considered deprecated/obsoleted, since bug 1333449? 2. hosted-cockpit Obviously still needed, was added for bug 1335426. Anyone knows if anything else handles it these days? 3. hosted-gluster No idea, perhaps gdeploy handles it. This is fixed with node zero deployment in oVirt 4.2. |