Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2045904

Summary: pre-flight validation for local_ip may fail for IPv6
Product: Red Hat OpenStack Reporter: Harald Jensås <hjensas>
Component: python-tripleoclientAssignee: Harald Jensås <hjensas>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: low Docs Contact:
Priority: low    
Version: 16.1 (Train)CC: hbrock, jslagle, mbultel, mburns
Target Milestone: z9Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-12.3.2-1.20220126143726.ae58329.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2045908 (view as bug list) Environment:
Last Closed: 2022-12-07 20:25:32 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:
Bug Depends On:    
Bug Blocks: 2045908    

Description Harald Jensås 2022-01-25 22:28:08 UTC
Description of problem:
Changing the local_ip is not allowed.
  Existing IP:   fd00:fd00:fd00::1/64,
  Configured IP: fd00:fd00:fd00:0000::1/64

An error occurred during configuration validation, please check your host configuration and try again.

Error message: Changing the local_ip is not allowed. Existing IP: fd00:fd00:fd00::1/64, Configured IP: fd00:fd00:fd00:0000::1/64

The IP addresses are identical, but written in different ways.

The check should compare the address, not the strings.

https://opendev.org/openstack/python-tripleoclient/src/branch/master/tripleoclient/v1/undercloud_preflight.py#L315

Comment 10 errata-xmlrpc 2022-12-07 20:25:32 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 (Red Hat OpenStack Platform 16.1.9 bug fix and enhancement advisory), 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-2022:8795