Bug 1862140 - ipv4/6 auto-suggested address should be removed when the different domain and subnet with ipv6/4 are selected
Summary: ipv4/6 auto-suggested address should be removed when the different domain and...
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Form
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: 6.11.0
Assignee: aabramov
QA Contact: tstrych
Depends On:
TreeView+ depends on / blocked
Reported: 2020-07-30 14:34 UTC by tstrych
Modified: 2022-07-05 14:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-07-05 14:28:21 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33794 0 Normal New ipv4/6 auto-suggested address should be removed when the different domain and subnet with ipv6/4 are selected 2021-10-27 12:43:29 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:28:32 UTC

Description tstrych 2020-07-30 14:34:21 UTC
Description of problem:
In host form -> inteface
Auto-suggested address stays in formular after the different version of domain and subnet is chose. (By different version is meant ipv4 subnet changed to ipv6 subnet and ipv6 subnet changed to ipv4, these subnets have each their own domains)

Version-Release number of selected component (if applicable):
sat 6.8 snap 10

How reproducible:

Steps to Reproduce:
1. Create domain and associate the domain with ipv4 subnet. Do the same for ipv6. During Ipv4 subnet creation set IPAM field set to Random DB and and during ipv6 subnet creation set IPAM to EUI-64. 
2. Create host -> navigate directly into interfaces -> edit interface
3. Fill in mac address, 
4. Then for example select that domain with ipv4 subnet and select that ipv4 subnet and auto-suggested ip address is shown
5. After that swap domain which is associated to ipv6 subnet to this ipv6 subnet. The ipv-6 address is auto-suggested by ipv4 address is still shown. 

Point 4 and 5 can be applied firstly on ipv6 and then to ipv4 with the same result. The first auto-suggested ip address is not removed.

Actual results:
The first auto-suggested ip address is not removed.

Expected results:
The first auto-suggested ip address should be removed when the different ip version is chose. 

Additional info:

Comment 1 Tomer Brisker 2021-10-27 12:43:28 UTC
Created redmine issue https://projects.theforeman.org/issues/33794 from this bug

Comment 2 Bryan Kearney 2021-11-04 13:48:35 UTC
Upstream bug assigned to aabramov

Comment 3 Bryan Kearney 2021-11-10 16:02:44 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33794 has been resolved.

Comment 4 tstrych 2022-02-02 19:55:16 UTC
Verified with sat 7 snap 7 rhel 8.

auto-suggested address is removed when subnet or domain is changed as expected, 
points up for keeping the auto-suggested address if it fits for the other subnet

Comment 7 errata-xmlrpc 2022-07-05 14:28:21 UTC
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 (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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