Project

General

Profile

Bug #33794

ipv4/6 auto-suggested address should be removed when the different domain and subnet with ipv6/4 are selected

Added by Tomer Brisker 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Host creation
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

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

How reproducible:
Always

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:

Associated revisions

Revision c2992def (diff)
Added by Adi Abramovitch 9 months ago

Fixes #33794 - Remove auto-suggested address when the domain has changed

History

#1 Updated by Ron Lavi 10 months ago

  • Assignee changed from Marek Hul├ín to Adi Abramovitch
  • Category set to Host creation

#2 Updated by The Foreman Bot 9 months 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 9 months ago

  • Pull request https://github.com/theforeman/foreman/pull/8915 added

#4 Updated by The Foreman Bot 9 months ago

  • Fixed in Releases 3.1.0 added

#5 Updated by Adi Abramovitch 9 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF