RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1978572 - [Azure][WALA][RHEL-9] WALA needs iptables package
Summary: [Azure][WALA][RHEL-9] WALA needs iptables package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: WALinuxAgent
Version: 9.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: beta
: ---
Assignee: Vitaly Kuznetsov
QA Contact: Yuxin Sun
URL:
Whiteboard:
Depends On:
Blocks: 1985198
TreeView+ depends on / blocked
 
Reported: 2021-07-02 08:15 UTC by Yuxin Sun
Modified: 2022-06-02 07:41 UTC (History)
4 users (show)

Fixed In Version: WALinuxAgent-2.3.0.2-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1985198 (view as bug list)
Environment:
Last Closed: 2021-12-07 21:50:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/src WALinuxAgent merge_requests 1 0 None None None 2021-07-19 15:30:00 UTC

Description Yuxin Sun 2021-07-02 08:15:53 UTC
Description of problem:
In RHEL-9 rhel-guest-image there's no iptables by default, and WALA reports an error:
2021-07-01T08:43:16.448298Z WARNING ExtHandler ExtHandler Unable to determine version of iptables: [Errno 2] No such file or directory: 'iptables'
2021-07-01T08:43:16.448650Z ERROR ExtHandler ExtHandler Unable to setup the persistent firewall rules: Unable to determine version of iptables: [Errno 2] No such file or directory: 'iptables'

We may need to consider to add dependency, or at least document this issue.

Version-Release number of selected components (if applicable):
WALinuxAgent-2.3.0.2-1.el9.noarch.rpm

How reproducible:
100%

Steps to Reproduce:
1. Prepare a VM on Azure, install WALinuxAgent package
2. Check /var/log/waagent.log

Actual results:
2021-07-01T08:43:16.445842Z INFO ExtHandler ExtHandler Starting setup for Persistent firewall rules
2021-07-01T08:43:16.448298Z WARNING ExtHandler ExtHandler Unable to determine version of iptables: [Errno 2] No such file or directory: 'iptables'
2021-07-01T08:43:16.448650Z ERROR ExtHandler ExtHandler Unable to setup the persistent firewall rules: Unable to determine version of iptables: [Errno 2] No such file or directory: 'iptables'

Expected results:
No such error log

Additional info:

Comment 1 Vitaly Kuznetsov 2021-07-19 15:30:04 UTC
Merge request submitted: https://gitlab.com/redhat/centos-stream/src/WALinuxAgent/-/merge_requests/1


Note You need to log in before you can comment on or make changes to this bug.