Bug 1597121
Summary: | [ansible] deploy on fedora fails with unsupported version of firewalld | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Sandro Bonazzola <sbonazzo> |
Component: | Host-Deploy | Assignee: | Ondra Machacek <omachace> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukas Svaty <lsvaty> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.0 | CC: | bugs, gzaidman, mperina, robnunin |
Target Milestone: | ovirt-4.3.5 | Flags: | pm-rhel:
ovirt-4.3+
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-30 14:08:04 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1460625 |
Description
Sandro Bonazzola
2018-07-02 06:17:59 UTC
This is probably caused because in Fedora 28 we removed the module python-firewall and we only have python3-firewall, ansible runs on the engine side and generates python2 files, therefore when we try to run on the fedora host we fail because there is no python-firewall, see: https://bugzilla.redhat.com/show_bug.cgi?id=1575428 and the note section on: https://docs.ansible.com/ansible/2.5/modules/firewalld_module.html#requirements we need to detect which version of os are we deploying to and run the appropriate ansible This issue is raised because on FC28 the default ansible runs on Python2, but firewalld module for python exists only on Python3. This should be solved on FC29, where ansible is based only on Python3, but the question is if then we will not have issues running engine on FC29 and host CentOS7 (where we don't have Python 3). Anyway moving to oVirt 4.4, which should focus on complete switch to Python 3 Martin this bug is on Verified state, looks like it got fixed in oVirt 4.3.2. Can you check this bug status and eventually re-target? Using ovirt-node-ng-installer-4.3.3-2019041713.fc28.iso, issue is still present: TASK [gluster.infra/roles/firewall_config : Open/Close firewalld ports] ******** failed: [foundation1-gls.example.com] (item=2049/tcp) => {"changed": false, "item": "2049/tcp", "msg": "Python Module not found: firewalld and its python module are required for this module, version 0.2.11 or newer required (0.3.9 or newer for offline operations)"} failed: [foundation3-gls.example.com] (item=2049/tcp) => {"changed": false, "item": "2049/tcp", "msg": "Python Module not found: firewalld and its python module are required for this module, version 0.2.11 or newer required (0.3.9 or newer for offline operations)"} failed: [foundation2-gls.example.com] (item=2049/tcp) => {"changed": false, "item": "2049/tcp", "msg": "Python Module not found: firewalld and its python module are required for this module, version 0.2.11 or newer required (0.3.9 or newer for offline operations)"} (In reply to Roberto N from comment #5) > Using ovirt-node-ng-installer-4.3.3-2019041713.fc28.iso, issue is still > present: > > TASK [gluster.infra/roles/firewall_config : Open/Close firewalld ports] > ******** > failed: [foundation1-gls.example.com] (item=2049/tcp) => {"changed": false, > "item": "2049/tcp", "msg": "Python Module not found: firewalld and its > python module are required for this module, version > 0.2.11 or newer required (0.3.9 or newer for offline operations)"} > failed: [foundation3-gls.example.com] (item=2049/tcp) => {"changed": false, > "item": "2049/tcp", "msg": "Python Module not found: firewalld and its > python module are required for this module, version > 0.2.11 or newer required (0.3.9 or newer for offline operations)"} > failed: [foundation2-gls.example.com] (item=2049/tcp) => {"changed": false, > "item": "2049/tcp", "msg": "Python Module not found: firewalld and its > python module are required for this module, version > 0.2.11 or newer required (0.3.9 or newer for offline operations)"} What do you mean by ovirt-node-ng-installer ? Eeven NGN nodes need to be installed using oVirt webadmin or RESTAPI ... Hi Martin I mean using that image on nodes. After installation, I was using standard web interface to deploy HCI This bugzilla is included in oVirt 4.3.5 release, published on July 30th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.5 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |