Bug 1929008
| Summary: | Configuring a network team and vlan via anaconda results in a traceback when anaconda attempts to write out the kickstart | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Ryan Mullett <rmullett> |
| Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.3 | CC: | jcastran, jkonecny, jstodola, pholica, pzatko, rvykydal, sbarcomb, sbueno |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | anaconda-33.16.5.2-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-09 18:42:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed upstream by https://github.com/rhinstaller/anaconda/pull/2927. The first part of the commit could be ported to RHEL 8. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4254 |
Description of problem: During anaconda installation, when installing with a team+vlan Version-Release number of selected component (if applicable): RHEL 8.3 How reproducible: Always Steps to Reproduce: 1. Boot a system with two network interfaces and begin RHEL 8.3 installation 2. Create team device, and add the two network interfaces. Ensure that ipv4 and ipv6 are set to not get IP addresses 3. Create VLAN device, using the team device as the underlying device 4. Assign port 5. Continue installation Actual results: Installation fails with traceback: 17:09:11,677 CRT exception: Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 280, in run threading.Thread.run(self) File "/usr/lib64/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 394, in run_installation queue.start() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start item.start() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start item.start() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start item.start() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 490, in start self.run_task() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 456, in run_task self._task(*self._task_args, **self._task_kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 456, in run_task self._task(*self._task_args, **self._task_kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 71, in _writeKS f.write(str(ksdata)) File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 438, in __str__ modules = proxy.GenerateKickstart().strip() File "/usr/lib/python3.6/site-packages/dasbus/client/handler.py", line 447, in _call_method **kwargs, File "/usr/lib/python3.6/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply return self._handle_method_error(error) File "/usr/lib/python3.6/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error raise exception from None dasbus.error.DBusError: must be str, not NoneType Expected results: Installation proceeds normally Additional info: Tried the following tests in order to narrow down the issue, and confirm that it is solely related to attempting to write out the kickstart configuration 1. Booting with inst.nosave=output_ks works around the issue entirely, and the system is installed normally with no traceback 2. Initially I was adding the connection name in the name of the teamed interfaces. I attempted changing this to have a different name. No matter the names of the interfaces it fails 3. Installing without vlan configured, and just team with ipv4/ipv6 disabled on a team - installation fails 4. Installing with team configured, with ipv4 enabled and ipv6 disabled - installation fails 5. Installing with team configured, with ipv4 and ipv6 enabled - installation fails The results of these tests seem to indicate that it is solely related to anaconda attempting to write out this kickstart configuration, and not anything else. When booting with inst.nosave=output_ks, I was able to confirm that network configuration is written out properly, and that the network is able to come up without issue.