ipv4/6 auto-suggested address should be removed when the different domain and subnet with ipv6/4 are selected
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1862140
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
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.
The first auto-suggested ip address is not removed.
The first auto-suggested ip address should be removed when the different ip version is chose.
#1 Updated by Ron Lavi over 1 year ago
- Assignee changed from Marek Hulán to Adi Abramovitch
- Category set to Host creation
#2 Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8908 added
#3 Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/theforeman/foreman/pull/8915 added
#4 Updated by The Foreman Bot over 1 year ago
- Fixed in Releases 3.1.0 added
#5 Updated by Adi Abramovitch over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|c2992def07d7fdd0507e13e8940f55627b7e6f4b.
Fixes #33794 - Remove auto-suggested address when the domain has changed