Bug 2033592 - [machines] IP address shown on the page is not correct
Summary: [machines] IP address shown on the page is not correct
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: cockpit-machines
Version: 9.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Katerina Koukiou
QA Contact: YunmingYang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-17 11:31 UTC by YunmingYang
Modified: 2023-06-28 07:21 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-17 07:29:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-106084 0 None None None 2021-12-17 11:33:44 UTC

Description YunmingYang 2021-12-17 11:31:23 UTC
Description of problem:
Create two virtual networks which are "IPv6 only" and "IPv4 and IPv6". Then import two shutoff vm with fedora 31 and change their network interface source to the network which is "IPv4 and IPv6". Then run the two VM, after that check which VM has inet and inet6 in its "IP address" of the network interface tab. then shut off this VM and change its network interface source to the network which is "IPv6 only". Then re-run this VM, its "IP address" of the network interface tab will still contain two IP addresses.


Version-Release number of selected components (if applicable):
cockpit-258-1.el9.x86_64
cockpit-machines-256-1.el9.noarch
libvirt-dbus-1.4.1-5.el9.x86_64

How reproducible:
100%


Steps to Reproduce:
1 Create IPv6 only network like follow and activate it:
Connection       system
Name                IPv6
Forward mode   NAT
Device                Automatic
IP configuration  IPv6 only
IPv6 address      FEC0:0:0:8000::1
Prefix length       64
Set DHCP range  checked
    Start FEC0:0:0:8000::2   End FEC0:0:0:8000::242
2 Create IPv4 and IPv6 network like follow and activate it:
Connection       system
Name                IPv4v6
Forward mode   NAT
Device                Automatic
IP configuration  IPv4 and IPv6
IPv4 address      192.168.100.1
Mask or prefix length  24
Set DHCP range          checked
    Start 192.168.100.2    End 192.168.100.254
IPv6 address      FEC0:0:0:8001::1
Prefix length       64
Set DHCP range  checked
    Start FEC0:0:0:8001::2   End FEC0:0:0:8001::252
3 Import two shutoff VM with fedora 31
4 Change the VMs network interface source to "IPv4v6"
5 Run the two VMs
6 Enter the VM detail page which shows two IP addresses in network interface tab
7 Shut off the VM in step 6
8 Change network interface source of the VM in step 6 to "IPv6"
9 Re-run the VM


Actual results:
1 After step 9, "IP address" in network interface tab will still contain two IP addresses


Expected results:
1 After step 9, "IP address" in network interface tab should contain only IPv6 address


Additional info:

Comment 2 RHEL Program Management 2023-06-17 07:29:16 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


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